win32more-Microsoft.WindowsAppSDK 0.6.1.7.250310001__py2.py3-none-any.whl → 0.7.1.7.251107005__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- win32more/Microsoft/Foundation/__init__.py +1 -1
- win32more/Microsoft/Graphics/DirectX/__init__.py +1 -1
- win32more/Microsoft/Graphics/Display/__init__.py +9 -9
- win32more/Microsoft/Graphics/Imaging/__init__.py +77 -0
- win32more/Microsoft/Security/Authentication/OAuth/__init__.py +111 -111
- win32more/Microsoft/UI/Composition/Core/__init__.py +3 -3
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +1 -1
- win32more/Microsoft/UI/Composition/Effects/__init__.py +3 -3
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +1 -1
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +10 -10
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +8 -8
- win32more/Microsoft/UI/Composition/__init__.py +134 -134
- win32more/Microsoft/UI/Content/__init__.py +39 -39
- win32more/Microsoft/UI/Dispatching/__init__.py +11 -11
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +7 -7
- win32more/Microsoft/UI/Input/Interop/__init__.py +1 -1
- win32more/Microsoft/UI/Input/__init__.py +103 -99
- win32more/Microsoft/UI/System/__init__.py +5 -5
- win32more/Microsoft/UI/Text/__init__.py +30 -30
- win32more/Microsoft/UI/Windowing/__init__.py +27 -27
- win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +56 -55
- win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +19 -19
- win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +1 -1
- win32more/Microsoft/UI/Xaml/Automation/__init__.py +41 -41
- win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +17 -17
- win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +108 -107
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +744 -744
- win32more/Microsoft/UI/Xaml/Data/__init__.py +31 -30
- win32more/Microsoft/UI/Xaml/Documents/__init__.py +38 -37
- win32more/Microsoft/UI/Xaml/Hosting/__init__.py +7 -7
- win32more/Microsoft/UI/Xaml/Input/__init__.py +38 -31
- win32more/Microsoft/UI/Xaml/Interop/__init__.py +3 -3
- win32more/Microsoft/UI/Xaml/Markup/__init__.py +19 -17
- win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +111 -109
- win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +11 -11
- win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +2 -1
- win32more/Microsoft/UI/Xaml/Media/__init__.py +34 -28
- win32more/Microsoft/UI/Xaml/Navigation/__init__.py +1 -1
- win32more/Microsoft/UI/Xaml/Printing/__init__.py +7 -7
- win32more/Microsoft/UI/Xaml/Resources/__init__.py +3 -3
- win32more/Microsoft/UI/Xaml/Shapes/__init__.py +1 -1
- win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +2 -2
- win32more/Microsoft/UI/Xaml/__init__.py +190 -186
- win32more/Microsoft/UI/__init__.py +8 -5
- win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +197 -0
- win32more/Microsoft/Windows/AI/Imaging/__init__.py +366 -0
- win32more/Microsoft/Windows/AI/Text/__init__.py +261 -0
- win32more/Microsoft/Windows/AI/__init__.py +49 -0
- win32more/Microsoft/Windows/AppLifecycle/__init__.py +21 -21
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +99 -99
- win32more/Microsoft/Windows/AppNotifications/__init__.py +45 -45
- win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +1 -1
- win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +7 -7
- win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +22 -21
- win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +59 -59
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +32 -7
- win32more/Microsoft/Windows/BadgeNotifications/__init__.py +1 -1
- win32more/Microsoft/Windows/Globalization/__init__.py +9 -9
- win32more/Microsoft/Windows/Management/Deployment/__init__.py +86 -85
- win32more/Microsoft/Windows/Media/Capture/__init__.py +1 -1
- win32more/Microsoft/Windows/PushNotifications/__init__.py +6 -5
- win32more/Microsoft/Windows/Security/AccessControl/__init__.py +7 -6
- win32more/Microsoft/Windows/Storage/__init__.py +27 -27
- win32more/Microsoft/Windows/System/Power/__init__.py +23 -12
- win32more/Microsoft/Windows/System/__init__.py +15 -15
- win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +65 -65
- win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +25 -25
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +91 -67
- win32more/Microsoft/Windows/Widgets/__init__.py +2 -2
- win32more/Microsoft/Windows/Workloads/__init__.py +11 -0
- win32more/appsdk/versioninfo.py +1 -1
- win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/METADATA +6 -0
- win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/RECORD +81 -0
- {win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +1 -1
- win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info/METADATA +0 -6
- win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info/RECORD +0 -75
- {win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/WHEEL +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.Windows.PushNotifications
|
|
4
4
|
import win32more.Windows.ApplicationModel.Background
|
|
5
5
|
import win32more.Windows.Foundation
|
|
@@ -44,7 +44,7 @@ class IPushNotificationManager(ComPtr):
|
|
|
44
44
|
def add_PushReceived(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Windows.PushNotifications.PushNotificationManager, win32more.Microsoft.Windows.PushNotifications.PushNotificationReceivedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
45
45
|
@winrt_commethod(11)
|
|
46
46
|
def remove_PushReceived(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
47
|
-
PushReceived = event()
|
|
47
|
+
PushReceived = event(add_PushReceived, remove_PushReceived)
|
|
48
48
|
class IPushNotificationManagerStatics(ComPtr):
|
|
49
49
|
extends: IInspectable
|
|
50
50
|
_classid_ = 'Microsoft.Windows.PushNotifications.IPushNotificationManagerStatics'
|
|
@@ -67,7 +67,7 @@ class IPushNotificationReceivedEventArgs(ComPtr):
|
|
|
67
67
|
@winrt_commethod(9)
|
|
68
68
|
def remove_Canceled(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
69
69
|
Payload = property(get_Payload, None)
|
|
70
|
-
Canceled = event()
|
|
70
|
+
Canceled = event(add_Canceled, remove_Canceled)
|
|
71
71
|
class PushNotificationChannel(ComPtr):
|
|
72
72
|
extends: IInspectable
|
|
73
73
|
default_interface: win32more.Microsoft.Windows.PushNotifications.IPushNotificationChannel
|
|
@@ -99,6 +99,7 @@ class PushNotificationCreateChannelResult(ComPtr):
|
|
|
99
99
|
ExtendedError = property(get_ExtendedError, None)
|
|
100
100
|
Status = property(get_Status, None)
|
|
101
101
|
class PushNotificationCreateChannelStatus(Structure):
|
|
102
|
+
_name_ = 'Microsoft.Windows.PushNotifications.PushNotificationCreateChannelStatus'
|
|
102
103
|
status: win32more.Microsoft.Windows.PushNotifications.PushNotificationChannelStatus
|
|
103
104
|
extendedError: win32more.Windows.Foundation.HResult
|
|
104
105
|
retryCount: UInt32
|
|
@@ -125,7 +126,7 @@ class PushNotificationManager(ComPtr, metaclass=_PushNotificationManager_Meta_):
|
|
|
125
126
|
@winrt_classmethod
|
|
126
127
|
def get_Default(cls: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManagerStatics) -> win32more.Microsoft.Windows.PushNotifications.PushNotificationManager: ...
|
|
127
128
|
_PushNotificationManager_Meta_.Default = property(get_Default, None)
|
|
128
|
-
PushReceived = event()
|
|
129
|
+
PushReceived = event(add_PushReceived, remove_PushReceived)
|
|
129
130
|
class PushNotificationReceivedEventArgs(ComPtr):
|
|
130
131
|
extends: IInspectable
|
|
131
132
|
default_interface: win32more.Microsoft.Windows.PushNotifications.IPushNotificationReceivedEventArgs
|
|
@@ -139,7 +140,7 @@ class PushNotificationReceivedEventArgs(ComPtr):
|
|
|
139
140
|
@winrt_mixinmethod
|
|
140
141
|
def remove_Canceled(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationReceivedEventArgs, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
141
142
|
Payload = property(get_Payload, None)
|
|
142
|
-
Canceled = event()
|
|
143
|
+
Canceled = event(add_Canceled, remove_Canceled)
|
|
143
144
|
PushNotificationsContract: UInt32 = 65536
|
|
144
145
|
|
|
145
146
|
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.Windows.Security.AccessControl
|
|
4
4
|
AccessControlContract: UInt32 = 65536
|
|
5
5
|
class AppContainerNameAndAccess(Structure):
|
|
6
|
-
|
|
6
|
+
_name_ = 'Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess'
|
|
7
|
+
appContainerName: hstr
|
|
7
8
|
accessMask: UInt32
|
|
8
9
|
class ISecurityDescriptorHelpersStatics(ComPtr):
|
|
9
10
|
extends: IInspectable
|
|
10
11
|
_classid_ = 'Microsoft.Windows.Security.AccessControl.ISecurityDescriptorHelpersStatics'
|
|
11
12
|
_iid_ = Guid('{14fa9e8d-59f0-5017-852f-3ae24fd5ebb1}')
|
|
12
13
|
@winrt_commethod(6)
|
|
13
|
-
def GetSddlForAppContainerNames(self, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid:
|
|
14
|
+
def GetSddlForAppContainerNames(self, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid: hstr, principalAccessMask: UInt32) -> hstr: ...
|
|
14
15
|
@winrt_commethod(7)
|
|
15
|
-
def GetSecurityDescriptorBytesFromAppContainerNames(self, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid:
|
|
16
|
+
def GetSecurityDescriptorBytesFromAppContainerNames(self, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid: hstr, principalAccessMask: UInt32) -> ReceiveArray[Byte]: ...
|
|
16
17
|
class SecurityDescriptorHelpers(ComPtr):
|
|
17
18
|
extends: IInspectable
|
|
18
19
|
_classid_ = 'Microsoft.Windows.Security.AccessControl.SecurityDescriptorHelpers'
|
|
19
20
|
@winrt_classmethod
|
|
20
|
-
def GetSddlForAppContainerNames(cls: win32more.Microsoft.Windows.Security.AccessControl.ISecurityDescriptorHelpersStatics, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid:
|
|
21
|
+
def GetSddlForAppContainerNames(cls: win32more.Microsoft.Windows.Security.AccessControl.ISecurityDescriptorHelpersStatics, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid: hstr, principalAccessMask: UInt32) -> hstr: ...
|
|
21
22
|
@winrt_classmethod
|
|
22
|
-
def GetSecurityDescriptorBytesFromAppContainerNames(cls: win32more.Microsoft.Windows.Security.AccessControl.ISecurityDescriptorHelpersStatics, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid:
|
|
23
|
+
def GetSecurityDescriptorBytesFromAppContainerNames(cls: win32more.Microsoft.Windows.Security.AccessControl.ISecurityDescriptorHelpersStatics, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid: hstr, principalAccessMask: UInt32) -> ReceiveArray[Byte]: ...
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
make_ready(__name__)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.Windows.Storage
|
|
4
4
|
import win32more.Windows.Foundation
|
|
5
5
|
import win32more.Windows.Foundation.Collections
|
|
@@ -13,15 +13,15 @@ class ApplicationData(ComPtr):
|
|
|
13
13
|
@winrt_mixinmethod
|
|
14
14
|
def get_IsMachinePathSupported(self: win32more.Microsoft.Windows.Storage.IApplicationData) -> Boolean: ...
|
|
15
15
|
@winrt_mixinmethod
|
|
16
|
-
def get_LocalCachePath(self: win32more.Microsoft.Windows.Storage.IApplicationData) ->
|
|
16
|
+
def get_LocalCachePath(self: win32more.Microsoft.Windows.Storage.IApplicationData) -> hstr: ...
|
|
17
17
|
@winrt_mixinmethod
|
|
18
|
-
def get_LocalPath(self: win32more.Microsoft.Windows.Storage.IApplicationData) ->
|
|
18
|
+
def get_LocalPath(self: win32more.Microsoft.Windows.Storage.IApplicationData) -> hstr: ...
|
|
19
19
|
@winrt_mixinmethod
|
|
20
|
-
def get_MachinePath(self: win32more.Microsoft.Windows.Storage.IApplicationData) ->
|
|
20
|
+
def get_MachinePath(self: win32more.Microsoft.Windows.Storage.IApplicationData) -> hstr: ...
|
|
21
21
|
@winrt_mixinmethod
|
|
22
|
-
def get_SharedLocalPath(self: win32more.Microsoft.Windows.Storage.IApplicationData) ->
|
|
22
|
+
def get_SharedLocalPath(self: win32more.Microsoft.Windows.Storage.IApplicationData) -> hstr: ...
|
|
23
23
|
@winrt_mixinmethod
|
|
24
|
-
def get_TemporaryPath(self: win32more.Microsoft.Windows.Storage.IApplicationData) ->
|
|
24
|
+
def get_TemporaryPath(self: win32more.Microsoft.Windows.Storage.IApplicationData) -> hstr: ...
|
|
25
25
|
@winrt_mixinmethod
|
|
26
26
|
def get_LocalCacheFolder(self: win32more.Microsoft.Windows.Storage.IApplicationData) -> win32more.Windows.Storage.StorageFolder: ...
|
|
27
27
|
@winrt_mixinmethod
|
|
@@ -37,11 +37,11 @@ class ApplicationData(ComPtr):
|
|
|
37
37
|
@winrt_mixinmethod
|
|
38
38
|
def ClearAsync(self: win32more.Microsoft.Windows.Storage.IApplicationData, locality: win32more.Microsoft.Windows.Storage.ApplicationDataLocality) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
39
39
|
@winrt_mixinmethod
|
|
40
|
-
def ClearPublisherCacheFolderAsync(self: win32more.Microsoft.Windows.Storage.IApplicationData, folderName:
|
|
40
|
+
def ClearPublisherCacheFolderAsync(self: win32more.Microsoft.Windows.Storage.IApplicationData, folderName: hstr) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
41
41
|
@winrt_mixinmethod
|
|
42
|
-
def GetPublisherCachePath(self: win32more.Microsoft.Windows.Storage.IApplicationData, folderName:
|
|
42
|
+
def GetPublisherCachePath(self: win32more.Microsoft.Windows.Storage.IApplicationData, folderName: hstr) -> hstr: ...
|
|
43
43
|
@winrt_mixinmethod
|
|
44
|
-
def GetPublisherCacheFolder(self: win32more.Microsoft.Windows.Storage.IApplicationData, folderName:
|
|
44
|
+
def GetPublisherCacheFolder(self: win32more.Microsoft.Windows.Storage.IApplicationData, folderName: hstr) -> win32more.Windows.Storage.StorageFolder: ...
|
|
45
45
|
@winrt_mixinmethod
|
|
46
46
|
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
47
47
|
@winrt_classmethod
|
|
@@ -49,7 +49,7 @@ class ApplicationData(ComPtr):
|
|
|
49
49
|
@winrt_classmethod
|
|
50
50
|
def GetForUser(cls: win32more.Microsoft.Windows.Storage.IApplicationDataStatics, user: win32more.Windows.System.User) -> win32more.Microsoft.Windows.Storage.ApplicationData: ...
|
|
51
51
|
@winrt_classmethod
|
|
52
|
-
def GetForPackageFamily(cls: win32more.Microsoft.Windows.Storage.IApplicationDataStatics, packageFamilyName:
|
|
52
|
+
def GetForPackageFamily(cls: win32more.Microsoft.Windows.Storage.IApplicationDataStatics, packageFamilyName: hstr) -> win32more.Microsoft.Windows.Storage.ApplicationData: ...
|
|
53
53
|
IsMachinePathSupported = property(get_IsMachinePathSupported, None)
|
|
54
54
|
LocalCacheFolder = property(get_LocalCacheFolder, None)
|
|
55
55
|
LocalCachePath = property(get_LocalCachePath, None)
|
|
@@ -68,17 +68,17 @@ class ApplicationDataContainer(ComPtr):
|
|
|
68
68
|
default_interface: win32more.Microsoft.Windows.Storage.IApplicationDataContainer
|
|
69
69
|
_classid_ = 'Microsoft.Windows.Storage.ApplicationDataContainer'
|
|
70
70
|
@winrt_mixinmethod
|
|
71
|
-
def get_Containers(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer) -> win32more.Windows.Foundation.Collections.IMap[
|
|
71
|
+
def get_Containers(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer) -> win32more.Windows.Foundation.Collections.IMap[hstr, win32more.Microsoft.Windows.Storage.ApplicationDataContainer]: ...
|
|
72
72
|
@winrt_mixinmethod
|
|
73
|
-
def get_Name(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer) ->
|
|
73
|
+
def get_Name(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer) -> hstr: ...
|
|
74
74
|
@winrt_mixinmethod
|
|
75
75
|
def get_Locality(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer) -> win32more.Microsoft.Windows.Storage.ApplicationDataLocality: ...
|
|
76
76
|
@winrt_mixinmethod
|
|
77
77
|
def get_Values(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer) -> win32more.Windows.Foundation.Collections.IPropertySet: ...
|
|
78
78
|
@winrt_mixinmethod
|
|
79
|
-
def CreateContainer(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer, name:
|
|
79
|
+
def CreateContainer(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer, name: hstr, disposition: win32more.Microsoft.Windows.Storage.ApplicationDataCreateDisposition) -> win32more.Microsoft.Windows.Storage.ApplicationDataContainer: ...
|
|
80
80
|
@winrt_mixinmethod
|
|
81
|
-
def DeleteContainer(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer, name:
|
|
81
|
+
def DeleteContainer(self: win32more.Microsoft.Windows.Storage.IApplicationDataContainer, name: hstr) -> Void: ...
|
|
82
82
|
@winrt_mixinmethod
|
|
83
83
|
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
84
84
|
Containers = property(get_Containers, None)
|
|
@@ -102,15 +102,15 @@ class IApplicationData(ComPtr):
|
|
|
102
102
|
@winrt_commethod(6)
|
|
103
103
|
def get_IsMachinePathSupported(self) -> Boolean: ...
|
|
104
104
|
@winrt_commethod(7)
|
|
105
|
-
def get_LocalCachePath(self) ->
|
|
105
|
+
def get_LocalCachePath(self) -> hstr: ...
|
|
106
106
|
@winrt_commethod(8)
|
|
107
|
-
def get_LocalPath(self) ->
|
|
107
|
+
def get_LocalPath(self) -> hstr: ...
|
|
108
108
|
@winrt_commethod(9)
|
|
109
|
-
def get_MachinePath(self) ->
|
|
109
|
+
def get_MachinePath(self) -> hstr: ...
|
|
110
110
|
@winrt_commethod(10)
|
|
111
|
-
def get_SharedLocalPath(self) ->
|
|
111
|
+
def get_SharedLocalPath(self) -> hstr: ...
|
|
112
112
|
@winrt_commethod(11)
|
|
113
|
-
def get_TemporaryPath(self) ->
|
|
113
|
+
def get_TemporaryPath(self) -> hstr: ...
|
|
114
114
|
@winrt_commethod(12)
|
|
115
115
|
def get_LocalCacheFolder(self) -> win32more.Windows.Storage.StorageFolder: ...
|
|
116
116
|
@winrt_commethod(13)
|
|
@@ -126,11 +126,11 @@ class IApplicationData(ComPtr):
|
|
|
126
126
|
@winrt_commethod(18)
|
|
127
127
|
def ClearAsync(self, locality: win32more.Microsoft.Windows.Storage.ApplicationDataLocality) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
128
128
|
@winrt_commethod(19)
|
|
129
|
-
def ClearPublisherCacheFolderAsync(self, folderName:
|
|
129
|
+
def ClearPublisherCacheFolderAsync(self, folderName: hstr) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
130
130
|
@winrt_commethod(20)
|
|
131
|
-
def GetPublisherCachePath(self, folderName:
|
|
131
|
+
def GetPublisherCachePath(self, folderName: hstr) -> hstr: ...
|
|
132
132
|
@winrt_commethod(21)
|
|
133
|
-
def GetPublisherCacheFolder(self, folderName:
|
|
133
|
+
def GetPublisherCacheFolder(self, folderName: hstr) -> win32more.Windows.Storage.StorageFolder: ...
|
|
134
134
|
IsMachinePathSupported = property(get_IsMachinePathSupported, None)
|
|
135
135
|
LocalCacheFolder = property(get_LocalCacheFolder, None)
|
|
136
136
|
LocalCachePath = property(get_LocalCachePath, None)
|
|
@@ -148,17 +148,17 @@ class IApplicationDataContainer(ComPtr):
|
|
|
148
148
|
_classid_ = 'Microsoft.Windows.Storage.IApplicationDataContainer'
|
|
149
149
|
_iid_ = Guid('{d1fa9c23-2e59-55d8-bd86-88c2fdc9e7c9}')
|
|
150
150
|
@winrt_commethod(6)
|
|
151
|
-
def get_Containers(self) -> win32more.Windows.Foundation.Collections.IMap[
|
|
151
|
+
def get_Containers(self) -> win32more.Windows.Foundation.Collections.IMap[hstr, win32more.Microsoft.Windows.Storage.ApplicationDataContainer]: ...
|
|
152
152
|
@winrt_commethod(7)
|
|
153
|
-
def get_Name(self) ->
|
|
153
|
+
def get_Name(self) -> hstr: ...
|
|
154
154
|
@winrt_commethod(8)
|
|
155
155
|
def get_Locality(self) -> win32more.Microsoft.Windows.Storage.ApplicationDataLocality: ...
|
|
156
156
|
@winrt_commethod(9)
|
|
157
157
|
def get_Values(self) -> win32more.Windows.Foundation.Collections.IPropertySet: ...
|
|
158
158
|
@winrt_commethod(10)
|
|
159
|
-
def CreateContainer(self, name:
|
|
159
|
+
def CreateContainer(self, name: hstr, disposition: win32more.Microsoft.Windows.Storage.ApplicationDataCreateDisposition) -> win32more.Microsoft.Windows.Storage.ApplicationDataContainer: ...
|
|
160
160
|
@winrt_commethod(11)
|
|
161
|
-
def DeleteContainer(self, name:
|
|
161
|
+
def DeleteContainer(self, name: hstr) -> Void: ...
|
|
162
162
|
Containers = property(get_Containers, None)
|
|
163
163
|
Locality = property(get_Locality, None)
|
|
164
164
|
Name = property(get_Name, None)
|
|
@@ -172,7 +172,7 @@ class IApplicationDataStatics(ComPtr):
|
|
|
172
172
|
@winrt_commethod(7)
|
|
173
173
|
def GetForUser(self, user: win32more.Windows.System.User) -> win32more.Microsoft.Windows.Storage.ApplicationData: ...
|
|
174
174
|
@winrt_commethod(8)
|
|
175
|
-
def GetForPackageFamily(self, packageFamilyName:
|
|
175
|
+
def GetForPackageFamily(self, packageFamilyName: hstr) -> win32more.Microsoft.Windows.Storage.ApplicationData: ...
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
make_ready(__name__)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.Windows.System.Power
|
|
4
4
|
import win32more.Windows.Foundation
|
|
5
5
|
class BatteryStatus(Enum, Int32):
|
|
@@ -102,17 +102,17 @@ class IPowerManagerStatics(ComPtr):
|
|
|
102
102
|
RemainingDischargeTime = property(get_RemainingDischargeTime, None)
|
|
103
103
|
SystemSuspendStatus = property(get_SystemSuspendStatus, None)
|
|
104
104
|
UserPresenceStatus = property(get_UserPresenceStatus, None)
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
105
|
+
BatteryStatusChanged = event(add_BatteryStatusChanged, remove_BatteryStatusChanged)
|
|
106
|
+
DisplayStatusChanged = event(add_DisplayStatusChanged, remove_DisplayStatusChanged)
|
|
107
|
+
EffectivePowerModeChanged = event(add_EffectivePowerModeChanged, remove_EffectivePowerModeChanged)
|
|
108
|
+
EnergySaverStatusChanged = event(add_EnergySaverStatusChanged, remove_EnergySaverStatusChanged)
|
|
109
|
+
PowerSourceKindChanged = event(add_PowerSourceKindChanged, remove_PowerSourceKindChanged)
|
|
110
|
+
PowerSupplyStatusChanged = event(add_PowerSupplyStatusChanged, remove_PowerSupplyStatusChanged)
|
|
111
|
+
RemainingChargePercentChanged = event(add_RemainingChargePercentChanged, remove_RemainingChargePercentChanged)
|
|
112
|
+
RemainingDischargeTimeChanged = event(add_RemainingDischargeTimeChanged, remove_RemainingDischargeTimeChanged)
|
|
113
|
+
SystemIdleStatusChanged = event(add_SystemIdleStatusChanged, remove_SystemIdleStatusChanged)
|
|
114
|
+
SystemSuspendStatusChanged = event(add_SystemSuspendStatusChanged, remove_SystemSuspendStatusChanged)
|
|
115
|
+
UserPresenceStatusChanged = event(add_UserPresenceStatusChanged, remove_UserPresenceStatusChanged)
|
|
116
116
|
class IPowerManagerStatics2(ComPtr):
|
|
117
117
|
extends: IInspectable
|
|
118
118
|
_classid_ = 'Microsoft.Windows.System.Power.IPowerManagerStatics2'
|
|
@@ -202,6 +202,17 @@ class PowerManager(ComPtr, metaclass=_PowerManager_Meta_):
|
|
|
202
202
|
_PowerManager_Meta_.RemainingDischargeTime = property(get_RemainingDischargeTime, None)
|
|
203
203
|
_PowerManager_Meta_.SystemSuspendStatus = property(get_SystemSuspendStatus, None)
|
|
204
204
|
_PowerManager_Meta_.UserPresenceStatus = property(get_UserPresenceStatus, None)
|
|
205
|
+
_PowerManager_Meta_.BatteryStatusChanged = event(add_BatteryStatusChanged, remove_BatteryStatusChanged)
|
|
206
|
+
_PowerManager_Meta_.DisplayStatusChanged = event(add_DisplayStatusChanged, remove_DisplayStatusChanged)
|
|
207
|
+
_PowerManager_Meta_.EffectivePowerModeChanged = event(add_EffectivePowerModeChanged, remove_EffectivePowerModeChanged)
|
|
208
|
+
_PowerManager_Meta_.EnergySaverStatusChanged = event(add_EnergySaverStatusChanged, remove_EnergySaverStatusChanged)
|
|
209
|
+
_PowerManager_Meta_.PowerSourceKindChanged = event(add_PowerSourceKindChanged, remove_PowerSourceKindChanged)
|
|
210
|
+
_PowerManager_Meta_.PowerSupplyStatusChanged = event(add_PowerSupplyStatusChanged, remove_PowerSupplyStatusChanged)
|
|
211
|
+
_PowerManager_Meta_.RemainingChargePercentChanged = event(add_RemainingChargePercentChanged, remove_RemainingChargePercentChanged)
|
|
212
|
+
_PowerManager_Meta_.RemainingDischargeTimeChanged = event(add_RemainingDischargeTimeChanged, remove_RemainingDischargeTimeChanged)
|
|
213
|
+
_PowerManager_Meta_.SystemIdleStatusChanged = event(add_SystemIdleStatusChanged, remove_SystemIdleStatusChanged)
|
|
214
|
+
_PowerManager_Meta_.SystemSuspendStatusChanged = event(add_SystemSuspendStatusChanged, remove_SystemSuspendStatusChanged)
|
|
215
|
+
_PowerManager_Meta_.UserPresenceStatusChanged = event(add_UserPresenceStatusChanged, remove_UserPresenceStatusChanged)
|
|
205
216
|
PowerNotificationsContract: UInt32 = 131072
|
|
206
217
|
class PowerSourceKind(Enum, Int32):
|
|
207
218
|
AC = 0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from win32more.
|
|
2
|
+
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.Windows.System
|
|
4
4
|
import win32more.Windows.Foundation.Collections
|
|
5
5
|
class _EnvironmentManager_Meta_(ComPtr.__class__):
|
|
@@ -9,19 +9,19 @@ class EnvironmentManager(ComPtr, metaclass=_EnvironmentManager_Meta_):
|
|
|
9
9
|
default_interface: win32more.Microsoft.Windows.System.IEnvironmentManager
|
|
10
10
|
_classid_ = 'Microsoft.Windows.System.EnvironmentManager'
|
|
11
11
|
@winrt_mixinmethod
|
|
12
|
-
def GetEnvironmentVariables(self: win32more.Microsoft.Windows.System.IEnvironmentManager) -> win32more.Windows.Foundation.Collections.IMapView[
|
|
12
|
+
def GetEnvironmentVariables(self: win32more.Microsoft.Windows.System.IEnvironmentManager) -> win32more.Windows.Foundation.Collections.IMapView[hstr, hstr]: ...
|
|
13
13
|
@winrt_mixinmethod
|
|
14
|
-
def GetEnvironmentVariable(self: win32more.Microsoft.Windows.System.IEnvironmentManager, name:
|
|
14
|
+
def GetEnvironmentVariable(self: win32more.Microsoft.Windows.System.IEnvironmentManager, name: hstr) -> hstr: ...
|
|
15
15
|
@winrt_mixinmethod
|
|
16
|
-
def SetEnvironmentVariable(self: win32more.Microsoft.Windows.System.IEnvironmentManager, name:
|
|
16
|
+
def SetEnvironmentVariable(self: win32more.Microsoft.Windows.System.IEnvironmentManager, name: hstr, value: hstr) -> Void: ...
|
|
17
17
|
@winrt_mixinmethod
|
|
18
|
-
def AppendToPath(self: win32more.Microsoft.Windows.System.IEnvironmentManager, path:
|
|
18
|
+
def AppendToPath(self: win32more.Microsoft.Windows.System.IEnvironmentManager, path: hstr) -> Void: ...
|
|
19
19
|
@winrt_mixinmethod
|
|
20
|
-
def RemoveFromPath(self: win32more.Microsoft.Windows.System.IEnvironmentManager, path:
|
|
20
|
+
def RemoveFromPath(self: win32more.Microsoft.Windows.System.IEnvironmentManager, path: hstr) -> Void: ...
|
|
21
21
|
@winrt_mixinmethod
|
|
22
|
-
def AddExecutableFileExtension(self: win32more.Microsoft.Windows.System.IEnvironmentManager, pathExt:
|
|
22
|
+
def AddExecutableFileExtension(self: win32more.Microsoft.Windows.System.IEnvironmentManager, pathExt: hstr) -> Void: ...
|
|
23
23
|
@winrt_mixinmethod
|
|
24
|
-
def RemoveExecutableFileExtension(self: win32more.Microsoft.Windows.System.IEnvironmentManager, pathExt:
|
|
24
|
+
def RemoveExecutableFileExtension(self: win32more.Microsoft.Windows.System.IEnvironmentManager, pathExt: hstr) -> Void: ...
|
|
25
25
|
@winrt_mixinmethod
|
|
26
26
|
def get_AreChangesTracked(self: win32more.Microsoft.Windows.System.IEnvironmentManager2) -> Boolean: ...
|
|
27
27
|
@winrt_classmethod
|
|
@@ -40,19 +40,19 @@ class IEnvironmentManager(ComPtr):
|
|
|
40
40
|
_classid_ = 'Microsoft.Windows.System.IEnvironmentManager'
|
|
41
41
|
_iid_ = Guid('{d1b239bb-7013-5176-b02a-63477410d986}')
|
|
42
42
|
@winrt_commethod(6)
|
|
43
|
-
def GetEnvironmentVariables(self) -> win32more.Windows.Foundation.Collections.IMapView[
|
|
43
|
+
def GetEnvironmentVariables(self) -> win32more.Windows.Foundation.Collections.IMapView[hstr, hstr]: ...
|
|
44
44
|
@winrt_commethod(7)
|
|
45
|
-
def GetEnvironmentVariable(self, name:
|
|
45
|
+
def GetEnvironmentVariable(self, name: hstr) -> hstr: ...
|
|
46
46
|
@winrt_commethod(8)
|
|
47
|
-
def SetEnvironmentVariable(self, name:
|
|
47
|
+
def SetEnvironmentVariable(self, name: hstr, value: hstr) -> Void: ...
|
|
48
48
|
@winrt_commethod(9)
|
|
49
|
-
def AppendToPath(self, path:
|
|
49
|
+
def AppendToPath(self, path: hstr) -> Void: ...
|
|
50
50
|
@winrt_commethod(10)
|
|
51
|
-
def RemoveFromPath(self, path:
|
|
51
|
+
def RemoveFromPath(self, path: hstr) -> Void: ...
|
|
52
52
|
@winrt_commethod(11)
|
|
53
|
-
def AddExecutableFileExtension(self, pathExt:
|
|
53
|
+
def AddExecutableFileExtension(self, pathExt: hstr) -> Void: ...
|
|
54
54
|
@winrt_commethod(12)
|
|
55
|
-
def RemoveExecutableFileExtension(self, pathExt:
|
|
55
|
+
def RemoveExecutableFileExtension(self, pathExt: hstr) -> Void: ...
|
|
56
56
|
class IEnvironmentManager2(ComPtr):
|
|
57
57
|
extends: IInspectable
|
|
58
58
|
_classid_ = 'Microsoft.Windows.System.IEnvironmentManager2'
|