win32more-Microsoft.WindowsAppSDK 0.6.1.5.240227000__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.
Potentially problematic release.
This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.
- win32more/Microsoft/Foundation/__init__.py +7 -0
- win32more/Microsoft/Graphics/DirectX/__init__.py +167 -0
- win32more/Microsoft/Graphics/Display/__init__.py +174 -0
- win32more/Microsoft/UI/Composition/Core/__init__.py +52 -0
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +63 -0
- win32more/Microsoft/UI/Composition/Effects/__init__.py +96 -0
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +951 -0
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +671 -0
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +356 -0
- win32more/Microsoft/UI/Composition/__init__.py +4793 -0
- win32more/Microsoft/UI/Content/__init__.py +918 -0
- win32more/Microsoft/UI/Dispatching/__init__.py +241 -0
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +235 -0
- win32more/Microsoft/UI/Input/Interop/__init__.py +19 -0
- win32more/Microsoft/UI/Input/__init__.py +1927 -0
- win32more/Microsoft/UI/System/__init__.py +46 -0
- win32more/Microsoft/UI/Text/__init__.py +1090 -0
- win32more/Microsoft/UI/Windowing/__init__.py +877 -0
- win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +3414 -0
- win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +489 -0
- win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +17 -0
- win32more/Microsoft/UI/Xaml/Automation/__init__.py +1607 -0
- win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +170 -0
- win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +6458 -0
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +31159 -0
- win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
- win32more/Microsoft/UI/Xaml/Data/__init__.py +670 -0
- win32more/Microsoft/UI/Xaml/Documents/__init__.py +2030 -0
- win32more/Microsoft/UI/Xaml/Hosting/__init__.py +329 -0
- win32more/Microsoft/UI/Xaml/Input/__init__.py +1985 -0
- win32more/Microsoft/UI/Xaml/Interop/__init__.py +148 -0
- win32more/Microsoft/UI/Xaml/Markup/__init__.py +391 -0
- win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +4167 -0
- win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +632 -0
- win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +373 -0
- win32more/Microsoft/UI/Xaml/Media/__init__.py +3510 -0
- win32more/Microsoft/UI/Xaml/Navigation/__init__.py +255 -0
- win32more/Microsoft/UI/Xaml/Printing/__init__.py +193 -0
- win32more/Microsoft/UI/Xaml/Resources/__init__.py +53 -0
- win32more/Microsoft/UI/Xaml/Shapes/__init__.py +538 -0
- win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +39 -0
- win32more/Microsoft/UI/Xaml/__init__.py +6010 -0
- win32more/Microsoft/UI/__init__.py +912 -0
- win32more/Microsoft/Web/WebView2/Core/__init__.py +4685 -0
- win32more/Microsoft/Windows/AppLifecycle/__init__.py +180 -0
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +572 -0
- win32more/Microsoft/Windows/AppNotifications/__init__.py +333 -0
- win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +244 -0
- win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +322 -0
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +114 -0
- win32more/Microsoft/Windows/Management/Deployment/__init__.py +1114 -0
- win32more/Microsoft/Windows/PushNotifications/__init__.py +146 -0
- win32more/Microsoft/Windows/Security/AccessControl/__init__.py +25 -0
- win32more/Microsoft/Windows/System/Power/__init__.py +223 -0
- win32more/Microsoft/Windows/System/__init__.py +78 -0
- win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +181 -0
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +325 -0
- win32more/Microsoft/Windows/Widgets/__init__.py +11 -0
- win32more/appsdk/versioninfo.py +3 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/METADATA +5 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/RECORD +66 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/WHEEL +5 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +90 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more.winrt.prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.PushNotifications
|
|
4
|
+
import win32more.Windows.ApplicationModel.Background
|
|
5
|
+
import win32more.Windows.Foundation
|
|
6
|
+
class IPushNotificationChannel(ComPtr):
|
|
7
|
+
extends: IInspectable
|
|
8
|
+
_classid_ = 'Microsoft.Windows.PushNotifications.IPushNotificationChannel'
|
|
9
|
+
_iid_ = Guid('{da28bbcb-7695-5d38-af82-f30b72fef1f6}')
|
|
10
|
+
@winrt_commethod(6)
|
|
11
|
+
def get_Uri(self) -> win32more.Windows.Foundation.Uri: ...
|
|
12
|
+
@winrt_commethod(7)
|
|
13
|
+
def get_ExpirationTime(self) -> win32more.Windows.Foundation.DateTime: ...
|
|
14
|
+
@winrt_commethod(8)
|
|
15
|
+
def Close(self) -> Void: ...
|
|
16
|
+
ExpirationTime = property(get_ExpirationTime, None)
|
|
17
|
+
Uri = property(get_Uri, None)
|
|
18
|
+
class IPushNotificationCreateChannelResult(ComPtr):
|
|
19
|
+
extends: IInspectable
|
|
20
|
+
_classid_ = 'Microsoft.Windows.PushNotifications.IPushNotificationCreateChannelResult'
|
|
21
|
+
_iid_ = Guid('{4df3717f-5d33-56e9-b381-1b350c95722e}')
|
|
22
|
+
@winrt_commethod(6)
|
|
23
|
+
def get_Channel(self) -> win32more.Microsoft.Windows.PushNotifications.PushNotificationChannel: ...
|
|
24
|
+
@winrt_commethod(7)
|
|
25
|
+
def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
|
|
26
|
+
@winrt_commethod(8)
|
|
27
|
+
def get_Status(self) -> win32more.Microsoft.Windows.PushNotifications.PushNotificationChannelStatus: ...
|
|
28
|
+
Channel = property(get_Channel, None)
|
|
29
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
30
|
+
Status = property(get_Status, None)
|
|
31
|
+
class IPushNotificationManager(ComPtr):
|
|
32
|
+
extends: IInspectable
|
|
33
|
+
_classid_ = 'Microsoft.Windows.PushNotifications.IPushNotificationManager'
|
|
34
|
+
_iid_ = Guid('{902f4aba-ff63-5dfe-a88f-15cc6bed55ff}')
|
|
35
|
+
@winrt_commethod(6)
|
|
36
|
+
def Register(self) -> Void: ...
|
|
37
|
+
@winrt_commethod(7)
|
|
38
|
+
def Unregister(self) -> Void: ...
|
|
39
|
+
@winrt_commethod(8)
|
|
40
|
+
def UnregisterAll(self) -> Void: ...
|
|
41
|
+
@winrt_commethod(9)
|
|
42
|
+
def CreateChannelAsync(self, remoteId: Guid) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.PushNotifications.PushNotificationCreateChannelResult, win32more.Microsoft.Windows.PushNotifications.PushNotificationCreateChannelStatus]: ...
|
|
43
|
+
@winrt_commethod(10)
|
|
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
|
+
@winrt_commethod(11)
|
|
46
|
+
def remove_PushReceived(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
47
|
+
PushReceived = event()
|
|
48
|
+
class IPushNotificationManagerStatics(ComPtr):
|
|
49
|
+
extends: IInspectable
|
|
50
|
+
_classid_ = 'Microsoft.Windows.PushNotifications.IPushNotificationManagerStatics'
|
|
51
|
+
_iid_ = Guid('{71329470-1b55-58dc-a00c-68c26f2d8bd9}')
|
|
52
|
+
@winrt_commethod(6)
|
|
53
|
+
def IsSupported(self) -> Boolean: ...
|
|
54
|
+
@winrt_commethod(7)
|
|
55
|
+
def get_Default(self) -> win32more.Microsoft.Windows.PushNotifications.PushNotificationManager: ...
|
|
56
|
+
Default = property(get_Default, None)
|
|
57
|
+
class IPushNotificationReceivedEventArgs(ComPtr):
|
|
58
|
+
extends: IInspectable
|
|
59
|
+
_classid_ = 'Microsoft.Windows.PushNotifications.IPushNotificationReceivedEventArgs'
|
|
60
|
+
_iid_ = Guid('{fbd4ec53-bb83-5495-8777-d3cf13e4299c}')
|
|
61
|
+
@winrt_commethod(6)
|
|
62
|
+
def get_Payload(self) -> ReceiveArray[Byte]: ...
|
|
63
|
+
@winrt_commethod(7)
|
|
64
|
+
def GetDeferral(self) -> win32more.Windows.ApplicationModel.Background.BackgroundTaskDeferral: ...
|
|
65
|
+
@winrt_commethod(8)
|
|
66
|
+
def add_Canceled(self, handler: win32more.Windows.ApplicationModel.Background.BackgroundTaskCanceledEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
67
|
+
@winrt_commethod(9)
|
|
68
|
+
def remove_Canceled(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
69
|
+
Payload = property(get_Payload, None)
|
|
70
|
+
Canceled = event()
|
|
71
|
+
class PushNotificationChannel(ComPtr):
|
|
72
|
+
extends: IInspectable
|
|
73
|
+
default_interface: win32more.Microsoft.Windows.PushNotifications.IPushNotificationChannel
|
|
74
|
+
_classid_ = 'Microsoft.Windows.PushNotifications.PushNotificationChannel'
|
|
75
|
+
@winrt_mixinmethod
|
|
76
|
+
def get_Uri(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationChannel) -> win32more.Windows.Foundation.Uri: ...
|
|
77
|
+
@winrt_mixinmethod
|
|
78
|
+
def get_ExpirationTime(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationChannel) -> win32more.Windows.Foundation.DateTime: ...
|
|
79
|
+
@winrt_mixinmethod
|
|
80
|
+
def Close(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationChannel) -> Void: ...
|
|
81
|
+
ExpirationTime = property(get_ExpirationTime, None)
|
|
82
|
+
Uri = property(get_Uri, None)
|
|
83
|
+
class PushNotificationChannelStatus(Enum, Int32):
|
|
84
|
+
InProgress = 0
|
|
85
|
+
InProgressRetry = 1
|
|
86
|
+
CompletedSuccess = 2
|
|
87
|
+
CompletedFailure = 3
|
|
88
|
+
class PushNotificationCreateChannelResult(ComPtr):
|
|
89
|
+
extends: IInspectable
|
|
90
|
+
default_interface: win32more.Microsoft.Windows.PushNotifications.IPushNotificationCreateChannelResult
|
|
91
|
+
_classid_ = 'Microsoft.Windows.PushNotifications.PushNotificationCreateChannelResult'
|
|
92
|
+
@winrt_mixinmethod
|
|
93
|
+
def get_Channel(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationCreateChannelResult) -> win32more.Microsoft.Windows.PushNotifications.PushNotificationChannel: ...
|
|
94
|
+
@winrt_mixinmethod
|
|
95
|
+
def get_ExtendedError(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationCreateChannelResult) -> win32more.Windows.Foundation.HResult: ...
|
|
96
|
+
@winrt_mixinmethod
|
|
97
|
+
def get_Status(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationCreateChannelResult) -> win32more.Microsoft.Windows.PushNotifications.PushNotificationChannelStatus: ...
|
|
98
|
+
Channel = property(get_Channel, None)
|
|
99
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
100
|
+
Status = property(get_Status, None)
|
|
101
|
+
class PushNotificationCreateChannelStatus(Structure):
|
|
102
|
+
status: win32more.Microsoft.Windows.PushNotifications.PushNotificationChannelStatus
|
|
103
|
+
extendedError: win32more.Windows.Foundation.HResult
|
|
104
|
+
retryCount: UInt32
|
|
105
|
+
class _PushNotificationManager_Meta_(ComPtr.__class__):
|
|
106
|
+
pass
|
|
107
|
+
class PushNotificationManager(ComPtr, metaclass=_PushNotificationManager_Meta_):
|
|
108
|
+
extends: IInspectable
|
|
109
|
+
default_interface: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManager
|
|
110
|
+
_classid_ = 'Microsoft.Windows.PushNotifications.PushNotificationManager'
|
|
111
|
+
@winrt_mixinmethod
|
|
112
|
+
def Register(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManager) -> Void: ...
|
|
113
|
+
@winrt_mixinmethod
|
|
114
|
+
def Unregister(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManager) -> Void: ...
|
|
115
|
+
@winrt_mixinmethod
|
|
116
|
+
def UnregisterAll(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManager) -> Void: ...
|
|
117
|
+
@winrt_mixinmethod
|
|
118
|
+
def CreateChannelAsync(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManager, remoteId: Guid) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.PushNotifications.PushNotificationCreateChannelResult, win32more.Microsoft.Windows.PushNotifications.PushNotificationCreateChannelStatus]: ...
|
|
119
|
+
@winrt_mixinmethod
|
|
120
|
+
def add_PushReceived(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManager, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Windows.PushNotifications.PushNotificationManager, win32more.Microsoft.Windows.PushNotifications.PushNotificationReceivedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
121
|
+
@winrt_mixinmethod
|
|
122
|
+
def remove_PushReceived(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManager, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
123
|
+
@winrt_classmethod
|
|
124
|
+
def IsSupported(cls: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManagerStatics) -> Boolean: ...
|
|
125
|
+
@winrt_classmethod
|
|
126
|
+
def get_Default(cls: win32more.Microsoft.Windows.PushNotifications.IPushNotificationManagerStatics) -> win32more.Microsoft.Windows.PushNotifications.PushNotificationManager: ...
|
|
127
|
+
_PushNotificationManager_Meta_.Default = property(get_Default, None)
|
|
128
|
+
PushReceived = event()
|
|
129
|
+
class PushNotificationReceivedEventArgs(ComPtr):
|
|
130
|
+
extends: IInspectable
|
|
131
|
+
default_interface: win32more.Microsoft.Windows.PushNotifications.IPushNotificationReceivedEventArgs
|
|
132
|
+
_classid_ = 'Microsoft.Windows.PushNotifications.PushNotificationReceivedEventArgs'
|
|
133
|
+
@winrt_mixinmethod
|
|
134
|
+
def get_Payload(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationReceivedEventArgs) -> ReceiveArray[Byte]: ...
|
|
135
|
+
@winrt_mixinmethod
|
|
136
|
+
def GetDeferral(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationReceivedEventArgs) -> win32more.Windows.ApplicationModel.Background.BackgroundTaskDeferral: ...
|
|
137
|
+
@winrt_mixinmethod
|
|
138
|
+
def add_Canceled(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationReceivedEventArgs, handler: win32more.Windows.ApplicationModel.Background.BackgroundTaskCanceledEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
139
|
+
@winrt_mixinmethod
|
|
140
|
+
def remove_Canceled(self: win32more.Microsoft.Windows.PushNotifications.IPushNotificationReceivedEventArgs, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
141
|
+
Payload = property(get_Payload, None)
|
|
142
|
+
Canceled = event()
|
|
143
|
+
PushNotificationsContract: UInt32 = 65536
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more.winrt.prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.Security.AccessControl
|
|
4
|
+
AccessControlContract: UInt32 = 65536
|
|
5
|
+
class AppContainerNameAndAccess(Structure):
|
|
6
|
+
appContainerName: WinRT_String
|
|
7
|
+
accessMask: UInt32
|
|
8
|
+
class ISecurityDescriptorHelpersStatics(ComPtr):
|
|
9
|
+
extends: IInspectable
|
|
10
|
+
_classid_ = 'Microsoft.Windows.Security.AccessControl.ISecurityDescriptorHelpersStatics'
|
|
11
|
+
_iid_ = Guid('{14fa9e8d-59f0-5017-852f-3ae24fd5ebb1}')
|
|
12
|
+
@winrt_commethod(6)
|
|
13
|
+
def GetSddlForAppContainerNames(self, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid: WinRT_String, principalAccessMask: UInt32) -> WinRT_String: ...
|
|
14
|
+
@winrt_commethod(7)
|
|
15
|
+
def GetSecurityDescriptorBytesFromAppContainerNames(self, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid: WinRT_String, principalAccessMask: UInt32) -> ReceiveArray[Byte]: ...
|
|
16
|
+
class SecurityDescriptorHelpers(ComPtr):
|
|
17
|
+
extends: IInspectable
|
|
18
|
+
_classid_ = 'Microsoft.Windows.Security.AccessControl.SecurityDescriptorHelpers'
|
|
19
|
+
@winrt_classmethod
|
|
20
|
+
def GetSddlForAppContainerNames(cls: win32more.Microsoft.Windows.Security.AccessControl.ISecurityDescriptorHelpersStatics, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid: WinRT_String, principalAccessMask: UInt32) -> WinRT_String: ...
|
|
21
|
+
@winrt_classmethod
|
|
22
|
+
def GetSecurityDescriptorBytesFromAppContainerNames(cls: win32more.Microsoft.Windows.Security.AccessControl.ISecurityDescriptorHelpersStatics, accessRequests: PassArray[win32more.Microsoft.Windows.Security.AccessControl.AppContainerNameAndAccess], principalStringSid: WinRT_String, principalAccessMask: UInt32) -> ReceiveArray[Byte]: ...
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more.winrt.prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.System.Power
|
|
4
|
+
import win32more.Windows.Foundation
|
|
5
|
+
class BatteryStatus(Enum, Int32):
|
|
6
|
+
NotPresent = 0
|
|
7
|
+
Discharging = 1
|
|
8
|
+
Idle = 2
|
|
9
|
+
Charging = 3
|
|
10
|
+
class DisplayStatus(Enum, Int32):
|
|
11
|
+
Off = 0
|
|
12
|
+
On = 1
|
|
13
|
+
Dimmed = 2
|
|
14
|
+
class EffectivePowerMode(Enum, Int32):
|
|
15
|
+
BatterySaver = 0
|
|
16
|
+
BetterBattery = 1
|
|
17
|
+
Balanced = 2
|
|
18
|
+
HighPerformance = 3
|
|
19
|
+
MaxPerformance = 4
|
|
20
|
+
GameMode = 5
|
|
21
|
+
MixedReality = 6
|
|
22
|
+
class EnergySaverStatus(Enum, Int32):
|
|
23
|
+
Uninitialized = 0
|
|
24
|
+
Disabled = 1
|
|
25
|
+
Off = 2
|
|
26
|
+
On = 3
|
|
27
|
+
class IPowerManagerStatics(ComPtr):
|
|
28
|
+
extends: IInspectable
|
|
29
|
+
_classid_ = 'Microsoft.Windows.System.Power.IPowerManagerStatics'
|
|
30
|
+
_iid_ = Guid('{fa3554cc-be1c-534c-bff8-72df78e9f4a4}')
|
|
31
|
+
@winrt_commethod(6)
|
|
32
|
+
def get_EnergySaverStatus(self) -> win32more.Microsoft.Windows.System.Power.EnergySaverStatus: ...
|
|
33
|
+
@winrt_commethod(7)
|
|
34
|
+
def add_EnergySaverStatusChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
35
|
+
@winrt_commethod(8)
|
|
36
|
+
def remove_EnergySaverStatusChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
37
|
+
@winrt_commethod(9)
|
|
38
|
+
def get_BatteryStatus(self) -> win32more.Microsoft.Windows.System.Power.BatteryStatus: ...
|
|
39
|
+
@winrt_commethod(10)
|
|
40
|
+
def add_BatteryStatusChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
41
|
+
@winrt_commethod(11)
|
|
42
|
+
def remove_BatteryStatusChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
43
|
+
@winrt_commethod(12)
|
|
44
|
+
def get_PowerSupplyStatus(self) -> win32more.Microsoft.Windows.System.Power.PowerSupplyStatus: ...
|
|
45
|
+
@winrt_commethod(13)
|
|
46
|
+
def add_PowerSupplyStatusChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
47
|
+
@winrt_commethod(14)
|
|
48
|
+
def remove_PowerSupplyStatusChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
49
|
+
@winrt_commethod(15)
|
|
50
|
+
def get_RemainingChargePercent(self) -> Int32: ...
|
|
51
|
+
@winrt_commethod(16)
|
|
52
|
+
def add_RemainingChargePercentChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
53
|
+
@winrt_commethod(17)
|
|
54
|
+
def remove_RemainingChargePercentChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
55
|
+
@winrt_commethod(18)
|
|
56
|
+
def get_RemainingDischargeTime(self) -> win32more.Windows.Foundation.TimeSpan: ...
|
|
57
|
+
@winrt_commethod(19)
|
|
58
|
+
def add_RemainingDischargeTimeChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
59
|
+
@winrt_commethod(20)
|
|
60
|
+
def remove_RemainingDischargeTimeChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
61
|
+
@winrt_commethod(21)
|
|
62
|
+
def get_PowerSourceKind(self) -> win32more.Microsoft.Windows.System.Power.PowerSourceKind: ...
|
|
63
|
+
@winrt_commethod(22)
|
|
64
|
+
def add_PowerSourceKindChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
65
|
+
@winrt_commethod(23)
|
|
66
|
+
def remove_PowerSourceKindChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
67
|
+
@winrt_commethod(24)
|
|
68
|
+
def get_DisplayStatus(self) -> win32more.Microsoft.Windows.System.Power.DisplayStatus: ...
|
|
69
|
+
@winrt_commethod(25)
|
|
70
|
+
def add_DisplayStatusChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
71
|
+
@winrt_commethod(26)
|
|
72
|
+
def remove_DisplayStatusChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
73
|
+
@winrt_commethod(27)
|
|
74
|
+
def add_SystemIdleStatusChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
75
|
+
@winrt_commethod(28)
|
|
76
|
+
def remove_SystemIdleStatusChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
77
|
+
@winrt_commethod(29)
|
|
78
|
+
def get_EffectivePowerMode(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.System.Power.EffectivePowerMode]: ...
|
|
79
|
+
@winrt_commethod(30)
|
|
80
|
+
def add_EffectivePowerModeChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
81
|
+
@winrt_commethod(31)
|
|
82
|
+
def remove_EffectivePowerModeChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
83
|
+
@winrt_commethod(32)
|
|
84
|
+
def get_UserPresenceStatus(self) -> win32more.Microsoft.Windows.System.Power.UserPresenceStatus: ...
|
|
85
|
+
@winrt_commethod(33)
|
|
86
|
+
def add_UserPresenceStatusChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
87
|
+
@winrt_commethod(34)
|
|
88
|
+
def remove_UserPresenceStatusChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
89
|
+
@winrt_commethod(35)
|
|
90
|
+
def get_SystemSuspendStatus(self) -> win32more.Microsoft.Windows.System.Power.SystemSuspendStatus: ...
|
|
91
|
+
@winrt_commethod(36)
|
|
92
|
+
def add_SystemSuspendStatusChanged(self, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
93
|
+
@winrt_commethod(37)
|
|
94
|
+
def remove_SystemSuspendStatusChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
95
|
+
BatteryStatus = property(get_BatteryStatus, None)
|
|
96
|
+
DisplayStatus = property(get_DisplayStatus, None)
|
|
97
|
+
EffectivePowerMode = property(get_EffectivePowerMode, None)
|
|
98
|
+
EnergySaverStatus = property(get_EnergySaverStatus, None)
|
|
99
|
+
PowerSourceKind = property(get_PowerSourceKind, None)
|
|
100
|
+
PowerSupplyStatus = property(get_PowerSupplyStatus, None)
|
|
101
|
+
RemainingChargePercent = property(get_RemainingChargePercent, None)
|
|
102
|
+
RemainingDischargeTime = property(get_RemainingDischargeTime, None)
|
|
103
|
+
SystemSuspendStatus = property(get_SystemSuspendStatus, None)
|
|
104
|
+
UserPresenceStatus = property(get_UserPresenceStatus, None)
|
|
105
|
+
EnergySaverStatusChanged = event()
|
|
106
|
+
BatteryStatusChanged = event()
|
|
107
|
+
PowerSupplyStatusChanged = event()
|
|
108
|
+
RemainingChargePercentChanged = event()
|
|
109
|
+
RemainingDischargeTimeChanged = event()
|
|
110
|
+
PowerSourceKindChanged = event()
|
|
111
|
+
DisplayStatusChanged = event()
|
|
112
|
+
SystemIdleStatusChanged = event()
|
|
113
|
+
EffectivePowerModeChanged = event()
|
|
114
|
+
UserPresenceStatusChanged = event()
|
|
115
|
+
SystemSuspendStatusChanged = event()
|
|
116
|
+
class IPowerManagerStatics2(ComPtr):
|
|
117
|
+
extends: IInspectable
|
|
118
|
+
_classid_ = 'Microsoft.Windows.System.Power.IPowerManagerStatics2'
|
|
119
|
+
_iid_ = Guid('{61f3cc25-65b4-5def-9c9b-990cef3b0833}')
|
|
120
|
+
@winrt_commethod(6)
|
|
121
|
+
def get_EffectivePowerMode2(self) -> win32more.Microsoft.Windows.System.Power.EffectivePowerMode: ...
|
|
122
|
+
EffectivePowerMode2 = property(get_EffectivePowerMode2, None)
|
|
123
|
+
class _PowerManager_Meta_(ComPtr.__class__):
|
|
124
|
+
pass
|
|
125
|
+
class PowerManager(ComPtr, metaclass=_PowerManager_Meta_):
|
|
126
|
+
extends: IInspectable
|
|
127
|
+
_classid_ = 'Microsoft.Windows.System.Power.PowerManager'
|
|
128
|
+
@winrt_classmethod
|
|
129
|
+
def get_EffectivePowerMode2(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics2) -> win32more.Microsoft.Windows.System.Power.EffectivePowerMode: ...
|
|
130
|
+
@winrt_classmethod
|
|
131
|
+
def get_EnergySaverStatus(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> win32more.Microsoft.Windows.System.Power.EnergySaverStatus: ...
|
|
132
|
+
@winrt_classmethod
|
|
133
|
+
def add_EnergySaverStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
134
|
+
@winrt_classmethod
|
|
135
|
+
def remove_EnergySaverStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
136
|
+
@winrt_classmethod
|
|
137
|
+
def get_BatteryStatus(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> win32more.Microsoft.Windows.System.Power.BatteryStatus: ...
|
|
138
|
+
@winrt_classmethod
|
|
139
|
+
def add_BatteryStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
140
|
+
@winrt_classmethod
|
|
141
|
+
def remove_BatteryStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
142
|
+
@winrt_classmethod
|
|
143
|
+
def get_PowerSupplyStatus(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> win32more.Microsoft.Windows.System.Power.PowerSupplyStatus: ...
|
|
144
|
+
@winrt_classmethod
|
|
145
|
+
def add_PowerSupplyStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
146
|
+
@winrt_classmethod
|
|
147
|
+
def remove_PowerSupplyStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
148
|
+
@winrt_classmethod
|
|
149
|
+
def get_RemainingChargePercent(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> Int32: ...
|
|
150
|
+
@winrt_classmethod
|
|
151
|
+
def add_RemainingChargePercentChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
152
|
+
@winrt_classmethod
|
|
153
|
+
def remove_RemainingChargePercentChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
154
|
+
@winrt_classmethod
|
|
155
|
+
def get_RemainingDischargeTime(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> win32more.Windows.Foundation.TimeSpan: ...
|
|
156
|
+
@winrt_classmethod
|
|
157
|
+
def add_RemainingDischargeTimeChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
158
|
+
@winrt_classmethod
|
|
159
|
+
def remove_RemainingDischargeTimeChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
160
|
+
@winrt_classmethod
|
|
161
|
+
def get_PowerSourceKind(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> win32more.Microsoft.Windows.System.Power.PowerSourceKind: ...
|
|
162
|
+
@winrt_classmethod
|
|
163
|
+
def add_PowerSourceKindChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
164
|
+
@winrt_classmethod
|
|
165
|
+
def remove_PowerSourceKindChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
166
|
+
@winrt_classmethod
|
|
167
|
+
def get_DisplayStatus(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> win32more.Microsoft.Windows.System.Power.DisplayStatus: ...
|
|
168
|
+
@winrt_classmethod
|
|
169
|
+
def add_DisplayStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
170
|
+
@winrt_classmethod
|
|
171
|
+
def remove_DisplayStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
172
|
+
@winrt_classmethod
|
|
173
|
+
def add_SystemIdleStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
174
|
+
@winrt_classmethod
|
|
175
|
+
def remove_SystemIdleStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
176
|
+
@winrt_classmethod
|
|
177
|
+
def get_EffectivePowerMode(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.System.Power.EffectivePowerMode]: ...
|
|
178
|
+
@winrt_classmethod
|
|
179
|
+
def add_EffectivePowerModeChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
180
|
+
@winrt_classmethod
|
|
181
|
+
def remove_EffectivePowerModeChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
182
|
+
@winrt_classmethod
|
|
183
|
+
def get_UserPresenceStatus(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> win32more.Microsoft.Windows.System.Power.UserPresenceStatus: ...
|
|
184
|
+
@winrt_classmethod
|
|
185
|
+
def add_UserPresenceStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
186
|
+
@winrt_classmethod
|
|
187
|
+
def remove_UserPresenceStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
188
|
+
@winrt_classmethod
|
|
189
|
+
def get_SystemSuspendStatus(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics) -> win32more.Microsoft.Windows.System.Power.SystemSuspendStatus: ...
|
|
190
|
+
@winrt_classmethod
|
|
191
|
+
def add_SystemSuspendStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, handler: win32more.Windows.Foundation.EventHandler[IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
192
|
+
@winrt_classmethod
|
|
193
|
+
def remove_SystemSuspendStatusChanged(cls: win32more.Microsoft.Windows.System.Power.IPowerManagerStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
194
|
+
_PowerManager_Meta_.BatteryStatus = property(get_BatteryStatus, None)
|
|
195
|
+
_PowerManager_Meta_.DisplayStatus = property(get_DisplayStatus, None)
|
|
196
|
+
_PowerManager_Meta_.EffectivePowerMode = property(get_EffectivePowerMode, None)
|
|
197
|
+
_PowerManager_Meta_.EffectivePowerMode2 = property(get_EffectivePowerMode2, None)
|
|
198
|
+
_PowerManager_Meta_.EnergySaverStatus = property(get_EnergySaverStatus, None)
|
|
199
|
+
_PowerManager_Meta_.PowerSourceKind = property(get_PowerSourceKind, None)
|
|
200
|
+
_PowerManager_Meta_.PowerSupplyStatus = property(get_PowerSupplyStatus, None)
|
|
201
|
+
_PowerManager_Meta_.RemainingChargePercent = property(get_RemainingChargePercent, None)
|
|
202
|
+
_PowerManager_Meta_.RemainingDischargeTime = property(get_RemainingDischargeTime, None)
|
|
203
|
+
_PowerManager_Meta_.SystemSuspendStatus = property(get_SystemSuspendStatus, None)
|
|
204
|
+
_PowerManager_Meta_.UserPresenceStatus = property(get_UserPresenceStatus, None)
|
|
205
|
+
PowerNotificationsContract: UInt32 = 131072
|
|
206
|
+
class PowerSourceKind(Enum, Int32):
|
|
207
|
+
AC = 0
|
|
208
|
+
DC = 1
|
|
209
|
+
class PowerSupplyStatus(Enum, Int32):
|
|
210
|
+
NotPresent = 0
|
|
211
|
+
Inadequate = 1
|
|
212
|
+
Adequate = 2
|
|
213
|
+
class SystemSuspendStatus(Enum, Int32):
|
|
214
|
+
Uninitialized = 0
|
|
215
|
+
Entering = 1
|
|
216
|
+
AutoResume = 2
|
|
217
|
+
ManualResume = 3
|
|
218
|
+
class UserPresenceStatus(Enum, Int32):
|
|
219
|
+
Present = 0
|
|
220
|
+
Absent = 1
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more.winrt.prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.System
|
|
4
|
+
import win32more.Windows.Foundation.Collections
|
|
5
|
+
class _EnvironmentManager_Meta_(ComPtr.__class__):
|
|
6
|
+
pass
|
|
7
|
+
class EnvironmentManager(ComPtr, metaclass=_EnvironmentManager_Meta_):
|
|
8
|
+
extends: IInspectable
|
|
9
|
+
default_interface: win32more.Microsoft.Windows.System.IEnvironmentManager
|
|
10
|
+
_classid_ = 'Microsoft.Windows.System.EnvironmentManager'
|
|
11
|
+
@winrt_mixinmethod
|
|
12
|
+
def GetEnvironmentVariables(self: win32more.Microsoft.Windows.System.IEnvironmentManager) -> win32more.Windows.Foundation.Collections.IMapView[WinRT_String, WinRT_String]: ...
|
|
13
|
+
@winrt_mixinmethod
|
|
14
|
+
def GetEnvironmentVariable(self: win32more.Microsoft.Windows.System.IEnvironmentManager, name: WinRT_String) -> WinRT_String: ...
|
|
15
|
+
@winrt_mixinmethod
|
|
16
|
+
def SetEnvironmentVariable(self: win32more.Microsoft.Windows.System.IEnvironmentManager, name: WinRT_String, value: WinRT_String) -> Void: ...
|
|
17
|
+
@winrt_mixinmethod
|
|
18
|
+
def AppendToPath(self: win32more.Microsoft.Windows.System.IEnvironmentManager, path: WinRT_String) -> Void: ...
|
|
19
|
+
@winrt_mixinmethod
|
|
20
|
+
def RemoveFromPath(self: win32more.Microsoft.Windows.System.IEnvironmentManager, path: WinRT_String) -> Void: ...
|
|
21
|
+
@winrt_mixinmethod
|
|
22
|
+
def AddExecutableFileExtension(self: win32more.Microsoft.Windows.System.IEnvironmentManager, pathExt: WinRT_String) -> Void: ...
|
|
23
|
+
@winrt_mixinmethod
|
|
24
|
+
def RemoveExecutableFileExtension(self: win32more.Microsoft.Windows.System.IEnvironmentManager, pathExt: WinRT_String) -> Void: ...
|
|
25
|
+
@winrt_mixinmethod
|
|
26
|
+
def get_AreChangesTracked(self: win32more.Microsoft.Windows.System.IEnvironmentManager2) -> Boolean: ...
|
|
27
|
+
@winrt_classmethod
|
|
28
|
+
def GetForProcess(cls: win32more.Microsoft.Windows.System.IEnvironmentManagerStatics) -> win32more.Microsoft.Windows.System.EnvironmentManager: ...
|
|
29
|
+
@winrt_classmethod
|
|
30
|
+
def GetForUser(cls: win32more.Microsoft.Windows.System.IEnvironmentManagerStatics) -> win32more.Microsoft.Windows.System.EnvironmentManager: ...
|
|
31
|
+
@winrt_classmethod
|
|
32
|
+
def GetForMachine(cls: win32more.Microsoft.Windows.System.IEnvironmentManagerStatics) -> win32more.Microsoft.Windows.System.EnvironmentManager: ...
|
|
33
|
+
@winrt_classmethod
|
|
34
|
+
def get_IsSupported(cls: win32more.Microsoft.Windows.System.IEnvironmentManagerStatics) -> Boolean: ...
|
|
35
|
+
AreChangesTracked = property(get_AreChangesTracked, None)
|
|
36
|
+
_EnvironmentManager_Meta_.IsSupported = property(get_IsSupported, None)
|
|
37
|
+
EnvironmentManagerContract: UInt32 = 131072
|
|
38
|
+
class IEnvironmentManager(ComPtr):
|
|
39
|
+
extends: IInspectable
|
|
40
|
+
_classid_ = 'Microsoft.Windows.System.IEnvironmentManager'
|
|
41
|
+
_iid_ = Guid('{d1b239bb-7013-5176-b02a-63477410d986}')
|
|
42
|
+
@winrt_commethod(6)
|
|
43
|
+
def GetEnvironmentVariables(self) -> win32more.Windows.Foundation.Collections.IMapView[WinRT_String, WinRT_String]: ...
|
|
44
|
+
@winrt_commethod(7)
|
|
45
|
+
def GetEnvironmentVariable(self, name: WinRT_String) -> WinRT_String: ...
|
|
46
|
+
@winrt_commethod(8)
|
|
47
|
+
def SetEnvironmentVariable(self, name: WinRT_String, value: WinRT_String) -> Void: ...
|
|
48
|
+
@winrt_commethod(9)
|
|
49
|
+
def AppendToPath(self, path: WinRT_String) -> Void: ...
|
|
50
|
+
@winrt_commethod(10)
|
|
51
|
+
def RemoveFromPath(self, path: WinRT_String) -> Void: ...
|
|
52
|
+
@winrt_commethod(11)
|
|
53
|
+
def AddExecutableFileExtension(self, pathExt: WinRT_String) -> Void: ...
|
|
54
|
+
@winrt_commethod(12)
|
|
55
|
+
def RemoveExecutableFileExtension(self, pathExt: WinRT_String) -> Void: ...
|
|
56
|
+
class IEnvironmentManager2(ComPtr):
|
|
57
|
+
extends: IInspectable
|
|
58
|
+
_classid_ = 'Microsoft.Windows.System.IEnvironmentManager2'
|
|
59
|
+
_iid_ = Guid('{cfc0ad51-02b7-57ff-8ca7-e015251737cb}')
|
|
60
|
+
@winrt_commethod(6)
|
|
61
|
+
def get_AreChangesTracked(self) -> Boolean: ...
|
|
62
|
+
AreChangesTracked = property(get_AreChangesTracked, None)
|
|
63
|
+
class IEnvironmentManagerStatics(ComPtr):
|
|
64
|
+
extends: IInspectable
|
|
65
|
+
_classid_ = 'Microsoft.Windows.System.IEnvironmentManagerStatics'
|
|
66
|
+
_iid_ = Guid('{407b1522-6156-5398-93fd-d6411c35e7b1}')
|
|
67
|
+
@winrt_commethod(6)
|
|
68
|
+
def GetForProcess(self) -> win32more.Microsoft.Windows.System.EnvironmentManager: ...
|
|
69
|
+
@winrt_commethod(7)
|
|
70
|
+
def GetForUser(self) -> win32more.Microsoft.Windows.System.EnvironmentManager: ...
|
|
71
|
+
@winrt_commethod(8)
|
|
72
|
+
def GetForMachine(self) -> win32more.Microsoft.Windows.System.EnvironmentManager: ...
|
|
73
|
+
@winrt_commethod(9)
|
|
74
|
+
def get_IsSupported(self) -> Boolean: ...
|
|
75
|
+
IsSupported = property(get_IsSupported, None)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
make_ready(__name__)
|