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.
Files changed (83) hide show
  1. win32more/Microsoft/Foundation/__init__.py +1 -1
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +1 -1
  3. win32more/Microsoft/Graphics/Display/__init__.py +9 -9
  4. win32more/Microsoft/Graphics/Imaging/__init__.py +77 -0
  5. win32more/Microsoft/Security/Authentication/OAuth/__init__.py +111 -111
  6. win32more/Microsoft/UI/Composition/Core/__init__.py +3 -3
  7. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +1 -1
  8. win32more/Microsoft/UI/Composition/Effects/__init__.py +3 -3
  9. win32more/Microsoft/UI/Composition/Interactions/__init__.py +1 -1
  10. win32more/Microsoft/UI/Composition/Scenes/__init__.py +10 -10
  11. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +8 -8
  12. win32more/Microsoft/UI/Composition/__init__.py +134 -134
  13. win32more/Microsoft/UI/Content/__init__.py +39 -39
  14. win32more/Microsoft/UI/Dispatching/__init__.py +11 -11
  15. win32more/Microsoft/UI/Input/DragDrop/__init__.py +7 -7
  16. win32more/Microsoft/UI/Input/Interop/__init__.py +1 -1
  17. win32more/Microsoft/UI/Input/__init__.py +103 -99
  18. win32more/Microsoft/UI/System/__init__.py +5 -5
  19. win32more/Microsoft/UI/Text/__init__.py +30 -30
  20. win32more/Microsoft/UI/Windowing/__init__.py +27 -27
  21. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +56 -55
  22. win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +19 -19
  23. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +1 -1
  24. win32more/Microsoft/UI/Xaml/Automation/__init__.py +41 -41
  25. win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +17 -17
  26. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +108 -107
  27. win32more/Microsoft/UI/Xaml/Controls/__init__.py +744 -744
  28. win32more/Microsoft/UI/Xaml/Data/__init__.py +31 -30
  29. win32more/Microsoft/UI/Xaml/Documents/__init__.py +38 -37
  30. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +7 -7
  31. win32more/Microsoft/UI/Xaml/Input/__init__.py +38 -31
  32. win32more/Microsoft/UI/Xaml/Interop/__init__.py +3 -3
  33. win32more/Microsoft/UI/Xaml/Markup/__init__.py +19 -17
  34. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +111 -109
  35. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +11 -11
  36. win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +2 -1
  37. win32more/Microsoft/UI/Xaml/Media/__init__.py +34 -28
  38. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +1 -1
  39. win32more/Microsoft/UI/Xaml/Printing/__init__.py +7 -7
  40. win32more/Microsoft/UI/Xaml/Resources/__init__.py +3 -3
  41. win32more/Microsoft/UI/Xaml/Shapes/__init__.py +1 -1
  42. win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +2 -2
  43. win32more/Microsoft/UI/Xaml/__init__.py +190 -186
  44. win32more/Microsoft/UI/__init__.py +8 -5
  45. win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +197 -0
  46. win32more/Microsoft/Windows/AI/Imaging/__init__.py +366 -0
  47. win32more/Microsoft/Windows/AI/Text/__init__.py +261 -0
  48. win32more/Microsoft/Windows/AI/__init__.py +49 -0
  49. win32more/Microsoft/Windows/AppLifecycle/__init__.py +21 -21
  50. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +99 -99
  51. win32more/Microsoft/Windows/AppNotifications/__init__.py +45 -45
  52. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +1 -1
  53. win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +7 -7
  54. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +22 -21
  55. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +59 -59
  56. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +32 -7
  57. win32more/Microsoft/Windows/BadgeNotifications/__init__.py +1 -1
  58. win32more/Microsoft/Windows/Globalization/__init__.py +9 -9
  59. win32more/Microsoft/Windows/Management/Deployment/__init__.py +86 -85
  60. win32more/Microsoft/Windows/Media/Capture/__init__.py +1 -1
  61. win32more/Microsoft/Windows/PushNotifications/__init__.py +6 -5
  62. win32more/Microsoft/Windows/Security/AccessControl/__init__.py +7 -6
  63. win32more/Microsoft/Windows/Storage/__init__.py +27 -27
  64. win32more/Microsoft/Windows/System/Power/__init__.py +23 -12
  65. win32more/Microsoft/Windows/System/__init__.py +15 -15
  66. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +65 -65
  67. win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +25 -25
  68. win32more/Microsoft/Windows/Widgets/Providers/__init__.py +91 -67
  69. win32more/Microsoft/Windows/Widgets/__init__.py +2 -2
  70. win32more/Microsoft/Windows/Workloads/__init__.py +11 -0
  71. win32more/appsdk/versioninfo.py +1 -1
  72. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  73. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  74. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  75. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  76. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  77. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  78. win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/METADATA +6 -0
  79. win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/RECORD +81 -0
  80. {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
  81. win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info/METADATA +0 -6
  82. win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info/RECORD +0 -75
  83. {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.winrt.prelude import *
2
+ from win32more._prelude import *
3
3
  import win32more.Microsoft.UI
4
4
  import win32more.Microsoft.UI.Composition
5
5
  import win32more.Microsoft.UI.Content
@@ -86,12 +86,12 @@ class ChildSiteLink(ComPtr):
86
86
  ProcessesKeyboardInput = property(get_ProcessesKeyboardInput, put_ProcessesKeyboardInput)
87
87
  ProcessesPointerInput = property(get_ProcessesPointerInput, put_ProcessesPointerInput)
88
88
  SiteView = property(get_SiteView, None)
89
- Closed = event()
90
- FrameworkClosed = event()
91
- PreviousSiblingAutomationProviderRequested = event()
92
- FragmentRootAutomationProviderRequested = event()
93
- NextSiblingAutomationProviderRequested = event()
94
- ParentAutomationProviderRequested = event()
89
+ Closed = event(add_Closed, remove_Closed)
90
+ FragmentRootAutomationProviderRequested = event(add_FragmentRootAutomationProviderRequested, remove_FragmentRootAutomationProviderRequested)
91
+ FrameworkClosed = event(add_FrameworkClosed, remove_FrameworkClosed)
92
+ NextSiblingAutomationProviderRequested = event(add_NextSiblingAutomationProviderRequested, remove_NextSiblingAutomationProviderRequested)
93
+ ParentAutomationProviderRequested = event(add_ParentAutomationProviderRequested, remove_ParentAutomationProviderRequested)
94
+ PreviousSiblingAutomationProviderRequested = event(add_PreviousSiblingAutomationProviderRequested, remove_PreviousSiblingAutomationProviderRequested)
95
95
  class ContentAutomationOptions(Enum, Int32):
96
96
  None_ = 0
97
97
  FrameworkBased = 1
@@ -132,7 +132,7 @@ class ContentEnvironmentSettingChangedEventArgs(ComPtr):
132
132
  default_interface: win32more.Microsoft.UI.Content.IContentEnvironmentSettingChangedEventArgs
133
133
  _classid_ = 'Microsoft.UI.Content.ContentEnvironmentSettingChangedEventArgs'
134
134
  @winrt_mixinmethod
135
- def get_SettingName(self: win32more.Microsoft.UI.Content.IContentEnvironmentSettingChangedEventArgs) -> WinRT_String: ...
135
+ def get_SettingName(self: win32more.Microsoft.UI.Content.IContentEnvironmentSettingChangedEventArgs) -> hstr: ...
136
136
  SettingName = property(get_SettingName, None)
137
137
  class ContentEnvironmentStateChangedEventArgs(ComPtr):
138
138
  extends: IInspectable
@@ -286,10 +286,10 @@ class ContentIsland(ComPtr):
286
286
  ProcessesPointerInput = property(get_ProcessesPointerInput, None)
287
287
  RasterizationScale = property(get_RasterizationScale, None)
288
288
  SystemBackdrop = property(get_SystemBackdrop, put_SystemBackdrop)
289
- Closed = event()
290
- AutomationProviderRequested = event()
291
- StateChanged = event()
292
- FrameworkClosed = event()
289
+ AutomationProviderRequested = event(add_AutomationProviderRequested, remove_AutomationProviderRequested)
290
+ Closed = event(add_Closed, remove_Closed)
291
+ FrameworkClosed = event(add_FrameworkClosed, remove_FrameworkClosed)
292
+ StateChanged = event(add_StateChanged, remove_StateChanged)
293
293
  class ContentIslandAutomationProviderRequestedEventArgs(ComPtr):
294
294
  extends: IInspectable
295
295
  default_interface: win32more.Microsoft.UI.Content.IContentIslandAutomationProviderRequestedEventArgs
@@ -325,8 +325,8 @@ class ContentIslandEnvironment(ComPtr):
325
325
  AppWindowId = property(get_AppWindowId, None)
326
326
  DisplayId = property(get_DisplayId, None)
327
327
  DisplayScale = property(get_DisplayScale, None)
328
- SettingChanged = event()
329
- StateChanged = event()
328
+ SettingChanged = event(add_SettingChanged, remove_SettingChanged)
329
+ StateChanged = event(add_StateChanged, remove_StateChanged)
330
330
  class ContentIslandStateChangedEventArgs(ComPtr):
331
331
  extends: IInspectable
332
332
  default_interface: win32more.Microsoft.UI.Content.IContentIslandStateChangedEventArgs
@@ -458,9 +458,9 @@ class ContentSite(ComPtr):
458
458
  RequestedSize = property(get_RequestedSize, None)
459
459
  ShouldApplyRasterizationScale = property(get_ShouldApplyRasterizationScale, put_ShouldApplyRasterizationScale)
460
460
  View = property(get_View, None)
461
- RequestedStateChanged = event()
462
- Closed = event()
463
- FrameworkClosed = event()
461
+ Closed = event(add_Closed, remove_Closed)
462
+ FrameworkClosed = event(add_FrameworkClosed, remove_FrameworkClosed)
463
+ RequestedStateChanged = event(add_RequestedStateChanged, remove_RequestedStateChanged)
464
464
  class ContentSiteAutomationProviderRequestedEventArgs(ComPtr):
465
465
  extends: IInspectable
466
466
  default_interface: win32more.Microsoft.UI.Content.IContentSiteAutomationProviderRequestedEventArgs
@@ -480,7 +480,7 @@ class ContentSiteEnvironment(ComPtr):
480
480
  default_interface: win32more.Microsoft.UI.Content.IContentSiteEnvironment
481
481
  _classid_ = 'Microsoft.UI.Content.ContentSiteEnvironment'
482
482
  @winrt_mixinmethod
483
- def NotifySettingChanged(self: win32more.Microsoft.UI.Content.IContentSiteEnvironment, setting: WinRT_String) -> Void: ...
483
+ def NotifySettingChanged(self: win32more.Microsoft.UI.Content.IContentSiteEnvironment, setting: hstr) -> Void: ...
484
484
  @winrt_mixinmethod
485
485
  def get_DisplayId(self: win32more.Microsoft.UI.Content.IContentSiteEnvironment) -> win32more.Microsoft.UI.DisplayId: ...
486
486
  @winrt_mixinmethod
@@ -635,8 +635,8 @@ class DesktopAttachedSiteBridge(ComPtr):
635
635
  ProcessesPointerInput = property(get_ProcessesPointerInput, put_ProcessesPointerInput)
636
636
  SiteView = property(get_SiteView, None)
637
637
  WindowId = property(get_WindowId, None)
638
- Closed = event()
639
- FrameworkClosed = event()
638
+ Closed = event(add_Closed, remove_Closed)
639
+ FrameworkClosed = event(add_FrameworkClosed, remove_FrameworkClosed)
640
640
  class DesktopChildSiteBridge(ComPtr):
641
641
  extends: win32more.Microsoft.UI.Content.DesktopSiteBridge
642
642
  default_interface: win32more.Microsoft.UI.Content.IDesktopChildSiteBridge
@@ -743,12 +743,12 @@ class DesktopPopupSiteBridge(ComPtr):
743
743
  Parent = property(get_Parent, None)
744
744
  SiteView = property(get_SiteView, None)
745
745
  WindowId = property(get_WindowId, None)
746
- NextSiblingAutomationProviderRequested = event()
747
- ParentAutomationProviderRequested = event()
748
- PreviousSiblingAutomationProviderRequested = event()
749
- Closed = event()
750
- FrameworkClosed = event()
751
- FragmentRootAutomationProviderRequested = event()
746
+ Closed = event(add_Closed, remove_Closed)
747
+ FragmentRootAutomationProviderRequested = event(add_FragmentRootAutomationProviderRequested, remove_FragmentRootAutomationProviderRequested)
748
+ FrameworkClosed = event(add_FrameworkClosed, remove_FrameworkClosed)
749
+ NextSiblingAutomationProviderRequested = event(add_NextSiblingAutomationProviderRequested, remove_NextSiblingAutomationProviderRequested)
750
+ ParentAutomationProviderRequested = event(add_ParentAutomationProviderRequested, remove_ParentAutomationProviderRequested)
751
+ PreviousSiblingAutomationProviderRequested = event(add_PreviousSiblingAutomationProviderRequested, remove_PreviousSiblingAutomationProviderRequested)
752
752
  class DesktopSiteBridge(ComPtr):
753
753
  extends: IInspectable
754
754
  implements: Tuple[ContextManagerProtocol]
@@ -809,8 +809,8 @@ class DesktopSiteBridge(ComPtr):
809
809
  LayoutDirectionOverride = property(get_LayoutDirectionOverride, put_LayoutDirectionOverride)
810
810
  OverrideScale = property(get_OverrideScale, put_OverrideScale)
811
811
  WindowId = property(get_WindowId, None)
812
- Closed = event()
813
- FrameworkClosed = event()
812
+ Closed = event(add_Closed, remove_Closed)
813
+ FrameworkClosed = event(add_FrameworkClosed, remove_FrameworkClosed)
814
814
  class IChildSiteLink(ComPtr):
815
815
  extends: IInspectable
816
816
  _classid_ = 'Microsoft.UI.Content.IChildSiteLink'
@@ -880,7 +880,7 @@ class IContentEnvironmentSettingChangedEventArgs(ComPtr):
880
880
  _classid_ = 'Microsoft.UI.Content.IContentEnvironmentSettingChangedEventArgs'
881
881
  _iid_ = Guid('{76478051-fc80-5eec-a3f3-62606abe06b7}')
882
882
  @winrt_commethod(6)
883
- def get_SettingName(self) -> WinRT_String: ...
883
+ def get_SettingName(self) -> hstr: ...
884
884
  SettingName = property(get_SettingName, None)
885
885
  class IContentEnvironmentStateChangedEventArgs(ComPtr):
886
886
  extends: IInspectable
@@ -970,8 +970,8 @@ class IContentIsland(ComPtr):
970
970
  IsSiteVisible = property(get_IsSiteVisible, None)
971
971
  LayoutDirection = property(get_LayoutDirection, None)
972
972
  RasterizationScale = property(get_RasterizationScale, None)
973
- AutomationProviderRequested = event()
974
- StateChanged = event()
973
+ AutomationProviderRequested = event(add_AutomationProviderRequested, remove_AutomationProviderRequested)
974
+ StateChanged = event(add_StateChanged, remove_StateChanged)
975
975
  class IContentIsland2(ComPtr):
976
976
  extends: IInspectable
977
977
  _classid_ = 'Microsoft.UI.Content.IContentIsland2'
@@ -1045,8 +1045,8 @@ class IContentIslandEnvironment(ComPtr):
1045
1045
  def remove_StateChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
1046
1046
  AppWindowId = property(get_AppWindowId, None)
1047
1047
  DisplayId = property(get_DisplayId, None)
1048
- SettingChanged = event()
1049
- StateChanged = event()
1048
+ SettingChanged = event(add_SettingChanged, remove_SettingChanged)
1049
+ StateChanged = event(add_StateChanged, remove_StateChanged)
1050
1050
  class IContentIslandEnvironment2(ComPtr):
1051
1051
  extends: IInspectable
1052
1052
  _classid_ = 'Microsoft.UI.Content.IContentIslandEnvironment2'
@@ -1186,7 +1186,7 @@ class IContentSite(ComPtr):
1186
1186
  RequestedSize = property(get_RequestedSize, None)
1187
1187
  ShouldApplyRasterizationScale = property(get_ShouldApplyRasterizationScale, put_ShouldApplyRasterizationScale)
1188
1188
  View = property(get_View, None)
1189
- RequestedStateChanged = event()
1189
+ RequestedStateChanged = event(add_RequestedStateChanged, remove_RequestedStateChanged)
1190
1190
  class IContentSite2(ComPtr):
1191
1191
  extends: IInspectable
1192
1192
  _classid_ = 'Microsoft.UI.Content.IContentSite2'
@@ -1237,10 +1237,10 @@ class IContentSiteAutomation(ComPtr):
1237
1237
  def remove_PreviousSiblingAutomationProviderRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
1238
1238
  AutomationOption = property(get_AutomationOption, put_AutomationOption)
1239
1239
  AutomationProvider = property(get_AutomationProvider, None)
1240
- FragmentRootAutomationProviderRequested = event()
1241
- NextSiblingAutomationProviderRequested = event()
1242
- ParentAutomationProviderRequested = event()
1243
- PreviousSiblingAutomationProviderRequested = event()
1240
+ FragmentRootAutomationProviderRequested = event(add_FragmentRootAutomationProviderRequested, remove_FragmentRootAutomationProviderRequested)
1241
+ NextSiblingAutomationProviderRequested = event(add_NextSiblingAutomationProviderRequested, remove_NextSiblingAutomationProviderRequested)
1242
+ ParentAutomationProviderRequested = event(add_ParentAutomationProviderRequested, remove_ParentAutomationProviderRequested)
1243
+ PreviousSiblingAutomationProviderRequested = event(add_PreviousSiblingAutomationProviderRequested, remove_PreviousSiblingAutomationProviderRequested)
1244
1244
  class IContentSiteAutomationProviderRequestedEventArgs(ComPtr):
1245
1245
  extends: IInspectable
1246
1246
  _classid_ = 'Microsoft.UI.Content.IContentSiteAutomationProviderRequestedEventArgs'
@@ -1288,7 +1288,7 @@ class IContentSiteEnvironment(ComPtr):
1288
1288
  @winrt_commethod(10)
1289
1289
  def get_View(self) -> win32more.Microsoft.UI.Content.ContentSiteEnvironmentView: ...
1290
1290
  @winrt_commethod(11)
1291
- def NotifySettingChanged(self, setting: WinRT_String) -> Void: ...
1291
+ def NotifySettingChanged(self, setting: hstr) -> Void: ...
1292
1292
  AppWindowId = property(get_AppWindowId, put_AppWindowId)
1293
1293
  DisplayId = property(get_DisplayId, put_DisplayId)
1294
1294
  View = property(get_View, None)
@@ -1,5 +1,5 @@
1
1
  from __future__ import annotations
2
- from win32more.winrt.prelude import *
2
+ from win32more._prelude import *
3
3
  import win32more.Microsoft.UI.Dispatching
4
4
  import win32more.Windows.Foundation
5
5
  class DispatcherExitDeferral(ComPtr):
@@ -56,10 +56,10 @@ class DispatcherQueue(ComPtr):
56
56
  @winrt_classmethod
57
57
  def GetForCurrentThread(cls: win32more.Microsoft.UI.Dispatching.IDispatcherQueueStatics) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
58
58
  HasThreadAccess = property(get_HasThreadAccess, None)
59
- ShutdownStarting = event()
60
- ShutdownCompleted = event()
61
- FrameworkShutdownStarting = event()
62
- FrameworkShutdownCompleted = event()
59
+ FrameworkShutdownCompleted = event(add_FrameworkShutdownCompleted, remove_FrameworkShutdownCompleted)
60
+ FrameworkShutdownStarting = event(add_FrameworkShutdownStarting, remove_FrameworkShutdownStarting)
61
+ ShutdownCompleted = event(add_ShutdownCompleted, remove_ShutdownCompleted)
62
+ ShutdownStarting = event(add_ShutdownStarting, remove_ShutdownStarting)
63
63
  class DispatcherQueueController(ComPtr):
64
64
  extends: IInspectable
65
65
  default_interface: win32more.Microsoft.UI.Dispatching.IDispatcherQueueController
@@ -115,7 +115,7 @@ class DispatcherQueueTimer(ComPtr):
115
115
  Interval = property(get_Interval, put_Interval)
116
116
  IsRepeating = property(get_IsRepeating, put_IsRepeating)
117
117
  IsRunning = property(get_IsRunning, None)
118
- Tick = event()
118
+ Tick = event(add_Tick, remove_Tick)
119
119
  class DispatcherRunOptions(Enum, UInt32):
120
120
  None_ = 0
121
121
  ContinueOnQuit = 1
@@ -144,8 +144,8 @@ class IDispatcherQueue(ComPtr):
144
144
  def add_ShutdownCompleted(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
145
145
  @winrt_commethod(12)
146
146
  def remove_ShutdownCompleted(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
147
- ShutdownStarting = event()
148
- ShutdownCompleted = event()
147
+ ShutdownCompleted = event(add_ShutdownCompleted, remove_ShutdownCompleted)
148
+ ShutdownStarting = event(add_ShutdownStarting, remove_ShutdownStarting)
149
149
  class IDispatcherQueue2(ComPtr):
150
150
  extends: IInspectable
151
151
  _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueue2'
@@ -173,8 +173,8 @@ class IDispatcherQueue3(ComPtr):
173
173
  def add_FrameworkShutdownCompleted(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
174
174
  @winrt_commethod(13)
175
175
  def remove_FrameworkShutdownCompleted(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
176
- FrameworkShutdownStarting = event()
177
- FrameworkShutdownCompleted = event()
176
+ FrameworkShutdownCompleted = event(add_FrameworkShutdownCompleted, remove_FrameworkShutdownCompleted)
177
+ FrameworkShutdownStarting = event(add_FrameworkShutdownStarting, remove_FrameworkShutdownStarting)
178
178
  class IDispatcherQueueController(ComPtr):
179
179
  extends: IInspectable
180
180
  _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueueController'
@@ -235,7 +235,7 @@ class IDispatcherQueueTimer(ComPtr):
235
235
  Interval = property(get_Interval, put_Interval)
236
236
  IsRepeating = property(get_IsRepeating, put_IsRepeating)
237
237
  IsRunning = property(get_IsRunning, None)
238
- Tick = event()
238
+ Tick = event(add_Tick, remove_Tick)
239
239
 
240
240
 
241
241
  make_ready(__name__)
@@ -1,5 +1,5 @@
1
1
  from __future__ import annotations
2
- from win32more.winrt.prelude import *
2
+ from win32more._prelude import *
3
3
  import win32more.Microsoft.UI.Content
4
4
  import win32more.Microsoft.UI.Input
5
5
  import win32more.Microsoft.UI.Input.DragDrop
@@ -24,7 +24,7 @@ class DragDropManager(ComPtr):
24
24
  @winrt_classmethod
25
25
  def GetForIsland(cls: win32more.Microsoft.UI.Input.DragDrop.IDragDropManagerStatics, content: win32more.Microsoft.UI.Content.ContentIsland) -> win32more.Microsoft.UI.Input.DragDrop.DragDropManager: ...
26
26
  AreConcurrentOperationsEnabled = property(get_AreConcurrentOperationsEnabled, put_AreConcurrentOperationsEnabled)
27
- TargetRequested = event()
27
+ TargetRequested = event(add_TargetRequested, remove_TargetRequested)
28
28
  class DragDropModifiers(Enum, UInt32):
29
29
  None_ = 0
30
30
  Shift = 1
@@ -94,7 +94,7 @@ class DragUIOverride(ComPtr):
94
94
  @winrt_mixinmethod
95
95
  def get_IsGlyphVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride) -> Boolean: ...
96
96
  @winrt_mixinmethod
97
- def put_Caption(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, value: WinRT_String) -> Void: ...
97
+ def put_Caption(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, value: hstr) -> Void: ...
98
98
  @winrt_mixinmethod
99
99
  def get_IsCaptionVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride) -> Boolean: ...
100
100
  @winrt_mixinmethod
@@ -104,7 +104,7 @@ class DragUIOverride(ComPtr):
104
104
  @winrt_mixinmethod
105
105
  def put_IsContentVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, value: Boolean) -> Void: ...
106
106
  @winrt_mixinmethod
107
- def get_Caption(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride) -> WinRT_String: ...
107
+ def get_Caption(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride) -> hstr: ...
108
108
  @winrt_mixinmethod
109
109
  def put_IsGlyphVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, value: Boolean) -> Void: ...
110
110
  @winrt_mixinmethod
@@ -136,7 +136,7 @@ class IDragDropManager(ComPtr):
136
136
  @winrt_commethod(9)
137
137
  def remove_TargetRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
138
138
  AreConcurrentOperationsEnabled = property(get_AreConcurrentOperationsEnabled, put_AreConcurrentOperationsEnabled)
139
- TargetRequested = event()
139
+ TargetRequested = event(add_TargetRequested, remove_TargetRequested)
140
140
  class IDragDropManagerStatics(ComPtr):
141
141
  extends: IInspectable
142
142
  _classid_ = 'Microsoft.UI.Input.DragDrop.IDragDropManagerStatics'
@@ -187,9 +187,9 @@ class IDragUIOverride(ComPtr):
187
187
  _classid_ = 'Microsoft.UI.Input.DragDrop.IDragUIOverride'
188
188
  _iid_ = Guid('{8432fbac-a17f-5a95-8f56-fb432280b54d}')
189
189
  @winrt_commethod(6)
190
- def get_Caption(self) -> WinRT_String: ...
190
+ def get_Caption(self) -> hstr: ...
191
191
  @winrt_commethod(7)
192
- def put_Caption(self, value: WinRT_String) -> Void: ...
192
+ def put_Caption(self, value: hstr) -> Void: ...
193
193
  @winrt_commethod(8)
194
194
  def get_IsCaptionVisible(self) -> Boolean: ...
195
195
  @winrt_commethod(9)
@@ -1,5 +1,5 @@
1
1
  from __future__ import annotations
2
- from win32more.winrt.prelude import *
2
+ from win32more._prelude import *
3
3
  import win32more.Microsoft.UI.Input
4
4
  import win32more.Microsoft.UI.Input.Interop
5
5
  import win32more.Windows.Devices.Input