winrt-Windows.Storage 2.2.0__cp313-cp313-win_amd64.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.
@@ -0,0 +1,1036 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.storage.fileproperties as windows_storage_fileproperties
15
+ import winrt.windows.storage.provider as windows_storage_provider
16
+ import winrt.windows.storage.search as windows_storage_search
17
+ import winrt.windows.storage.streams as windows_storage_streams
18
+ import winrt.windows.system as windows_system
19
+
20
+ from winrt.windows.storage import ApplicationDataCreateDisposition, ApplicationDataLocality, CreationCollisionOption, FileAccessMode, FileAttributes, KnownFolderId, KnownFoldersAccessStatus, KnownLibraryId, NameCollisionOption, StorageDeleteOption, StorageItemTypes, StorageLibraryChangeType, StorageOpenOptions, StreamedFileFailureMode
21
+ from winrt.windows.storage import ApplicationDataSetVersionHandler, StreamedFileDataRequestedHandler
22
+
23
+ Self = typing.TypeVar('Self')
24
+
25
+ @typing.final
26
+ class AppDataPaths_Static(type):
27
+ def get_default(cls) -> typing.Optional[AppDataPaths]: ...
28
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[AppDataPaths]: ...
29
+
30
+ @typing.final
31
+ class AppDataPaths(winrt.system.Object, metaclass=AppDataPaths_Static):
32
+ @staticmethod
33
+ def _from(obj: winrt.system.Object, /) -> AppDataPaths: ...
34
+ @_property
35
+ def cookies(self) -> str: ...
36
+ @_property
37
+ def desktop(self) -> str: ...
38
+ @_property
39
+ def documents(self) -> str: ...
40
+ @_property
41
+ def favorites(self) -> str: ...
42
+ @_property
43
+ def history(self) -> str: ...
44
+ @_property
45
+ def internet_cache(self) -> str: ...
46
+ @_property
47
+ def local_app_data(self) -> str: ...
48
+ @_property
49
+ def program_data(self) -> str: ...
50
+ @_property
51
+ def roaming_app_data(self) -> str: ...
52
+
53
+ @typing.final
54
+ class ApplicationData_Static(type):
55
+ def get_for_user_async(cls, user: typing.Optional[windows_system.User], /) -> windows_foundation.IAsyncOperation[ApplicationData]: ...
56
+ @_property
57
+ def current(cls) -> typing.Optional[ApplicationData]: ...
58
+
59
+ @typing.final
60
+ class ApplicationData(winrt.system.Object, metaclass=ApplicationData_Static):
61
+ def __enter__(self: Self) -> Self: ...
62
+ def __exit__(self, *args) -> None: ...
63
+ @staticmethod
64
+ def _from(obj: winrt.system.Object, /) -> ApplicationData: ...
65
+ @typing.overload
66
+ def clear_async(self) -> windows_foundation.IAsyncAction: ...
67
+ @typing.overload
68
+ def clear_async(self, locality: ApplicationDataLocality, /) -> windows_foundation.IAsyncAction: ...
69
+ def clear_publisher_cache_folder_async(self, folder_name: str, /) -> windows_foundation.IAsyncAction: ...
70
+ def close(self) -> None: ...
71
+ def get_publisher_cache_folder(self, folder_name: str, /) -> typing.Optional[StorageFolder]: ...
72
+ def set_version_async(self, desired_version: winrt.system.UInt32, handler: typing.Optional[ApplicationDataSetVersionHandler], /) -> windows_foundation.IAsyncAction: ...
73
+ def signal_data_changed(self) -> None: ...
74
+ def add_data_changed(self, handler: windows_foundation.TypedEventHandler[ApplicationData, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
75
+ def remove_data_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
76
+ @_property
77
+ def local_folder(self) -> typing.Optional[StorageFolder]: ...
78
+ @_property
79
+ def local_settings(self) -> typing.Optional[ApplicationDataContainer]: ...
80
+ @_property
81
+ def roaming_folder(self) -> typing.Optional[StorageFolder]: ...
82
+ @_property
83
+ def roaming_settings(self) -> typing.Optional[ApplicationDataContainer]: ...
84
+ @_property
85
+ def roaming_storage_quota(self) -> winrt.system.UInt64: ...
86
+ @_property
87
+ def temporary_folder(self) -> typing.Optional[StorageFolder]: ...
88
+ @_property
89
+ def version(self) -> winrt.system.UInt32: ...
90
+ @_property
91
+ def local_cache_folder(self) -> typing.Optional[StorageFolder]: ...
92
+ @_property
93
+ def shared_local_folder(self) -> typing.Optional[StorageFolder]: ...
94
+
95
+ @typing.final
96
+ class ApplicationDataCompositeValue(winrt.system.Object, winrt._winrt.MutableMapping[str, winrt.system.Object]):
97
+ def __len__(self) -> int: ...
98
+ def __iter__(self) -> typing.Iterator[str]: ...
99
+ def __contains__(self, key: object) -> bool: ...
100
+ def __getitem__(self, key: str) -> winrt.system.Object: ...
101
+ def __setitem__(self, key: str, value: winrt.system.Object) -> None: ...
102
+ def __delitem__(self, key: str) -> None: ...
103
+ @staticmethod
104
+ def _from(obj: winrt.system.Object, /) -> ApplicationDataCompositeValue: ...
105
+ def __new__(cls: typing.Type[ApplicationDataCompositeValue]) -> ApplicationDataCompositeValue: ...
106
+ def clear(self) -> None: ...
107
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]]: ...
108
+ def get_view(self) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
109
+ def has_key(self, key: str, /) -> bool: ...
110
+ def insert(self, key: str, value: typing.Optional[winrt.system.Object], /) -> bool: ...
111
+ def lookup(self, key: str, /) -> typing.Optional[winrt.system.Object]: ...
112
+ def remove(self, key: str, /) -> None: ...
113
+ def add_map_changed(self, vhnd: windows_foundation_collections.MapChangedEventHandler[str, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
114
+ def remove_map_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
115
+ @_property
116
+ def size(self) -> winrt.system.UInt32: ...
117
+
118
+ @typing.final
119
+ class ApplicationDataContainer(winrt.system.Object):
120
+ def __enter__(self: Self) -> Self: ...
121
+ def __exit__(self, *args) -> None: ...
122
+ @staticmethod
123
+ def _from(obj: winrt.system.Object, /) -> ApplicationDataContainer: ...
124
+ def close(self) -> None: ...
125
+ def create_container(self, name: str, disposition: ApplicationDataCreateDisposition, /) -> typing.Optional[ApplicationDataContainer]: ...
126
+ def delete_container(self, name: str, /) -> None: ...
127
+ @_property
128
+ def containers(self) -> typing.Optional[windows_foundation_collections.IMapView[str, ApplicationDataContainer]]: ...
129
+ @_property
130
+ def locality(self) -> ApplicationDataLocality: ...
131
+ @_property
132
+ def name(self) -> str: ...
133
+ @_property
134
+ def values(self) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
135
+
136
+ @typing.final
137
+ class ApplicationDataContainerSettings(winrt.system.Object, winrt._winrt.MutableMapping[str, winrt.system.Object]):
138
+ def __len__(self) -> int: ...
139
+ def __iter__(self) -> typing.Iterator[str]: ...
140
+ def __contains__(self, key: object) -> bool: ...
141
+ def __getitem__(self, key: str) -> winrt.system.Object: ...
142
+ def __setitem__(self, key: str, value: winrt.system.Object) -> None: ...
143
+ def __delitem__(self, key: str) -> None: ...
144
+ @staticmethod
145
+ def _from(obj: winrt.system.Object, /) -> ApplicationDataContainerSettings: ...
146
+ def clear(self) -> None: ...
147
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]]: ...
148
+ def get_view(self) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
149
+ def has_key(self, key: str, /) -> bool: ...
150
+ def insert(self, key: str, value: typing.Optional[winrt.system.Object], /) -> bool: ...
151
+ def lookup(self, key: str, /) -> typing.Optional[winrt.system.Object]: ...
152
+ def remove(self, key: str, /) -> None: ...
153
+ def add_map_changed(self, vhnd: windows_foundation_collections.MapChangedEventHandler[str, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
154
+ def remove_map_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
155
+ @_property
156
+ def size(self) -> winrt.system.UInt32: ...
157
+
158
+ @typing.final
159
+ class CachedFileManager_Static(type):
160
+ def complete_updates_async(cls, file: typing.Optional[IStorageFile], /) -> windows_foundation.IAsyncOperation[windows_storage_provider.FileUpdateStatus]: ...
161
+ def defer_updates(cls, file: typing.Optional[IStorageFile], /) -> None: ...
162
+
163
+ @typing.final
164
+ class CachedFileManager(winrt.system.Object, metaclass=CachedFileManager_Static):
165
+ pass
166
+
167
+ @typing.final
168
+ class DownloadsFolder_Static(type):
169
+ @typing.overload
170
+ def create_file_async(cls, desired_name: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
171
+ @typing.overload
172
+ def create_file_async(cls, desired_name: str, option: CreationCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
173
+ @typing.overload
174
+ def create_file_for_user_async(cls, user: typing.Optional[windows_system.User], desired_name: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
175
+ @typing.overload
176
+ def create_file_for_user_async(cls, user: typing.Optional[windows_system.User], desired_name: str, option: CreationCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
177
+ @typing.overload
178
+ def create_folder_async(cls, desired_name: str, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
179
+ @typing.overload
180
+ def create_folder_async(cls, desired_name: str, option: CreationCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
181
+ @typing.overload
182
+ def create_folder_for_user_async(cls, user: typing.Optional[windows_system.User], desired_name: str, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
183
+ @typing.overload
184
+ def create_folder_for_user_async(cls, user: typing.Optional[windows_system.User], desired_name: str, option: CreationCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
185
+
186
+ @typing.final
187
+ class DownloadsFolder(winrt.system.Object, metaclass=DownloadsFolder_Static):
188
+ pass
189
+
190
+ @typing.final
191
+ class FileIO_Static(type):
192
+ @typing.overload
193
+ def append_lines_async(cls, file: typing.Optional[IStorageFile], lines: typing.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
194
+ @typing.overload
195
+ def append_lines_async(cls, file: typing.Optional[IStorageFile], lines: typing.Iterable[str], encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
196
+ @typing.overload
197
+ def append_text_async(cls, file: typing.Optional[IStorageFile], contents: str, /) -> windows_foundation.IAsyncAction: ...
198
+ @typing.overload
199
+ def append_text_async(cls, file: typing.Optional[IStorageFile], contents: str, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
200
+ def read_buffer_async(cls, file: typing.Optional[IStorageFile], /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IBuffer]: ...
201
+ @typing.overload
202
+ def read_lines_async(cls, file: typing.Optional[IStorageFile], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVector[str]]: ...
203
+ @typing.overload
204
+ def read_lines_async(cls, file: typing.Optional[IStorageFile], encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVector[str]]: ...
205
+ @typing.overload
206
+ def read_text_async(cls, file: typing.Optional[IStorageFile], /) -> windows_foundation.IAsyncOperation[str]: ...
207
+ @typing.overload
208
+ def read_text_async(cls, file: typing.Optional[IStorageFile], encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncOperation[str]: ...
209
+ def write_buffer_async(cls, file: typing.Optional[IStorageFile], buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncAction: ...
210
+ def write_bytes_async(cls, file: typing.Optional[IStorageFile], buffer: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncAction: ...
211
+ @typing.overload
212
+ def write_lines_async(cls, file: typing.Optional[IStorageFile], lines: typing.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
213
+ @typing.overload
214
+ def write_lines_async(cls, file: typing.Optional[IStorageFile], lines: typing.Iterable[str], encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
215
+ @typing.overload
216
+ def write_text_async(cls, file: typing.Optional[IStorageFile], contents: str, /) -> windows_foundation.IAsyncAction: ...
217
+ @typing.overload
218
+ def write_text_async(cls, file: typing.Optional[IStorageFile], contents: str, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
219
+
220
+ @typing.final
221
+ class FileIO(winrt.system.Object, metaclass=FileIO_Static):
222
+ pass
223
+
224
+ @typing.final
225
+ class KnownFolders_Static(type):
226
+ def get_folder_async(cls, folder_id: KnownFolderId, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
227
+ def get_folder_for_user_async(cls, user: typing.Optional[windows_system.User], folder_id: KnownFolderId, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
228
+ def request_access_async(cls, folder_id: KnownFolderId, /) -> windows_foundation.IAsyncOperation[KnownFoldersAccessStatus]: ...
229
+ def request_access_for_user_async(cls, user: typing.Optional[windows_system.User], folder_id: KnownFolderId, /) -> windows_foundation.IAsyncOperation[KnownFoldersAccessStatus]: ...
230
+ @_property
231
+ def camera_roll(cls) -> typing.Optional[StorageFolder]: ...
232
+ @_property
233
+ def playlists(cls) -> typing.Optional[StorageFolder]: ...
234
+ @_property
235
+ def saved_pictures(cls) -> typing.Optional[StorageFolder]: ...
236
+ @_property
237
+ def documents_library(cls) -> typing.Optional[StorageFolder]: ...
238
+ @_property
239
+ def home_group(cls) -> typing.Optional[StorageFolder]: ...
240
+ @_property
241
+ def media_server_devices(cls) -> typing.Optional[StorageFolder]: ...
242
+ @_property
243
+ def music_library(cls) -> typing.Optional[StorageFolder]: ...
244
+ @_property
245
+ def pictures_library(cls) -> typing.Optional[StorageFolder]: ...
246
+ @_property
247
+ def removable_devices(cls) -> typing.Optional[StorageFolder]: ...
248
+ @_property
249
+ def videos_library(cls) -> typing.Optional[StorageFolder]: ...
250
+ @_property
251
+ def app_captures(cls) -> typing.Optional[StorageFolder]: ...
252
+ @_property
253
+ def objects3_d(cls) -> typing.Optional[StorageFolder]: ...
254
+ @_property
255
+ def recorded_calls(cls) -> typing.Optional[StorageFolder]: ...
256
+
257
+ @typing.final
258
+ class KnownFolders(winrt.system.Object, metaclass=KnownFolders_Static):
259
+ pass
260
+
261
+ @typing.final
262
+ class PathIO_Static(type):
263
+ @typing.overload
264
+ def append_lines_async(cls, absolute_path: str, lines: typing.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
265
+ @typing.overload
266
+ def append_lines_async(cls, absolute_path: str, lines: typing.Iterable[str], encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
267
+ @typing.overload
268
+ def append_text_async(cls, absolute_path: str, contents: str, /) -> windows_foundation.IAsyncAction: ...
269
+ @typing.overload
270
+ def append_text_async(cls, absolute_path: str, contents: str, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
271
+ def read_buffer_async(cls, absolute_path: str, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IBuffer]: ...
272
+ @typing.overload
273
+ def read_lines_async(cls, absolute_path: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVector[str]]: ...
274
+ @typing.overload
275
+ def read_lines_async(cls, absolute_path: str, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVector[str]]: ...
276
+ @typing.overload
277
+ def read_text_async(cls, absolute_path: str, /) -> windows_foundation.IAsyncOperation[str]: ...
278
+ @typing.overload
279
+ def read_text_async(cls, absolute_path: str, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncOperation[str]: ...
280
+ def write_buffer_async(cls, absolute_path: str, buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncAction: ...
281
+ def write_bytes_async(cls, absolute_path: str, buffer: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncAction: ...
282
+ @typing.overload
283
+ def write_lines_async(cls, absolute_path: str, lines: typing.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
284
+ @typing.overload
285
+ def write_lines_async(cls, absolute_path: str, lines: typing.Iterable[str], encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
286
+ @typing.overload
287
+ def write_text_async(cls, absolute_path: str, contents: str, /) -> windows_foundation.IAsyncAction: ...
288
+ @typing.overload
289
+ def write_text_async(cls, absolute_path: str, contents: str, encoding: windows_storage_streams.UnicodeEncoding, /) -> windows_foundation.IAsyncAction: ...
290
+
291
+ @typing.final
292
+ class PathIO(winrt.system.Object, metaclass=PathIO_Static):
293
+ pass
294
+
295
+ @typing.final
296
+ class SetVersionDeferral(winrt.system.Object):
297
+ @staticmethod
298
+ def _from(obj: winrt.system.Object, /) -> SetVersionDeferral: ...
299
+ def complete(self) -> None: ...
300
+
301
+ @typing.final
302
+ class SetVersionRequest(winrt.system.Object):
303
+ @staticmethod
304
+ def _from(obj: winrt.system.Object, /) -> SetVersionRequest: ...
305
+ def get_deferral(self) -> typing.Optional[SetVersionDeferral]: ...
306
+ @_property
307
+ def current_version(self) -> winrt.system.UInt32: ...
308
+ @_property
309
+ def desired_version(self) -> winrt.system.UInt32: ...
310
+
311
+ @typing.final
312
+ class StorageFile_Static(type):
313
+ def create_streamed_file_async(cls, display_name_with_extension: str, data_requested: typing.Optional[StreamedFileDataRequestedHandler], thumbnail: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
314
+ def create_streamed_file_from_uri_async(cls, display_name_with_extension: str, uri: typing.Optional[windows_foundation.Uri], thumbnail: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
315
+ def get_file_from_application_uri_async(cls, uri: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
316
+ def get_file_from_path_async(cls, path: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
317
+ def get_file_from_path_for_user_async(cls, user: typing.Optional[windows_system.User], path: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
318
+ def replace_with_streamed_file_async(cls, file_to_replace: typing.Optional[IStorageFile], data_requested: typing.Optional[StreamedFileDataRequestedHandler], thumbnail: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
319
+ def replace_with_streamed_file_from_uri_async(cls, file_to_replace: typing.Optional[IStorageFile], uri: typing.Optional[windows_foundation.Uri], thumbnail: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
320
+
321
+ @typing.final
322
+ class StorageFile(winrt.system.Object, metaclass=StorageFile_Static):
323
+ @staticmethod
324
+ def _from(obj: winrt.system.Object, /) -> StorageFile: ...
325
+ def copy_and_replace_async(self, file_to_replace: typing.Optional[IStorageFile], /) -> windows_foundation.IAsyncAction: ...
326
+ @typing.overload
327
+ def copy_async(self, destination_folder: typing.Optional[IStorageFolder], /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
328
+ @typing.overload
329
+ def copy_async(self, destination_folder: typing.Optional[IStorageFolder], desired_new_name: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
330
+ @typing.overload
331
+ def copy_async(self, destination_folder: typing.Optional[IStorageFolder], desired_new_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
332
+ @typing.overload
333
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
334
+ @typing.overload
335
+ def delete_async(self, option: StorageDeleteOption, /) -> windows_foundation.IAsyncAction: ...
336
+ def get_basic_properties_async(self) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.BasicProperties]: ...
337
+ def get_parent_async(self) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
338
+ @typing.overload
339
+ def get_scaled_image_as_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
340
+ @typing.overload
341
+ def get_scaled_image_as_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
342
+ @typing.overload
343
+ def get_scaled_image_as_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
344
+ @typing.overload
345
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
346
+ @typing.overload
347
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
348
+ @typing.overload
349
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
350
+ def is_equal(self, item: typing.Optional[IStorageItem], /) -> bool: ...
351
+ def is_of_type(self, type: StorageItemTypes, /) -> bool: ...
352
+ def move_and_replace_async(self, file_to_replace: typing.Optional[IStorageFile], /) -> windows_foundation.IAsyncAction: ...
353
+ @typing.overload
354
+ def move_async(self, destination_folder: typing.Optional[IStorageFolder], /) -> windows_foundation.IAsyncAction: ...
355
+ @typing.overload
356
+ def move_async(self, destination_folder: typing.Optional[IStorageFolder], desired_new_name: str, /) -> windows_foundation.IAsyncAction: ...
357
+ @typing.overload
358
+ def move_async(self, destination_folder: typing.Optional[IStorageFolder], desired_new_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncAction: ...
359
+ @typing.overload
360
+ def open_async(self, access_mode: FileAccessMode, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStream]: ...
361
+ @typing.overload
362
+ def open_async(self, access_mode: FileAccessMode, options: StorageOpenOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStream]: ...
363
+ def open_read_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStreamWithContentType]: ...
364
+ def open_sequential_read_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IInputStream]: ...
365
+ @typing.overload
366
+ def open_transacted_write_async(self) -> windows_foundation.IAsyncOperation[StorageStreamTransaction]: ...
367
+ @typing.overload
368
+ def open_transacted_write_async(self, options: StorageOpenOptions, /) -> windows_foundation.IAsyncOperation[StorageStreamTransaction]: ...
369
+ @typing.overload
370
+ def rename_async(self, desired_name: str, /) -> windows_foundation.IAsyncAction: ...
371
+ @typing.overload
372
+ def rename_async(self, desired_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncAction: ...
373
+ @_property
374
+ def content_type(self) -> str: ...
375
+ @_property
376
+ def file_type(self) -> str: ...
377
+ @_property
378
+ def is_available(self) -> bool: ...
379
+ @_property
380
+ def attributes(self) -> FileAttributes: ...
381
+ @_property
382
+ def date_created(self) -> datetime.datetime: ...
383
+ @_property
384
+ def name(self) -> str: ...
385
+ @_property
386
+ def path(self) -> str: ...
387
+ @_property
388
+ def display_name(self) -> str: ...
389
+ @_property
390
+ def display_type(self) -> str: ...
391
+ @_property
392
+ def folder_relative_id(self) -> str: ...
393
+ @_property
394
+ def properties(self) -> typing.Optional[windows_storage_fileproperties.StorageItemContentProperties]: ...
395
+ @_property
396
+ def provider(self) -> typing.Optional[StorageProvider]: ...
397
+
398
+ @typing.final
399
+ class StorageFolder_Static(type):
400
+ def get_folder_from_path_async(cls, path: str, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
401
+ def get_folder_from_path_for_user_async(cls, user: typing.Optional[windows_system.User], path: str, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
402
+
403
+ @typing.final
404
+ class StorageFolder(winrt.system.Object, metaclass=StorageFolder_Static):
405
+ @staticmethod
406
+ def _from(obj: winrt.system.Object, /) -> StorageFolder: ...
407
+ def are_query_options_supported(self, query_options: typing.Optional[windows_storage_search.QueryOptions], /) -> bool: ...
408
+ @typing.overload
409
+ def create_file_async(self, desired_name: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
410
+ @typing.overload
411
+ def create_file_async(self, desired_name: str, options: CreationCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
412
+ @typing.overload
413
+ def create_file_query(self) -> typing.Optional[windows_storage_search.StorageFileQueryResult]: ...
414
+ @typing.overload
415
+ def create_file_query(self, query: windows_storage_search.CommonFileQuery, /) -> typing.Optional[windows_storage_search.StorageFileQueryResult]: ...
416
+ def create_file_query_with_options(self, query_options: typing.Optional[windows_storage_search.QueryOptions], /) -> typing.Optional[windows_storage_search.StorageFileQueryResult]: ...
417
+ @typing.overload
418
+ def create_folder_async(self, desired_name: str, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
419
+ @typing.overload
420
+ def create_folder_async(self, desired_name: str, options: CreationCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
421
+ @typing.overload
422
+ def create_folder_query(self) -> typing.Optional[windows_storage_search.StorageFolderQueryResult]: ...
423
+ @typing.overload
424
+ def create_folder_query(self, query: windows_storage_search.CommonFolderQuery, /) -> typing.Optional[windows_storage_search.StorageFolderQueryResult]: ...
425
+ def create_folder_query_with_options(self, query_options: typing.Optional[windows_storage_search.QueryOptions], /) -> typing.Optional[windows_storage_search.StorageFolderQueryResult]: ...
426
+ def create_item_query(self) -> typing.Optional[windows_storage_search.StorageItemQueryResult]: ...
427
+ def create_item_query_with_options(self, query_options: typing.Optional[windows_storage_search.QueryOptions], /) -> typing.Optional[windows_storage_search.StorageItemQueryResult]: ...
428
+ @typing.overload
429
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
430
+ @typing.overload
431
+ def delete_async(self, option: StorageDeleteOption, /) -> windows_foundation.IAsyncAction: ...
432
+ def get_basic_properties_async(self) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.BasicProperties]: ...
433
+ def get_file_async(self, name: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
434
+ @typing.overload
435
+ def get_files_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorageFile]]: ...
436
+ @typing.overload
437
+ def get_files_async(self, query: windows_storage_search.CommonFileQuery, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorageFile]]: ...
438
+ @typing.overload
439
+ def get_files_async(self, query: windows_storage_search.CommonFileQuery, start_index: winrt.system.UInt32, max_items_to_retrieve: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorageFile]]: ...
440
+ def get_folder_async(self, name: str, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
441
+ @typing.overload
442
+ def get_folders_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorageFolder]]: ...
443
+ @typing.overload
444
+ def get_folders_async(self, query: windows_storage_search.CommonFolderQuery, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorageFolder]]: ...
445
+ @typing.overload
446
+ def get_folders_async(self, query: windows_storage_search.CommonFolderQuery, start_index: winrt.system.UInt32, max_items_to_retrieve: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorageFolder]]: ...
447
+ def get_indexed_state_async(self) -> windows_foundation.IAsyncOperation[windows_storage_search.IndexedState]: ...
448
+ def get_item_async(self, name: str, /) -> windows_foundation.IAsyncOperation[IStorageItem]: ...
449
+ @typing.overload
450
+ def get_items_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[IStorageItem]]: ...
451
+ @typing.overload
452
+ def get_items_async(self, start_index: winrt.system.UInt32, max_items_to_retrieve: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[IStorageItem]]: ...
453
+ def get_parent_async(self) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
454
+ @typing.overload
455
+ def get_scaled_image_as_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
456
+ @typing.overload
457
+ def get_scaled_image_as_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
458
+ @typing.overload
459
+ def get_scaled_image_as_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
460
+ @typing.overload
461
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
462
+ @typing.overload
463
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
464
+ @typing.overload
465
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
466
+ def is_common_file_query_supported(self, query: windows_storage_search.CommonFileQuery, /) -> bool: ...
467
+ def is_common_folder_query_supported(self, query: windows_storage_search.CommonFolderQuery, /) -> bool: ...
468
+ def is_equal(self, item: typing.Optional[IStorageItem], /) -> bool: ...
469
+ def is_of_type(self, type: StorageItemTypes, /) -> bool: ...
470
+ @typing.overload
471
+ def rename_async(self, desired_name: str, /) -> windows_foundation.IAsyncAction: ...
472
+ @typing.overload
473
+ def rename_async(self, desired_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncAction: ...
474
+ def try_get_change_tracker(self) -> typing.Optional[StorageLibraryChangeTracker]: ...
475
+ def try_get_item_async(self, name: str, /) -> windows_foundation.IAsyncOperation[IStorageItem]: ...
476
+ @_property
477
+ def attributes(self) -> FileAttributes: ...
478
+ @_property
479
+ def date_created(self) -> datetime.datetime: ...
480
+ @_property
481
+ def name(self) -> str: ...
482
+ @_property
483
+ def path(self) -> str: ...
484
+ @_property
485
+ def display_name(self) -> str: ...
486
+ @_property
487
+ def display_type(self) -> str: ...
488
+ @_property
489
+ def folder_relative_id(self) -> str: ...
490
+ @_property
491
+ def properties(self) -> typing.Optional[windows_storage_fileproperties.StorageItemContentProperties]: ...
492
+ @_property
493
+ def provider(self) -> typing.Optional[StorageProvider]: ...
494
+
495
+ @typing.final
496
+ class StorageLibrary_Static(type):
497
+ def get_library_async(cls, library_id: KnownLibraryId, /) -> windows_foundation.IAsyncOperation[StorageLibrary]: ...
498
+ def get_library_for_user_async(cls, user: typing.Optional[windows_system.User], library_id: KnownLibraryId, /) -> windows_foundation.IAsyncOperation[StorageLibrary]: ...
499
+
500
+ @typing.final
501
+ class StorageLibrary(winrt.system.Object, metaclass=StorageLibrary_Static):
502
+ @staticmethod
503
+ def _from(obj: winrt.system.Object, /) -> StorageLibrary: ...
504
+ def are_folder_suggestions_available_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
505
+ def request_add_folder_async(self) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
506
+ def request_remove_folder_async(self, folder: typing.Optional[StorageFolder], /) -> windows_foundation.IAsyncOperation[bool]: ...
507
+ def add_definition_changed(self, handler: windows_foundation.TypedEventHandler[StorageLibrary, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
508
+ def remove_definition_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
509
+ @_property
510
+ def folders(self) -> typing.Optional[windows_foundation_collections.IObservableVector[StorageFolder]]: ...
511
+ @_property
512
+ def save_folder(self) -> typing.Optional[StorageFolder]: ...
513
+ @_property
514
+ def change_tracker(self) -> typing.Optional[StorageLibraryChangeTracker]: ...
515
+
516
+ @typing.final
517
+ class StorageLibraryChange(winrt.system.Object):
518
+ @staticmethod
519
+ def _from(obj: winrt.system.Object, /) -> StorageLibraryChange: ...
520
+ def get_storage_item_async(self) -> windows_foundation.IAsyncOperation[IStorageItem]: ...
521
+ def is_of_type(self, type: StorageItemTypes, /) -> bool: ...
522
+ @_property
523
+ def change_type(self) -> StorageLibraryChangeType: ...
524
+ @_property
525
+ def path(self) -> str: ...
526
+ @_property
527
+ def previous_path(self) -> str: ...
528
+
529
+ @typing.final
530
+ class StorageLibraryChangeReader(winrt.system.Object):
531
+ @staticmethod
532
+ def _from(obj: winrt.system.Object, /) -> StorageLibraryChangeReader: ...
533
+ def accept_changes_async(self) -> windows_foundation.IAsyncAction: ...
534
+ def get_last_change_id(self) -> winrt.system.UInt64: ...
535
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorageLibraryChange]]: ...
536
+
537
+ @typing.final
538
+ class StorageLibraryChangeTracker(winrt.system.Object):
539
+ @staticmethod
540
+ def _from(obj: winrt.system.Object, /) -> StorageLibraryChangeTracker: ...
541
+ def disable(self) -> None: ...
542
+ @typing.overload
543
+ def enable(self) -> None: ...
544
+ @typing.overload
545
+ def enable(self, options: typing.Optional[StorageLibraryChangeTrackerOptions], /) -> None: ...
546
+ def get_change_reader(self) -> typing.Optional[StorageLibraryChangeReader]: ...
547
+ def reset(self) -> None: ...
548
+
549
+ @typing.final
550
+ class StorageLibraryChangeTrackerOptions(winrt.system.Object):
551
+ @staticmethod
552
+ def _from(obj: winrt.system.Object, /) -> StorageLibraryChangeTrackerOptions: ...
553
+ def __new__(cls: typing.Type[StorageLibraryChangeTrackerOptions]) -> StorageLibraryChangeTrackerOptions: ...
554
+ @_property
555
+ def track_change_details(self) -> bool: ...
556
+ @track_change_details.setter
557
+ def track_change_details(self, value: bool) -> None: ...
558
+
559
+ @typing.final
560
+ class StorageLibraryLastChangeId_Static(type):
561
+ @_property
562
+ def unknown(cls) -> winrt.system.UInt64: ...
563
+
564
+ @typing.final
565
+ class StorageLibraryLastChangeId(winrt.system.Object, metaclass=StorageLibraryLastChangeId_Static):
566
+ @staticmethod
567
+ def _from(obj: winrt.system.Object, /) -> StorageLibraryLastChangeId: ...
568
+
569
+ @typing.final
570
+ class StorageProvider(winrt.system.Object):
571
+ @staticmethod
572
+ def _from(obj: winrt.system.Object, /) -> StorageProvider: ...
573
+ def is_property_supported_for_partial_file_async(self, property_canonical_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
574
+ @_property
575
+ def display_name(self) -> str: ...
576
+ @_property
577
+ def id(self) -> str: ...
578
+
579
+ @typing.final
580
+ class StorageStreamTransaction(winrt.system.Object):
581
+ def __enter__(self: Self) -> Self: ...
582
+ def __exit__(self, *args) -> None: ...
583
+ @staticmethod
584
+ def _from(obj: winrt.system.Object, /) -> StorageStreamTransaction: ...
585
+ def close(self) -> None: ...
586
+ def commit_async(self) -> windows_foundation.IAsyncAction: ...
587
+ @_property
588
+ def stream(self) -> typing.Optional[windows_storage_streams.IRandomAccessStream]: ...
589
+
590
+ @typing.final
591
+ class StreamedFileDataRequest(winrt.system.Object):
592
+ def __enter__(self: Self) -> Self: ...
593
+ def __exit__(self, *args) -> None: ...
594
+ @staticmethod
595
+ def _from(obj: winrt.system.Object, /) -> StreamedFileDataRequest: ...
596
+ def close(self) -> None: ...
597
+ def fail_and_close(self, failure_mode: StreamedFileFailureMode, /) -> None: ...
598
+ def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
599
+ def write_async(self, buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
600
+
601
+ @typing.final
602
+ class SystemAudioProperties(winrt.system.Object):
603
+ @staticmethod
604
+ def _from(obj: winrt.system.Object, /) -> SystemAudioProperties: ...
605
+ @_property
606
+ def encoding_bitrate(self) -> str: ...
607
+
608
+ @typing.final
609
+ class SystemDataPaths_Static(type):
610
+ def get_default(cls) -> typing.Optional[SystemDataPaths]: ...
611
+
612
+ @typing.final
613
+ class SystemDataPaths(winrt.system.Object, metaclass=SystemDataPaths_Static):
614
+ @staticmethod
615
+ def _from(obj: winrt.system.Object, /) -> SystemDataPaths: ...
616
+ @_property
617
+ def fonts(self) -> str: ...
618
+ @_property
619
+ def program_data(self) -> str: ...
620
+ @_property
621
+ def public(self) -> str: ...
622
+ @_property
623
+ def public_desktop(self) -> str: ...
624
+ @_property
625
+ def public_documents(self) -> str: ...
626
+ @_property
627
+ def public_downloads(self) -> str: ...
628
+ @_property
629
+ def public_music(self) -> str: ...
630
+ @_property
631
+ def public_pictures(self) -> str: ...
632
+ @_property
633
+ def public_videos(self) -> str: ...
634
+ @_property
635
+ def system(self) -> str: ...
636
+ @_property
637
+ def system_arm(self) -> str: ...
638
+ @_property
639
+ def system_host(self) -> str: ...
640
+ @_property
641
+ def system_x64(self) -> str: ...
642
+ @_property
643
+ def system_x86(self) -> str: ...
644
+ @_property
645
+ def user_profiles(self) -> str: ...
646
+ @_property
647
+ def windows(self) -> str: ...
648
+
649
+ @typing.final
650
+ class SystemGPSProperties(winrt.system.Object):
651
+ @staticmethod
652
+ def _from(obj: winrt.system.Object, /) -> SystemGPSProperties: ...
653
+ @_property
654
+ def latitude_decimal(self) -> str: ...
655
+ @_property
656
+ def longitude_decimal(self) -> str: ...
657
+
658
+ @typing.final
659
+ class SystemImageProperties(winrt.system.Object):
660
+ @staticmethod
661
+ def _from(obj: winrt.system.Object, /) -> SystemImageProperties: ...
662
+ @_property
663
+ def horizontal_size(self) -> str: ...
664
+ @_property
665
+ def vertical_size(self) -> str: ...
666
+
667
+ @typing.final
668
+ class SystemMediaProperties(winrt.system.Object):
669
+ @staticmethod
670
+ def _from(obj: winrt.system.Object, /) -> SystemMediaProperties: ...
671
+ @_property
672
+ def duration(self) -> str: ...
673
+ @_property
674
+ def producer(self) -> str: ...
675
+ @_property
676
+ def publisher(self) -> str: ...
677
+ @_property
678
+ def sub_title(self) -> str: ...
679
+ @_property
680
+ def writer(self) -> str: ...
681
+ @_property
682
+ def year(self) -> str: ...
683
+
684
+ @typing.final
685
+ class SystemMusicProperties(winrt.system.Object):
686
+ @staticmethod
687
+ def _from(obj: winrt.system.Object, /) -> SystemMusicProperties: ...
688
+ @_property
689
+ def album_artist(self) -> str: ...
690
+ @_property
691
+ def album_title(self) -> str: ...
692
+ @_property
693
+ def artist(self) -> str: ...
694
+ @_property
695
+ def composer(self) -> str: ...
696
+ @_property
697
+ def conductor(self) -> str: ...
698
+ @_property
699
+ def display_artist(self) -> str: ...
700
+ @_property
701
+ def genre(self) -> str: ...
702
+ @_property
703
+ def track_number(self) -> str: ...
704
+
705
+ @typing.final
706
+ class SystemPhotoProperties(winrt.system.Object):
707
+ @staticmethod
708
+ def _from(obj: winrt.system.Object, /) -> SystemPhotoProperties: ...
709
+ @_property
710
+ def camera_manufacturer(self) -> str: ...
711
+ @_property
712
+ def camera_model(self) -> str: ...
713
+ @_property
714
+ def date_taken(self) -> str: ...
715
+ @_property
716
+ def orientation(self) -> str: ...
717
+ @_property
718
+ def people_names(self) -> str: ...
719
+
720
+ @typing.final
721
+ class SystemProperties_Static(type):
722
+ @_property
723
+ def audio(cls) -> typing.Optional[SystemAudioProperties]: ...
724
+ @_property
725
+ def author(cls) -> str: ...
726
+ @_property
727
+ def comment(cls) -> str: ...
728
+ @_property
729
+ def g_p_s(cls) -> typing.Optional[SystemGPSProperties]: ...
730
+ @_property
731
+ def image(cls) -> typing.Optional[SystemImageProperties]: ...
732
+ @_property
733
+ def item_name_display(cls) -> str: ...
734
+ @_property
735
+ def keywords(cls) -> str: ...
736
+ @_property
737
+ def media(cls) -> typing.Optional[SystemMediaProperties]: ...
738
+ @_property
739
+ def music(cls) -> typing.Optional[SystemMusicProperties]: ...
740
+ @_property
741
+ def photo(cls) -> typing.Optional[SystemPhotoProperties]: ...
742
+ @_property
743
+ def rating(cls) -> str: ...
744
+ @_property
745
+ def title(cls) -> str: ...
746
+ @_property
747
+ def video(cls) -> typing.Optional[SystemVideoProperties]: ...
748
+
749
+ @typing.final
750
+ class SystemProperties(winrt.system.Object, metaclass=SystemProperties_Static):
751
+ pass
752
+
753
+ @typing.final
754
+ class SystemVideoProperties(winrt.system.Object):
755
+ @staticmethod
756
+ def _from(obj: winrt.system.Object, /) -> SystemVideoProperties: ...
757
+ @_property
758
+ def director(self) -> str: ...
759
+ @_property
760
+ def frame_height(self) -> str: ...
761
+ @_property
762
+ def frame_width(self) -> str: ...
763
+ @_property
764
+ def orientation(self) -> str: ...
765
+ @_property
766
+ def total_bitrate(self) -> str: ...
767
+
768
+ @typing.final
769
+ class UserDataPaths_Static(type):
770
+ def get_default(cls) -> typing.Optional[UserDataPaths]: ...
771
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[UserDataPaths]: ...
772
+
773
+ @typing.final
774
+ class UserDataPaths(winrt.system.Object, metaclass=UserDataPaths_Static):
775
+ @staticmethod
776
+ def _from(obj: winrt.system.Object, /) -> UserDataPaths: ...
777
+ @_property
778
+ def camera_roll(self) -> str: ...
779
+ @_property
780
+ def cookies(self) -> str: ...
781
+ @_property
782
+ def desktop(self) -> str: ...
783
+ @_property
784
+ def documents(self) -> str: ...
785
+ @_property
786
+ def downloads(self) -> str: ...
787
+ @_property
788
+ def favorites(self) -> str: ...
789
+ @_property
790
+ def history(self) -> str: ...
791
+ @_property
792
+ def internet_cache(self) -> str: ...
793
+ @_property
794
+ def local_app_data(self) -> str: ...
795
+ @_property
796
+ def local_app_data_low(self) -> str: ...
797
+ @_property
798
+ def music(self) -> str: ...
799
+ @_property
800
+ def pictures(self) -> str: ...
801
+ @_property
802
+ def profile(self) -> str: ...
803
+ @_property
804
+ def recent(self) -> str: ...
805
+ @_property
806
+ def roaming_app_data(self) -> str: ...
807
+ @_property
808
+ def saved_pictures(self) -> str: ...
809
+ @_property
810
+ def screenshots(self) -> str: ...
811
+ @_property
812
+ def templates(self) -> str: ...
813
+ @_property
814
+ def videos(self) -> str: ...
815
+
816
+ @typing.final
817
+ class IStorageFile(winrt.system.Object):
818
+ @staticmethod
819
+ def _from(obj: winrt.system.Object, /) -> IStorageFile: ...
820
+ def copy_and_replace_async(self, file_to_replace: typing.Optional[IStorageFile], /) -> windows_foundation.IAsyncAction: ...
821
+ @typing.overload
822
+ def copy_async(self, destination_folder: typing.Optional[IStorageFolder], /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
823
+ @typing.overload
824
+ def copy_async(self, destination_folder: typing.Optional[IStorageFolder], desired_new_name: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
825
+ @typing.overload
826
+ def copy_async(self, destination_folder: typing.Optional[IStorageFolder], desired_new_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
827
+ @typing.overload
828
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
829
+ @typing.overload
830
+ def delete_async(self, option: StorageDeleteOption, /) -> windows_foundation.IAsyncAction: ...
831
+ def get_basic_properties_async(self) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.BasicProperties]: ...
832
+ def is_of_type(self, type: StorageItemTypes, /) -> bool: ...
833
+ def move_and_replace_async(self, file_to_replace: typing.Optional[IStorageFile], /) -> windows_foundation.IAsyncAction: ...
834
+ @typing.overload
835
+ def move_async(self, destination_folder: typing.Optional[IStorageFolder], /) -> windows_foundation.IAsyncAction: ...
836
+ @typing.overload
837
+ def move_async(self, destination_folder: typing.Optional[IStorageFolder], desired_new_name: str, /) -> windows_foundation.IAsyncAction: ...
838
+ @typing.overload
839
+ def move_async(self, destination_folder: typing.Optional[IStorageFolder], desired_new_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncAction: ...
840
+ def open_async(self, access_mode: FileAccessMode, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStream]: ...
841
+ def open_read_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStreamWithContentType]: ...
842
+ def open_sequential_read_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IInputStream]: ...
843
+ def open_transacted_write_async(self) -> windows_foundation.IAsyncOperation[StorageStreamTransaction]: ...
844
+ @typing.overload
845
+ def rename_async(self, desired_name: str, /) -> windows_foundation.IAsyncAction: ...
846
+ @typing.overload
847
+ def rename_async(self, desired_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncAction: ...
848
+ @_property
849
+ def content_type(self) -> str: ...
850
+ @_property
851
+ def file_type(self) -> str: ...
852
+ @_property
853
+ def attributes(self) -> FileAttributes: ...
854
+ @_property
855
+ def date_created(self) -> datetime.datetime: ...
856
+ @_property
857
+ def name(self) -> str: ...
858
+ @_property
859
+ def path(self) -> str: ...
860
+
861
+ @typing.final
862
+ class IStorageFile2(winrt.system.Object):
863
+ @staticmethod
864
+ def _from(obj: winrt.system.Object, /) -> IStorageFile2: ...
865
+ def open_async(self, access_mode: FileAccessMode, options: StorageOpenOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStream]: ...
866
+ def open_transacted_write_async(self, options: StorageOpenOptions, /) -> windows_foundation.IAsyncOperation[StorageStreamTransaction]: ...
867
+
868
+ @typing.final
869
+ class IStorageFilePropertiesWithAvailability(winrt.system.Object):
870
+ @staticmethod
871
+ def _from(obj: winrt.system.Object, /) -> IStorageFilePropertiesWithAvailability: ...
872
+ @_property
873
+ def is_available(self) -> bool: ...
874
+
875
+ @typing.final
876
+ class IStorageFolder(winrt.system.Object):
877
+ @staticmethod
878
+ def _from(obj: winrt.system.Object, /) -> IStorageFolder: ...
879
+ @typing.overload
880
+ def create_file_async(self, desired_name: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
881
+ @typing.overload
882
+ def create_file_async(self, desired_name: str, options: CreationCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
883
+ @typing.overload
884
+ def create_folder_async(self, desired_name: str, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
885
+ @typing.overload
886
+ def create_folder_async(self, desired_name: str, options: CreationCollisionOption, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
887
+ @typing.overload
888
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
889
+ @typing.overload
890
+ def delete_async(self, option: StorageDeleteOption, /) -> windows_foundation.IAsyncAction: ...
891
+ def get_basic_properties_async(self) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.BasicProperties]: ...
892
+ def get_file_async(self, name: str, /) -> windows_foundation.IAsyncOperation[StorageFile]: ...
893
+ def get_files_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorageFile]]: ...
894
+ def get_folder_async(self, name: str, /) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
895
+ def get_folders_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[StorageFolder]]: ...
896
+ def get_item_async(self, name: str, /) -> windows_foundation.IAsyncOperation[IStorageItem]: ...
897
+ def get_items_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[IStorageItem]]: ...
898
+ def is_of_type(self, type: StorageItemTypes, /) -> bool: ...
899
+ @typing.overload
900
+ def rename_async(self, desired_name: str, /) -> windows_foundation.IAsyncAction: ...
901
+ @typing.overload
902
+ def rename_async(self, desired_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncAction: ...
903
+ @_property
904
+ def attributes(self) -> FileAttributes: ...
905
+ @_property
906
+ def date_created(self) -> datetime.datetime: ...
907
+ @_property
908
+ def name(self) -> str: ...
909
+ @_property
910
+ def path(self) -> str: ...
911
+
912
+ @typing.final
913
+ class IStorageFolder2(winrt.system.Object):
914
+ @staticmethod
915
+ def _from(obj: winrt.system.Object, /) -> IStorageFolder2: ...
916
+ def try_get_item_async(self, name: str, /) -> windows_foundation.IAsyncOperation[IStorageItem]: ...
917
+
918
+ @typing.final
919
+ class IStorageItem(winrt.system.Object):
920
+ @staticmethod
921
+ def _from(obj: winrt.system.Object, /) -> IStorageItem: ...
922
+ @typing.overload
923
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
924
+ @typing.overload
925
+ def delete_async(self, option: StorageDeleteOption, /) -> windows_foundation.IAsyncAction: ...
926
+ def get_basic_properties_async(self) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.BasicProperties]: ...
927
+ def is_of_type(self, type: StorageItemTypes, /) -> bool: ...
928
+ @typing.overload
929
+ def rename_async(self, desired_name: str, /) -> windows_foundation.IAsyncAction: ...
930
+ @typing.overload
931
+ def rename_async(self, desired_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncAction: ...
932
+ @_property
933
+ def attributes(self) -> FileAttributes: ...
934
+ @_property
935
+ def date_created(self) -> datetime.datetime: ...
936
+ @_property
937
+ def name(self) -> str: ...
938
+ @_property
939
+ def path(self) -> str: ...
940
+
941
+ @typing.final
942
+ class IStorageItem2(winrt.system.Object):
943
+ @staticmethod
944
+ def _from(obj: winrt.system.Object, /) -> IStorageItem2: ...
945
+ @typing.overload
946
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
947
+ @typing.overload
948
+ def delete_async(self, option: StorageDeleteOption, /) -> windows_foundation.IAsyncAction: ...
949
+ def get_basic_properties_async(self) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.BasicProperties]: ...
950
+ def get_parent_async(self) -> windows_foundation.IAsyncOperation[StorageFolder]: ...
951
+ def is_equal(self, item: typing.Optional[IStorageItem], /) -> bool: ...
952
+ def is_of_type(self, type: StorageItemTypes, /) -> bool: ...
953
+ @typing.overload
954
+ def rename_async(self, desired_name: str, /) -> windows_foundation.IAsyncAction: ...
955
+ @typing.overload
956
+ def rename_async(self, desired_name: str, option: NameCollisionOption, /) -> windows_foundation.IAsyncAction: ...
957
+ @_property
958
+ def attributes(self) -> FileAttributes: ...
959
+ @_property
960
+ def date_created(self) -> datetime.datetime: ...
961
+ @_property
962
+ def name(self) -> str: ...
963
+ @_property
964
+ def path(self) -> str: ...
965
+
966
+ @typing.final
967
+ class IStorageItemProperties(winrt.system.Object):
968
+ @staticmethod
969
+ def _from(obj: winrt.system.Object, /) -> IStorageItemProperties: ...
970
+ @typing.overload
971
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
972
+ @typing.overload
973
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
974
+ @typing.overload
975
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
976
+ @_property
977
+ def display_name(self) -> str: ...
978
+ @_property
979
+ def display_type(self) -> str: ...
980
+ @_property
981
+ def folder_relative_id(self) -> str: ...
982
+ @_property
983
+ def properties(self) -> typing.Optional[windows_storage_fileproperties.StorageItemContentProperties]: ...
984
+
985
+ @typing.final
986
+ class IStorageItemProperties2(winrt.system.Object):
987
+ @staticmethod
988
+ def _from(obj: winrt.system.Object, /) -> IStorageItemProperties2: ...
989
+ @typing.overload
990
+ def get_scaled_image_as_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
991
+ @typing.overload
992
+ def get_scaled_image_as_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
993
+ @typing.overload
994
+ def get_scaled_image_as_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
995
+ @typing.overload
996
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
997
+ @typing.overload
998
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
999
+ @typing.overload
1000
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
1001
+ @_property
1002
+ def display_name(self) -> str: ...
1003
+ @_property
1004
+ def display_type(self) -> str: ...
1005
+ @_property
1006
+ def folder_relative_id(self) -> str: ...
1007
+ @_property
1008
+ def properties(self) -> typing.Optional[windows_storage_fileproperties.StorageItemContentProperties]: ...
1009
+
1010
+ @typing.final
1011
+ class IStorageItemPropertiesWithProvider(winrt.system.Object):
1012
+ @staticmethod
1013
+ def _from(obj: winrt.system.Object, /) -> IStorageItemPropertiesWithProvider: ...
1014
+ @typing.overload
1015
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
1016
+ @typing.overload
1017
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
1018
+ @typing.overload
1019
+ def get_thumbnail_async(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> windows_foundation.IAsyncOperation[windows_storage_fileproperties.StorageItemThumbnail]: ...
1020
+ @_property
1021
+ def provider(self) -> typing.Optional[StorageProvider]: ...
1022
+ @_property
1023
+ def display_name(self) -> str: ...
1024
+ @_property
1025
+ def display_type(self) -> str: ...
1026
+ @_property
1027
+ def folder_relative_id(self) -> str: ...
1028
+ @_property
1029
+ def properties(self) -> typing.Optional[windows_storage_fileproperties.StorageItemContentProperties]: ...
1030
+
1031
+ @typing.final
1032
+ class IStreamedFileDataRequest(winrt.system.Object):
1033
+ @staticmethod
1034
+ def _from(obj: winrt.system.Object, /) -> IStreamedFileDataRequest: ...
1035
+ def fail_and_close(self, failure_mode: StreamedFileFailureMode, /) -> None: ...
1036
+
@@ -0,0 +1,218 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+ import typing
5
+ import uuid as _uuid
6
+
7
+ import winrt.system
8
+ from winrt import _winrt_windows_storage
9
+
10
+ __all__ = [
11
+ "ApplicationDataCreateDisposition",
12
+ "ApplicationDataLocality",
13
+ "CreationCollisionOption",
14
+ "FileAccessMode",
15
+ "FileAttributes",
16
+ "KnownFolderId",
17
+ "KnownFoldersAccessStatus",
18
+ "KnownLibraryId",
19
+ "NameCollisionOption",
20
+ "StorageDeleteOption",
21
+ "StorageItemTypes",
22
+ "StorageLibraryChangeType",
23
+ "StorageOpenOptions",
24
+ "StreamedFileFailureMode",
25
+ "AppDataPaths",
26
+ "ApplicationData",
27
+ "ApplicationDataCompositeValue",
28
+ "ApplicationDataContainer",
29
+ "ApplicationDataContainerSettings",
30
+ "CachedFileManager",
31
+ "DownloadsFolder",
32
+ "FileIO",
33
+ "KnownFolders",
34
+ "PathIO",
35
+ "SetVersionDeferral",
36
+ "SetVersionRequest",
37
+ "StorageFile",
38
+ "StorageFolder",
39
+ "StorageLibrary",
40
+ "StorageLibraryChange",
41
+ "StorageLibraryChangeReader",
42
+ "StorageLibraryChangeTracker",
43
+ "StorageLibraryChangeTrackerOptions",
44
+ "StorageLibraryLastChangeId",
45
+ "StorageProvider",
46
+ "StorageStreamTransaction",
47
+ "StreamedFileDataRequest",
48
+ "SystemAudioProperties",
49
+ "SystemDataPaths",
50
+ "SystemGPSProperties",
51
+ "SystemImageProperties",
52
+ "SystemMediaProperties",
53
+ "SystemMusicProperties",
54
+ "SystemPhotoProperties",
55
+ "SystemProperties",
56
+ "SystemVideoProperties",
57
+ "UserDataPaths",
58
+ "IStorageFile",
59
+ "IStorageFile2",
60
+ "IStorageFilePropertiesWithAvailability",
61
+ "IStorageFolder",
62
+ "IStorageFolder2",
63
+ "IStorageItem",
64
+ "IStorageItem2",
65
+ "IStorageItemProperties",
66
+ "IStorageItemProperties2",
67
+ "IStorageItemPropertiesWithProvider",
68
+ "IStreamedFileDataRequest",
69
+ "ApplicationDataSetVersionHandler",
70
+ "StreamedFileDataRequestedHandler",
71
+ ]
72
+
73
+ class ApplicationDataCreateDisposition(enum.IntEnum):
74
+ ALWAYS = 0
75
+ EXISTING = 1
76
+
77
+ class ApplicationDataLocality(enum.IntEnum):
78
+ LOCAL = 0
79
+ ROAMING = 1
80
+ TEMPORARY = 2
81
+ LOCAL_CACHE = 3
82
+ SHARED_LOCAL = 4
83
+
84
+ class CreationCollisionOption(enum.IntEnum):
85
+ GENERATE_UNIQUE_NAME = 0
86
+ REPLACE_EXISTING = 1
87
+ FAIL_IF_EXISTS = 2
88
+ OPEN_IF_EXISTS = 3
89
+
90
+ class FileAccessMode(enum.IntEnum):
91
+ READ = 0
92
+ READ_WRITE = 1
93
+
94
+ class FileAttributes(enum.IntFlag):
95
+ NORMAL = 0x0
96
+ READ_ONLY = 0x1
97
+ DIRECTORY = 0x10
98
+ ARCHIVE = 0x20
99
+ TEMPORARY = 0x100
100
+ LOCALLY_INCOMPLETE = 0x200
101
+
102
+ class KnownFolderId(enum.IntEnum):
103
+ APP_CAPTURES = 0
104
+ CAMERA_ROLL = 1
105
+ DOCUMENTS_LIBRARY = 2
106
+ HOME_GROUP = 3
107
+ MEDIA_SERVER_DEVICES = 4
108
+ MUSIC_LIBRARY = 5
109
+ OBJECTS3_D = 6
110
+ PICTURES_LIBRARY = 7
111
+ PLAYLISTS = 8
112
+ RECORDED_CALLS = 9
113
+ REMOVABLE_DEVICES = 10
114
+ SAVED_PICTURES = 11
115
+ SCREENSHOTS = 12
116
+ VIDEOS_LIBRARY = 13
117
+ ALL_APP_MODS = 14
118
+ CURRENT_APP_MODS = 15
119
+ DOWNLOADS_FOLDER = 16
120
+
121
+ class KnownFoldersAccessStatus(enum.IntEnum):
122
+ DENIED_BY_SYSTEM = 0
123
+ NOT_DECLARED_BY_APP = 1
124
+ DENIED_BY_USER = 2
125
+ USER_PROMPT_REQUIRED = 3
126
+ ALLOWED = 4
127
+ ALLOWED_PER_APP_FOLDER = 5
128
+
129
+ class KnownLibraryId(enum.IntEnum):
130
+ MUSIC = 0
131
+ PICTURES = 1
132
+ VIDEOS = 2
133
+ DOCUMENTS = 3
134
+
135
+ class NameCollisionOption(enum.IntEnum):
136
+ GENERATE_UNIQUE_NAME = 0
137
+ REPLACE_EXISTING = 1
138
+ FAIL_IF_EXISTS = 2
139
+
140
+ class StorageDeleteOption(enum.IntEnum):
141
+ DEFAULT = 0
142
+ PERMANENT_DELETE = 1
143
+
144
+ class StorageItemTypes(enum.IntFlag):
145
+ NONE = 0x0
146
+ FILE = 0x1
147
+ FOLDER = 0x2
148
+
149
+ class StorageLibraryChangeType(enum.IntEnum):
150
+ CREATED = 0
151
+ DELETED = 1
152
+ MOVED_OR_RENAMED = 2
153
+ CONTENTS_CHANGED = 3
154
+ MOVED_OUT_OF_LIBRARY = 4
155
+ MOVED_INTO_LIBRARY = 5
156
+ CONTENTS_REPLACED = 6
157
+ INDEXING_STATUS_CHANGED = 7
158
+ ENCRYPTION_CHANGED = 8
159
+ CHANGE_TRACKING_LOST = 9
160
+
161
+ class StorageOpenOptions(enum.IntFlag):
162
+ NONE = 0x0
163
+ ALLOW_ONLY_READERS = 0x1
164
+ ALLOW_READERS_AND_WRITERS = 0x2
165
+
166
+ class StreamedFileFailureMode(enum.IntEnum):
167
+ FAILED = 0
168
+ CURRENTLY_UNAVAILABLE = 1
169
+ INCOMPLETE = 2
170
+
171
+ AppDataPaths = _winrt_windows_storage.AppDataPaths
172
+ ApplicationData = _winrt_windows_storage.ApplicationData
173
+ ApplicationDataCompositeValue = _winrt_windows_storage.ApplicationDataCompositeValue
174
+ winrt.system._mixin_mutable_mapping(ApplicationDataCompositeValue)
175
+ ApplicationDataContainer = _winrt_windows_storage.ApplicationDataContainer
176
+ ApplicationDataContainerSettings = _winrt_windows_storage.ApplicationDataContainerSettings
177
+ winrt.system._mixin_mutable_mapping(ApplicationDataContainerSettings)
178
+ CachedFileManager = _winrt_windows_storage.CachedFileManager
179
+ DownloadsFolder = _winrt_windows_storage.DownloadsFolder
180
+ FileIO = _winrt_windows_storage.FileIO
181
+ KnownFolders = _winrt_windows_storage.KnownFolders
182
+ PathIO = _winrt_windows_storage.PathIO
183
+ SetVersionDeferral = _winrt_windows_storage.SetVersionDeferral
184
+ SetVersionRequest = _winrt_windows_storage.SetVersionRequest
185
+ StorageFile = _winrt_windows_storage.StorageFile
186
+ StorageFolder = _winrt_windows_storage.StorageFolder
187
+ StorageLibrary = _winrt_windows_storage.StorageLibrary
188
+ StorageLibraryChange = _winrt_windows_storage.StorageLibraryChange
189
+ StorageLibraryChangeReader = _winrt_windows_storage.StorageLibraryChangeReader
190
+ StorageLibraryChangeTracker = _winrt_windows_storage.StorageLibraryChangeTracker
191
+ StorageLibraryChangeTrackerOptions = _winrt_windows_storage.StorageLibraryChangeTrackerOptions
192
+ StorageLibraryLastChangeId = _winrt_windows_storage.StorageLibraryLastChangeId
193
+ StorageProvider = _winrt_windows_storage.StorageProvider
194
+ StorageStreamTransaction = _winrt_windows_storage.StorageStreamTransaction
195
+ StreamedFileDataRequest = _winrt_windows_storage.StreamedFileDataRequest
196
+ SystemAudioProperties = _winrt_windows_storage.SystemAudioProperties
197
+ SystemDataPaths = _winrt_windows_storage.SystemDataPaths
198
+ SystemGPSProperties = _winrt_windows_storage.SystemGPSProperties
199
+ SystemImageProperties = _winrt_windows_storage.SystemImageProperties
200
+ SystemMediaProperties = _winrt_windows_storage.SystemMediaProperties
201
+ SystemMusicProperties = _winrt_windows_storage.SystemMusicProperties
202
+ SystemPhotoProperties = _winrt_windows_storage.SystemPhotoProperties
203
+ SystemProperties = _winrt_windows_storage.SystemProperties
204
+ SystemVideoProperties = _winrt_windows_storage.SystemVideoProperties
205
+ UserDataPaths = _winrt_windows_storage.UserDataPaths
206
+ IStorageFile = _winrt_windows_storage.IStorageFile
207
+ IStorageFile2 = _winrt_windows_storage.IStorageFile2
208
+ IStorageFilePropertiesWithAvailability = _winrt_windows_storage.IStorageFilePropertiesWithAvailability
209
+ IStorageFolder = _winrt_windows_storage.IStorageFolder
210
+ IStorageFolder2 = _winrt_windows_storage.IStorageFolder2
211
+ IStorageItem = _winrt_windows_storage.IStorageItem
212
+ IStorageItem2 = _winrt_windows_storage.IStorageItem2
213
+ IStorageItemProperties = _winrt_windows_storage.IStorageItemProperties
214
+ IStorageItemProperties2 = _winrt_windows_storage.IStorageItemProperties2
215
+ IStorageItemPropertiesWithProvider = _winrt_windows_storage.IStorageItemPropertiesWithProvider
216
+ IStreamedFileDataRequest = _winrt_windows_storage.IStreamedFileDataRequest
217
+ ApplicationDataSetVersionHandler = typing.Callable[[typing.Optional[SetVersionRequest]], None]
218
+ StreamedFileDataRequestedHandler = typing.Callable[[typing.Optional[StreamedFileDataRequest]], None]
File without changes
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Storage
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage.FileProperties[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Storage.Provider[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Storage.Search[all] ==2.2.0 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
23
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
24
+
25
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
26
+
27
+ # winrt-Windows.Storage
28
+
29
+ Windows Runtime (WinRT) APIs for for the `Windows.Storage` namespace.
30
+
31
+ This package provides the `winrt.windows.storage` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_storage.cp313-win_amd64.pyd,sha256=_J-d1YOo7YG4Bg_DgHd-cqCsd41p0l7HBx92MUyWghY,809984
2
+ winrt/_winrt_windows_storage.pyi,sha256=nSwJO-gghojlEdOkX4Uod6mB57Gpw1KxdxPTt9toZ0E,57239
3
+ winrt/windows/storage/__init__.py,sha256=ImyH0eDq3Tg8RAWitM-tKjCjFO4AOkbuuvvxM9AAx0w,7232
4
+ winrt/windows/storage/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Storage-2.2.0.dist-info/METADATA,sha256=T6X2tQ_YbD4YfGOmLGJ0byZFVwruWtW5pIxGapjExW4,1472
6
+ winrt_Windows.Storage-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.Storage-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Storage-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+
@@ -0,0 +1 @@
1
+ winrt