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.Xaml
4
4
  import win32more.Microsoft.UI.Xaml.Media
5
5
  import win32more.Microsoft.UI.Xaml.Media.Imaging
@@ -105,9 +105,9 @@ class BitmapImage(ComPtr, metaclass=_BitmapImage_Meta_):
105
105
  _BitmapImage_Meta_.IsAnimatedBitmapProperty = property(get_IsAnimatedBitmapProperty, None)
106
106
  _BitmapImage_Meta_.IsPlayingProperty = property(get_IsPlayingProperty, None)
107
107
  _BitmapImage_Meta_.UriSourceProperty = property(get_UriSourceProperty, None)
108
- DownloadProgress = event()
109
- ImageOpened = event()
110
- ImageFailed = event()
108
+ DownloadProgress = event(add_DownloadProgress, remove_DownloadProgress)
109
+ ImageFailed = event(add_ImageFailed, remove_ImageFailed)
110
+ ImageOpened = event(add_ImageOpened, remove_ImageOpened)
111
111
  class _BitmapSource_Meta_(ComPtr.__class__):
112
112
  pass
113
113
  class BitmapSource(ComPtr, metaclass=_BitmapSource_Meta_):
@@ -212,9 +212,9 @@ class IBitmapImage(ComPtr):
212
212
  IsAnimatedBitmap = property(get_IsAnimatedBitmap, None)
213
213
  IsPlaying = property(get_IsPlaying, None)
214
214
  UriSource = property(get_UriSource, put_UriSource)
215
- DownloadProgress = event()
216
- ImageOpened = event()
217
- ImageFailed = event()
215
+ DownloadProgress = event(add_DownloadProgress, remove_DownloadProgress)
216
+ ImageFailed = event(add_ImageFailed, remove_ImageFailed)
217
+ ImageOpened = event(add_ImageOpened, remove_ImageOpened)
218
218
  class IBitmapImageFactory(ComPtr):
219
219
  extends: IInspectable
220
220
  _classid_ = 'Microsoft.UI.Xaml.Media.Imaging.IBitmapImageFactory'
@@ -361,8 +361,8 @@ class ISvgImageSource(ComPtr):
361
361
  RasterizePixelHeight = property(get_RasterizePixelHeight, put_RasterizePixelHeight)
362
362
  RasterizePixelWidth = property(get_RasterizePixelWidth, put_RasterizePixelWidth)
363
363
  UriSource = property(get_UriSource, put_UriSource)
364
- Opened = event()
365
- OpenFailed = event()
364
+ OpenFailed = event(add_OpenFailed, remove_OpenFailed)
365
+ Opened = event(add_Opened, remove_Opened)
366
366
  class ISvgImageSourceFactory(ComPtr):
367
367
  extends: IInspectable
368
368
  _classid_ = 'Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceFactory'
@@ -559,8 +559,8 @@ class SvgImageSource(ComPtr, metaclass=_SvgImageSource_Meta_):
559
559
  _SvgImageSource_Meta_.RasterizePixelHeightProperty = property(get_RasterizePixelHeightProperty, None)
560
560
  _SvgImageSource_Meta_.RasterizePixelWidthProperty = property(get_RasterizePixelWidthProperty, None)
561
561
  _SvgImageSource_Meta_.UriSourceProperty = property(get_UriSourceProperty, None)
562
- Opened = event()
563
- OpenFailed = event()
562
+ OpenFailed = event(add_OpenFailed, remove_OpenFailed)
563
+ Opened = event(add_Opened, remove_Opened)
564
564
  class SvgImageSourceFailedEventArgs(ComPtr):
565
565
  extends: IInspectable
566
566
  default_interface: win32more.Microsoft.UI.Xaml.Media.Imaging.ISvgImageSourceFailedEventArgs
@@ -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.Xaml
4
4
  import win32more.Microsoft.UI.Xaml.Media.Media3D
5
5
  class _CompositeTransform3D_Meta_(ComPtr.__class__):
@@ -281,6 +281,7 @@ class ITransform3DFactory(ComPtr):
281
281
  @winrt_commethod(6)
282
282
  def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.Media3D.Transform3D: ...
283
283
  class Matrix3D(Structure):
284
+ _name_ = 'Microsoft.UI.Xaml.Media.Media3D.Matrix3D'
284
285
  M11: Double
285
286
  M12: Double
286
287
  M13: Double
@@ -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.Composition
4
4
  import win32more.Microsoft.UI.Composition.SystemBackdrops
5
5
  import win32more.Microsoft.UI.Xaml
@@ -208,9 +208,9 @@ class Brush(ComPtr, metaclass=_Brush_Meta_):
208
208
  @winrt_mixinmethod
209
209
  def put_RelativeTransform(self: win32more.Microsoft.UI.Xaml.Media.IBrush, value: win32more.Microsoft.UI.Xaml.Media.Transform) -> Void: ...
210
210
  @winrt_mixinmethod
211
- def PopulatePropertyInfoOverride(self: win32more.Microsoft.UI.Xaml.Media.IBrushOverrides, propertyName: WinRT_String, animationPropertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
211
+ def PopulatePropertyInfoOverride(self: win32more.Microsoft.UI.Xaml.Media.IBrushOverrides, propertyName: hstr, animationPropertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
212
212
  @winrt_mixinmethod
213
- def PopulatePropertyInfo(self: win32more.Microsoft.UI.Composition.IAnimationObject, propertyName: WinRT_String, propertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
213
+ def PopulatePropertyInfo(self: win32more.Microsoft.UI.Composition.IAnimationObject, propertyName: hstr, propertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
214
214
  @winrt_classmethod
215
215
  def get_OpacityProperty(cls: win32more.Microsoft.UI.Xaml.Media.IBrushStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
216
216
  @winrt_classmethod
@@ -370,7 +370,9 @@ class CompositeTransform(ComPtr, metaclass=_CompositeTransform_Meta_):
370
370
  _CompositeTransform_Meta_.SkewYProperty = property(get_SkewYProperty, None)
371
371
  _CompositeTransform_Meta_.TranslateXProperty = property(get_TranslateXProperty, None)
372
372
  _CompositeTransform_Meta_.TranslateYProperty = property(get_TranslateYProperty, None)
373
- class CompositionTarget(ComPtr):
373
+ class _CompositionTarget_Meta_(ComPtr.__class__):
374
+ pass
375
+ class CompositionTarget(ComPtr, metaclass=_CompositionTarget_Meta_):
374
376
  extends: IInspectable
375
377
  default_interface: win32more.Microsoft.UI.Xaml.Media.ICompositionTarget
376
378
  _classid_ = 'Microsoft.UI.Xaml.Media.CompositionTarget'
@@ -388,6 +390,9 @@ class CompositionTarget(ComPtr):
388
390
  def remove_SurfaceContentsLost(cls: win32more.Microsoft.UI.Xaml.Media.ICompositionTargetStatics, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
389
391
  @winrt_classmethod
390
392
  def GetCompositorForCurrentThread(cls: win32more.Microsoft.UI.Xaml.Media.ICompositionTargetStatics) -> win32more.Microsoft.UI.Composition.Compositor: ...
393
+ _CompositionTarget_Meta_.Rendered = event(add_Rendered, remove_Rendered)
394
+ _CompositionTarget_Meta_.Rendering = event(add_Rendering, remove_Rendering)
395
+ _CompositionTarget_Meta_.SurfaceContentsLost = event(add_SurfaceContentsLost, remove_SurfaceContentsLost)
391
396
  class DesktopAcrylicBackdrop(ComPtr):
392
397
  extends: win32more.Microsoft.UI.Xaml.Media.SystemBackdrop
393
398
  default_interface: win32more.Microsoft.UI.Xaml.Media.IDesktopAcrylicBackdrop
@@ -506,9 +511,9 @@ class FontFamily(ComPtr, metaclass=_FontFamily_Meta_):
506
511
  else:
507
512
  raise ValueError('no matched constructor')
508
513
  @winrt_factorymethod
509
- def CreateInstanceWithName(cls: win32more.Microsoft.UI.Xaml.Media.IFontFamilyFactory, familyName: WinRT_String, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.FontFamily: ...
514
+ def CreateInstanceWithName(cls: win32more.Microsoft.UI.Xaml.Media.IFontFamilyFactory, familyName: hstr, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.FontFamily: ...
510
515
  @winrt_mixinmethod
511
- def get_Source(self: win32more.Microsoft.UI.Xaml.Media.IFontFamily) -> WinRT_String: ...
516
+ def get_Source(self: win32more.Microsoft.UI.Xaml.Media.IFontFamily) -> hstr: ...
512
517
  @winrt_classmethod
513
518
  def get_XamlAutoFontFamily(cls: win32more.Microsoft.UI.Xaml.Media.IFontFamilyStatics) -> win32more.Microsoft.UI.Xaml.Media.FontFamily: ...
514
519
  Source = property(get_Source, None)
@@ -936,7 +941,7 @@ class IBrushOverrides(ComPtr):
936
941
  _classid_ = 'Microsoft.UI.Xaml.Media.IBrushOverrides'
937
942
  _iid_ = Guid('{b6b08394-bacf-53db-9ac7-be1c693e3513}')
938
943
  @winrt_commethod(6)
939
- def PopulatePropertyInfoOverride(self, propertyName: WinRT_String, animationPropertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
944
+ def PopulatePropertyInfoOverride(self, propertyName: hstr, animationPropertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
940
945
  class IBrushStatics(ComPtr):
941
946
  extends: IInspectable
942
947
  _classid_ = 'Microsoft.UI.Xaml.Media.IBrushStatics'
@@ -1062,9 +1067,9 @@ class ICompositionTargetStatics(ComPtr):
1062
1067
  def remove_SurfaceContentsLost(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
1063
1068
  @winrt_commethod(12)
1064
1069
  def GetCompositorForCurrentThread(self) -> win32more.Microsoft.UI.Composition.Compositor: ...
1065
- Rendering = event()
1066
- Rendered = event()
1067
- SurfaceContentsLost = event()
1070
+ Rendered = event(add_Rendered, remove_Rendered)
1071
+ Rendering = event(add_Rendering, remove_Rendering)
1072
+ SurfaceContentsLost = event(add_SurfaceContentsLost, remove_SurfaceContentsLost)
1068
1073
  class IDesktopAcrylicBackdrop(ComPtr):
1069
1074
  extends: IInspectable
1070
1075
  _classid_ = 'Microsoft.UI.Xaml.Media.IDesktopAcrylicBackdrop'
@@ -1112,14 +1117,14 @@ class IFontFamily(ComPtr):
1112
1117
  _classid_ = 'Microsoft.UI.Xaml.Media.IFontFamily'
1113
1118
  _iid_ = Guid('{18fa5bc1-7294-527c-bb02-b213e0b3a2a3}')
1114
1119
  @winrt_commethod(6)
1115
- def get_Source(self) -> WinRT_String: ...
1120
+ def get_Source(self) -> hstr: ...
1116
1121
  Source = property(get_Source, None)
1117
1122
  class IFontFamilyFactory(ComPtr):
1118
1123
  extends: IInspectable
1119
1124
  _classid_ = 'Microsoft.UI.Xaml.Media.IFontFamilyFactory'
1120
1125
  _iid_ = Guid('{61b88a77-d0f9-5e9e-8c28-eda01fede22e}')
1121
1126
  @winrt_commethod(6)
1122
- def CreateInstanceWithName(self, familyName: WinRT_String, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.FontFamily: ...
1127
+ def CreateInstanceWithName(self, familyName: hstr, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Media.FontFamily: ...
1123
1128
  class IFontFamilyStatics(ComPtr):
1124
1129
  extends: IInspectable
1125
1130
  _classid_ = 'Microsoft.UI.Xaml.Media.IFontFamilyStatics'
@@ -1297,8 +1302,8 @@ class IImageBrush(ComPtr):
1297
1302
  @winrt_commethod(11)
1298
1303
  def remove_ImageOpened(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
1299
1304
  ImageSource = property(get_ImageSource, put_ImageSource)
1300
- ImageFailed = event()
1301
- ImageOpened = event()
1305
+ ImageFailed = event(add_ImageFailed, remove_ImageFailed)
1306
+ ImageOpened = event(add_ImageOpened, remove_ImageOpened)
1302
1307
  class IImageBrushStatics(ComPtr):
1303
1308
  extends: IInspectable
1304
1309
  _classid_ = 'Microsoft.UI.Xaml.Media.IImageBrushStatics'
@@ -1408,7 +1413,7 @@ class ILoadedImageSurface(ComPtr):
1408
1413
  DecodedPhysicalSize = property(get_DecodedPhysicalSize, None)
1409
1414
  DecodedSize = property(get_DecodedSize, None)
1410
1415
  NaturalSize = property(get_NaturalSize, None)
1411
- LoadCompleted = event()
1416
+ LoadCompleted = event(add_LoadCompleted, remove_LoadCompleted)
1412
1417
  class ILoadedImageSurfaceStatics(ComPtr):
1413
1418
  extends: IInspectable
1414
1419
  _classid_ = 'Microsoft.UI.Xaml.Media.ILoadedImageSurfaceStatics'
@@ -2215,7 +2220,7 @@ class IXamlLightOverrides(ComPtr):
2215
2220
  _classid_ = 'Microsoft.UI.Xaml.Media.IXamlLightOverrides'
2216
2221
  _iid_ = Guid('{696d4f30-92ee-540d-ad70-33d4489514d0}')
2217
2222
  @winrt_commethod(6)
2218
- def GetId(self) -> WinRT_String: ...
2223
+ def GetId(self) -> hstr: ...
2219
2224
  @winrt_commethod(7)
2220
2225
  def OnConnected(self, newElement: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
2221
2226
  @winrt_commethod(8)
@@ -2234,13 +2239,13 @@ class IXamlLightStatics(ComPtr):
2234
2239
  _classid_ = 'Microsoft.UI.Xaml.Media.IXamlLightStatics'
2235
2240
  _iid_ = Guid('{a2d8ea26-26ff-5374-b1dd-f232d5604f6a}')
2236
2241
  @winrt_commethod(6)
2237
- def AddTargetElement(self, lightId: WinRT_String, element: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
2242
+ def AddTargetElement(self, lightId: hstr, element: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
2238
2243
  @winrt_commethod(7)
2239
- def RemoveTargetElement(self, lightId: WinRT_String, element: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
2244
+ def RemoveTargetElement(self, lightId: hstr, element: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
2240
2245
  @winrt_commethod(8)
2241
- def AddTargetBrush(self, lightId: WinRT_String, brush: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
2246
+ def AddTargetBrush(self, lightId: hstr, brush: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
2242
2247
  @winrt_commethod(9)
2243
- def RemoveTargetBrush(self, lightId: WinRT_String, brush: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
2248
+ def RemoveTargetBrush(self, lightId: hstr, brush: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
2244
2249
  class _ImageBrush_Meta_(ComPtr.__class__):
2245
2250
  pass
2246
2251
  class ImageBrush(ComPtr, metaclass=_ImageBrush_Meta_):
@@ -2272,8 +2277,8 @@ class ImageBrush(ComPtr, metaclass=_ImageBrush_Meta_):
2272
2277
  def get_ImageSourceProperty(cls: win32more.Microsoft.UI.Xaml.Media.IImageBrushStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
2273
2278
  ImageSource = property(get_ImageSource, put_ImageSource)
2274
2279
  _ImageBrush_Meta_.ImageSourceProperty = property(get_ImageSourceProperty, None)
2275
- ImageFailed = event()
2276
- ImageOpened = event()
2280
+ ImageFailed = event(add_ImageFailed, remove_ImageFailed)
2281
+ ImageOpened = event(add_ImageOpened, remove_ImageOpened)
2277
2282
  class ImageSource(ComPtr):
2278
2283
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
2279
2284
  default_interface: win32more.Microsoft.UI.Xaml.Media.IImageSource
@@ -2407,8 +2412,9 @@ class LoadedImageSurface(ComPtr):
2407
2412
  DecodedPhysicalSize = property(get_DecodedPhysicalSize, None)
2408
2413
  DecodedSize = property(get_DecodedSize, None)
2409
2414
  NaturalSize = property(get_NaturalSize, None)
2410
- LoadCompleted = event()
2415
+ LoadCompleted = event(add_LoadCompleted, remove_LoadCompleted)
2411
2416
  class Matrix(Structure):
2417
+ _name_ = 'Microsoft.UI.Xaml.Media.Matrix'
2412
2418
  M11: Double
2413
2419
  M12: Double
2414
2420
  M21: Double
@@ -3491,19 +3497,19 @@ class XamlLight(ComPtr):
3491
3497
  @winrt_mixinmethod
3492
3498
  def put_CompositionLight(self: win32more.Microsoft.UI.Xaml.Media.IXamlLightProtected, value: win32more.Microsoft.UI.Composition.CompositionLight) -> Void: ...
3493
3499
  @winrt_mixinmethod
3494
- def GetId(self: win32more.Microsoft.UI.Xaml.Media.IXamlLightOverrides) -> WinRT_String: ...
3500
+ def GetId(self: win32more.Microsoft.UI.Xaml.Media.IXamlLightOverrides) -> hstr: ...
3495
3501
  @winrt_mixinmethod
3496
3502
  def OnConnected(self: win32more.Microsoft.UI.Xaml.Media.IXamlLightOverrides, newElement: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
3497
3503
  @winrt_mixinmethod
3498
3504
  def OnDisconnected(self: win32more.Microsoft.UI.Xaml.Media.IXamlLightOverrides, oldElement: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
3499
3505
  @winrt_classmethod
3500
- def AddTargetElement(cls: win32more.Microsoft.UI.Xaml.Media.IXamlLightStatics, lightId: WinRT_String, element: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
3506
+ def AddTargetElement(cls: win32more.Microsoft.UI.Xaml.Media.IXamlLightStatics, lightId: hstr, element: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
3501
3507
  @winrt_classmethod
3502
- def RemoveTargetElement(cls: win32more.Microsoft.UI.Xaml.Media.IXamlLightStatics, lightId: WinRT_String, element: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
3508
+ def RemoveTargetElement(cls: win32more.Microsoft.UI.Xaml.Media.IXamlLightStatics, lightId: hstr, element: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
3503
3509
  @winrt_classmethod
3504
- def AddTargetBrush(cls: win32more.Microsoft.UI.Xaml.Media.IXamlLightStatics, lightId: WinRT_String, brush: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
3510
+ def AddTargetBrush(cls: win32more.Microsoft.UI.Xaml.Media.IXamlLightStatics, lightId: hstr, brush: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
3505
3511
  @winrt_classmethod
3506
- def RemoveTargetBrush(cls: win32more.Microsoft.UI.Xaml.Media.IXamlLightStatics, lightId: WinRT_String, brush: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
3512
+ def RemoveTargetBrush(cls: win32more.Microsoft.UI.Xaml.Media.IXamlLightStatics, lightId: hstr, brush: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
3507
3513
  CompositionLight = property(get_CompositionLight, put_CompositionLight)
3508
3514
 
3509
3515
 
@@ -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.Xaml
4
4
  import win32more.Microsoft.UI.Xaml.Media.Animation
5
5
  import win32more.Microsoft.UI.Xaml.Navigation
@@ -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.Xaml
4
4
  import win32more.Microsoft.UI.Xaml.Printing
5
5
  import win32more.Windows.Foundation
@@ -99,9 +99,9 @@ class IPrintDocument(ComPtr):
99
99
  @winrt_commethod(17)
100
100
  def InvalidatePreview(self) -> Void: ...
101
101
  DocumentSource = property(get_DocumentSource, None)
102
- Paginate = event()
103
- GetPreviewPage = event()
104
- AddPages = event()
102
+ AddPages = event(add_AddPages, remove_AddPages)
103
+ GetPreviewPage = event(add_GetPreviewPage, remove_GetPreviewPage)
104
+ Paginate = event(add_Paginate, remove_Paginate)
105
105
  class IPrintDocumentFactory(ComPtr):
106
106
  extends: IInspectable
107
107
  _classid_ = 'Microsoft.UI.Xaml.Printing.IPrintDocumentFactory'
@@ -185,9 +185,9 @@ class PrintDocument(ComPtr, metaclass=_PrintDocument_Meta_):
185
185
  def get_DocumentSourceProperty(cls: win32more.Microsoft.UI.Xaml.Printing.IPrintDocumentStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
186
186
  DocumentSource = property(get_DocumentSource, None)
187
187
  _PrintDocument_Meta_.DocumentSourceProperty = property(get_DocumentSourceProperty, None)
188
- Paginate = event()
189
- GetPreviewPage = event()
190
- AddPages = event()
188
+ AddPages = event(add_AddPages, remove_AddPages)
189
+ GetPreviewPage = event(add_GetPreviewPage, remove_GetPreviewPage)
190
+ Paginate = event(add_Paginate, remove_Paginate)
191
191
 
192
192
 
193
193
  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.Xaml.Resources
4
4
  class _CustomXamlResourceLoader_Meta_(ComPtr.__class__):
5
5
  pass
@@ -17,7 +17,7 @@ class CustomXamlResourceLoader(ComPtr, metaclass=_CustomXamlResourceLoader_Meta_
17
17
  @winrt_factorymethod
18
18
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader: ...
19
19
  @winrt_mixinmethod
20
- def GetResource(self: win32more.Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderOverrides, resourceId: WinRT_String, objectType: WinRT_String, propertyName: WinRT_String, propertyType: WinRT_String) -> IInspectable: ...
20
+ def GetResource(self: win32more.Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderOverrides, resourceId: hstr, objectType: hstr, propertyName: hstr, propertyType: hstr) -> IInspectable: ...
21
21
  @winrt_classmethod
22
22
  def get_Current(cls: win32more.Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderStatics) -> win32more.Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader: ...
23
23
  @winrt_classmethod
@@ -38,7 +38,7 @@ class ICustomXamlResourceLoaderOverrides(ComPtr):
38
38
  _classid_ = 'Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderOverrides'
39
39
  _iid_ = Guid('{84bb504c-6730-586a-bd04-9198264b2dc7}')
40
40
  @winrt_commethod(6)
41
- def GetResource(self, resourceId: WinRT_String, objectType: WinRT_String, propertyName: WinRT_String, propertyType: WinRT_String) -> IInspectable: ...
41
+ def GetResource(self, resourceId: hstr, objectType: hstr, propertyName: hstr, propertyType: hstr) -> IInspectable: ...
42
42
  class ICustomXamlResourceLoaderStatics(ComPtr):
43
43
  extends: IInspectable
44
44
  _classid_ = 'Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderStatics'
@@ -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.Composition
4
4
  import win32more.Microsoft.UI.Xaml
5
5
  import win32more.Microsoft.UI.Xaml.Media
@@ -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.Xaml.Markup
4
4
  import win32more.Microsoft.UI.Xaml.XamlTypeInfo
5
5
  import win32more.Windows.UI.Xaml.Interop
@@ -29,7 +29,7 @@ class XamlControlsXamlMetaDataProvider(ComPtr):
29
29
  @winrt_mixinmethod
30
30
  def GetXamlType(self: win32more.Microsoft.UI.Xaml.Markup.IXamlMetadataProvider, type: win32more.Windows.UI.Xaml.Interop.TypeName) -> win32more.Microsoft.UI.Xaml.Markup.IXamlType: ...
31
31
  @winrt_mixinmethod
32
- def GetXamlTypeByFullName(self: win32more.Microsoft.UI.Xaml.Markup.IXamlMetadataProvider, fullName: WinRT_String) -> win32more.Microsoft.UI.Xaml.Markup.IXamlType: ...
32
+ def GetXamlTypeByFullName(self: win32more.Microsoft.UI.Xaml.Markup.IXamlMetadataProvider, fullName: hstr) -> win32more.Microsoft.UI.Xaml.Markup.IXamlType: ...
33
33
  @winrt_mixinmethod
34
34
  def GetXmlnsDefinitions(self: win32more.Microsoft.UI.Xaml.Markup.IXamlMetadataProvider) -> ReceiveArray[win32more.Microsoft.UI.Xaml.Markup.XmlnsDefinition]: ...
35
35
  @winrt_classmethod