summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Storage
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Storage')
-rw-r--r--vendor/windows-sys/src/Windows/Storage/AccessCache/mod.rs46
-rw-r--r--vendor/windows-sys/src/Windows/Storage/BulkAccess/mod.rs4
-rw-r--r--vendor/windows-sys/src/Windows/Storage/Compression/mod.rs19
-rw-r--r--vendor/windows-sys/src/Windows/Storage/FileProperties/mod.rs105
-rw-r--r--vendor/windows-sys/src/Windows/Storage/Pickers/Provider/mod.rs51
-rw-r--r--vendor/windows-sys/src/Windows/Storage/Pickers/mod.rs42
-rw-r--r--vendor/windows-sys/src/Windows/Storage/Provider/mod.rs229
-rw-r--r--vendor/windows-sys/src/Windows/Storage/Search/mod.rs124
-rw-r--r--vendor/windows-sys/src/Windows/Storage/Streams/mod.rs81
-rw-r--r--vendor/windows-sys/src/Windows/Storage/mod.rs280
10 files changed, 981 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Storage/AccessCache/mod.rs b/vendor/windows-sys/src/Windows/Storage/AccessCache/mod.rs
new file mode 100644
index 000000000..acbdd2829
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/AccessCache/mod.rs
@@ -0,0 +1,46 @@
+#[doc = "*Required features: `\"Storage_AccessCache\"`*"]
+#[repr(transparent)]
+pub struct AccessCacheOptions(pub u32);
+impl AccessCacheOptions {
+ pub const None: Self = Self(0u32);
+ pub const DisallowUserInput: Self = Self(1u32);
+ pub const FastLocationsOnly: Self = Self(2u32);
+ pub const UseReadOnlyCachedCopy: Self = Self(4u32);
+ pub const SuppressAccessTimeUpdate: Self = Self(8u32);
+}
+impl ::core::marker::Copy for AccessCacheOptions {}
+impl ::core::clone::Clone for AccessCacheOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Storage_AccessCache\"`*"]
+pub struct AccessListEntry {
+ pub Token: ::windows_sys::core::HSTRING,
+ pub Metadata: ::windows_sys::core::HSTRING,
+}
+impl ::core::marker::Copy for AccessListEntry {}
+impl ::core::clone::Clone for AccessListEntry {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AccessListEntryView = *mut ::core::ffi::c_void;
+pub type IStorageItemAccessList = *mut ::core::ffi::c_void;
+pub type ItemRemovedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_AccessCache\"`*"]
+#[repr(transparent)]
+pub struct RecentStorageItemVisibility(pub i32);
+impl RecentStorageItemVisibility {
+ pub const AppOnly: Self = Self(0i32);
+ pub const AppAndSystem: Self = Self(1i32);
+}
+impl ::core::marker::Copy for RecentStorageItemVisibility {}
+impl ::core::clone::Clone for RecentStorageItemVisibility {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StorageItemAccessList = *mut ::core::ffi::c_void;
+pub type StorageItemMostRecentlyUsedList = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Storage/BulkAccess/mod.rs b/vendor/windows-sys/src/Windows/Storage/BulkAccess/mod.rs
new file mode 100644
index 000000000..b314eaa0e
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/BulkAccess/mod.rs
@@ -0,0 +1,4 @@
+pub type FileInformation = *mut ::core::ffi::c_void;
+pub type FileInformationFactory = *mut ::core::ffi::c_void;
+pub type FolderInformation = *mut ::core::ffi::c_void;
+pub type IStorageItemInformation = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Storage/Compression/mod.rs b/vendor/windows-sys/src/Windows/Storage/Compression/mod.rs
new file mode 100644
index 000000000..957a4a2de
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/Compression/mod.rs
@@ -0,0 +1,19 @@
+#[doc = "*Required features: `\"Storage_Compression\"`*"]
+#[repr(transparent)]
+pub struct CompressAlgorithm(pub i32);
+impl CompressAlgorithm {
+ pub const InvalidAlgorithm: Self = Self(0i32);
+ pub const NullAlgorithm: Self = Self(1i32);
+ pub const Mszip: Self = Self(2i32);
+ pub const Xpress: Self = Self(3i32);
+ pub const XpressHuff: Self = Self(4i32);
+ pub const Lzms: Self = Self(5i32);
+}
+impl ::core::marker::Copy for CompressAlgorithm {}
+impl ::core::clone::Clone for CompressAlgorithm {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type Compressor = *mut ::core::ffi::c_void;
+pub type Decompressor = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Storage/FileProperties/mod.rs b/vendor/windows-sys/src/Windows/Storage/FileProperties/mod.rs
new file mode 100644
index 000000000..6afff8900
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/FileProperties/mod.rs
@@ -0,0 +1,105 @@
+pub type BasicProperties = *mut ::core::ffi::c_void;
+pub type DocumentProperties = *mut ::core::ffi::c_void;
+pub type IStorageItemExtraProperties = *mut ::core::ffi::c_void;
+pub type ImageProperties = *mut ::core::ffi::c_void;
+pub type MusicProperties = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_FileProperties\"`*"]
+#[repr(transparent)]
+pub struct PhotoOrientation(pub i32);
+impl PhotoOrientation {
+ pub const Unspecified: Self = Self(0i32);
+ pub const Normal: Self = Self(1i32);
+ pub const FlipHorizontal: Self = Self(2i32);
+ pub const Rotate180: Self = Self(3i32);
+ pub const FlipVertical: Self = Self(4i32);
+ pub const Transpose: Self = Self(5i32);
+ pub const Rotate270: Self = Self(6i32);
+ pub const Transverse: Self = Self(7i32);
+ pub const Rotate90: Self = Self(8i32);
+}
+impl ::core::marker::Copy for PhotoOrientation {}
+impl ::core::clone::Clone for PhotoOrientation {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_FileProperties\"`*"]
+#[repr(transparent)]
+pub struct PropertyPrefetchOptions(pub u32);
+impl PropertyPrefetchOptions {
+ pub const None: Self = Self(0u32);
+ pub const MusicProperties: Self = Self(1u32);
+ pub const VideoProperties: Self = Self(2u32);
+ pub const ImageProperties: Self = Self(4u32);
+ pub const DocumentProperties: Self = Self(8u32);
+ pub const BasicProperties: Self = Self(16u32);
+}
+impl ::core::marker::Copy for PropertyPrefetchOptions {}
+impl ::core::clone::Clone for PropertyPrefetchOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StorageItemContentProperties = *mut ::core::ffi::c_void;
+pub type StorageItemThumbnail = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_FileProperties\"`*"]
+#[repr(transparent)]
+pub struct ThumbnailMode(pub i32);
+impl ThumbnailMode {
+ pub const PicturesView: Self = Self(0i32);
+ pub const VideosView: Self = Self(1i32);
+ pub const MusicView: Self = Self(2i32);
+ pub const DocumentsView: Self = Self(3i32);
+ pub const ListView: Self = Self(4i32);
+ pub const SingleItem: Self = Self(5i32);
+}
+impl ::core::marker::Copy for ThumbnailMode {}
+impl ::core::clone::Clone for ThumbnailMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_FileProperties\"`*"]
+#[repr(transparent)]
+pub struct ThumbnailOptions(pub u32);
+impl ThumbnailOptions {
+ pub const None: Self = Self(0u32);
+ pub const ReturnOnlyIfCached: Self = Self(1u32);
+ pub const ResizeThumbnail: Self = Self(2u32);
+ pub const UseCurrentScale: Self = Self(4u32);
+}
+impl ::core::marker::Copy for ThumbnailOptions {}
+impl ::core::clone::Clone for ThumbnailOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_FileProperties\"`*"]
+#[repr(transparent)]
+pub struct ThumbnailType(pub i32);
+impl ThumbnailType {
+ pub const Image: Self = Self(0i32);
+ pub const Icon: Self = Self(1i32);
+}
+impl ::core::marker::Copy for ThumbnailType {}
+impl ::core::clone::Clone for ThumbnailType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_FileProperties\"`*"]
+#[repr(transparent)]
+pub struct VideoOrientation(pub i32);
+impl VideoOrientation {
+ pub const Normal: Self = Self(0i32);
+ pub const Rotate90: Self = Self(90i32);
+ pub const Rotate180: Self = Self(180i32);
+ pub const Rotate270: Self = Self(270i32);
+}
+impl ::core::marker::Copy for VideoOrientation {}
+impl ::core::clone::Clone for VideoOrientation {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type VideoProperties = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Storage/Pickers/Provider/mod.rs b/vendor/windows-sys/src/Windows/Storage/Pickers/Provider/mod.rs
new file mode 100644
index 000000000..345c907b3
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/Pickers/Provider/mod.rs
@@ -0,0 +1,51 @@
+#[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
+#[repr(transparent)]
+pub struct AddFileResult(pub i32);
+impl AddFileResult {
+ pub const Added: Self = Self(0i32);
+ pub const AlreadyAdded: Self = Self(1i32);
+ pub const NotAllowed: Self = Self(2i32);
+ pub const Unavailable: Self = Self(3i32);
+}
+impl ::core::marker::Copy for AddFileResult {}
+impl ::core::clone::Clone for AddFileResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type FileOpenPickerUI = *mut ::core::ffi::c_void;
+pub type FileRemovedEventArgs = *mut ::core::ffi::c_void;
+pub type FileSavePickerUI = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
+#[repr(transparent)]
+pub struct FileSelectionMode(pub i32);
+impl FileSelectionMode {
+ pub const Single: Self = Self(0i32);
+ pub const Multiple: Self = Self(1i32);
+}
+impl ::core::marker::Copy for FileSelectionMode {}
+impl ::core::clone::Clone for FileSelectionMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PickerClosingDeferral = *mut ::core::ffi::c_void;
+pub type PickerClosingEventArgs = *mut ::core::ffi::c_void;
+pub type PickerClosingOperation = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
+#[repr(transparent)]
+pub struct SetFileNameResult(pub i32);
+impl SetFileNameResult {
+ pub const Succeeded: Self = Self(0i32);
+ pub const NotAllowed: Self = Self(1i32);
+ pub const Unavailable: Self = Self(2i32);
+}
+impl ::core::marker::Copy for SetFileNameResult {}
+impl ::core::clone::Clone for SetFileNameResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type TargetFileRequest = *mut ::core::ffi::c_void;
+pub type TargetFileRequestDeferral = *mut ::core::ffi::c_void;
+pub type TargetFileRequestedEventArgs = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Storage/Pickers/mod.rs b/vendor/windows-sys/src/Windows/Storage/Pickers/mod.rs
new file mode 100644
index 000000000..e4f0b567a
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/Pickers/mod.rs
@@ -0,0 +1,42 @@
+#[cfg(feature = "Storage_Pickers_Provider")]
+pub mod Provider;
+pub type FileExtensionVector = *mut ::core::ffi::c_void;
+pub type FileOpenPicker = *mut ::core::ffi::c_void;
+pub type FilePickerFileTypesOrderedMap = *mut ::core::ffi::c_void;
+pub type FilePickerSelectedFilesArray = *mut ::core::ffi::c_void;
+pub type FileSavePicker = *mut ::core::ffi::c_void;
+pub type FolderPicker = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Pickers\"`*"]
+#[repr(transparent)]
+pub struct PickerLocationId(pub i32);
+impl PickerLocationId {
+ pub const DocumentsLibrary: Self = Self(0i32);
+ pub const ComputerFolder: Self = Self(1i32);
+ pub const Desktop: Self = Self(2i32);
+ pub const Downloads: Self = Self(3i32);
+ pub const HomeGroup: Self = Self(4i32);
+ pub const MusicLibrary: Self = Self(5i32);
+ pub const PicturesLibrary: Self = Self(6i32);
+ pub const VideosLibrary: Self = Self(7i32);
+ pub const Objects3D: Self = Self(8i32);
+ pub const Unspecified: Self = Self(9i32);
+}
+impl ::core::marker::Copy for PickerLocationId {}
+impl ::core::clone::Clone for PickerLocationId {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Pickers\"`*"]
+#[repr(transparent)]
+pub struct PickerViewMode(pub i32);
+impl PickerViewMode {
+ pub const List: Self = Self(0i32);
+ pub const Thumbnail: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PickerViewMode {}
+impl ::core::clone::Clone for PickerViewMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Storage/Provider/mod.rs b/vendor/windows-sys/src/Windows/Storage/Provider/mod.rs
new file mode 100644
index 000000000..a5bfe669e
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/Provider/mod.rs
@@ -0,0 +1,229 @@
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct CachedFileOptions(pub u32);
+impl CachedFileOptions {
+ pub const None: Self = Self(0u32);
+ pub const RequireUpdateOnAccess: Self = Self(1u32);
+ pub const UseCachedFileWhenOffline: Self = Self(2u32);
+ pub const DenyAccessWhenOffline: Self = Self(4u32);
+}
+impl ::core::marker::Copy for CachedFileOptions {}
+impl ::core::clone::Clone for CachedFileOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct CachedFileTarget(pub i32);
+impl CachedFileTarget {
+ pub const Local: Self = Self(0i32);
+ pub const Remote: Self = Self(1i32);
+}
+impl ::core::marker::Copy for CachedFileTarget {}
+impl ::core::clone::Clone for CachedFileTarget {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CachedFileUpdaterUI = *mut ::core::ffi::c_void;
+pub type FileUpdateRequest = *mut ::core::ffi::c_void;
+pub type FileUpdateRequestDeferral = *mut ::core::ffi::c_void;
+pub type FileUpdateRequestedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct FileUpdateStatus(pub i32);
+impl FileUpdateStatus {
+ pub const Incomplete: Self = Self(0i32);
+ pub const Complete: Self = Self(1i32);
+ pub const UserInputNeeded: Self = Self(2i32);
+ pub const CurrentlyUnavailable: Self = Self(3i32);
+ pub const Failed: Self = Self(4i32);
+ pub const CompleteAndRenamed: Self = Self(5i32);
+}
+impl ::core::marker::Copy for FileUpdateStatus {}
+impl ::core::clone::Clone for FileUpdateStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IStorageProviderHandlerFactory = *mut ::core::ffi::c_void;
+pub type IStorageProviderItemPropertySource = *mut ::core::ffi::c_void;
+pub type IStorageProviderPropertyCapabilities = *mut ::core::ffi::c_void;
+pub type IStorageProviderStatusSource = *mut ::core::ffi::c_void;
+pub type IStorageProviderUriSource = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct ReadActivationMode(pub i32);
+impl ReadActivationMode {
+ pub const NotNeeded: Self = Self(0i32);
+ pub const BeforeAccess: Self = Self(1i32);
+}
+impl ::core::marker::Copy for ReadActivationMode {}
+impl ::core::clone::Clone for ReadActivationMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StorageProviderError = *mut ::core::ffi::c_void;
+pub type StorageProviderErrorCommand = *mut ::core::ffi::c_void;
+pub type StorageProviderFileTypeInfo = *mut ::core::ffi::c_void;
+pub type StorageProviderGetContentInfoForPathResult = *mut ::core::ffi::c_void;
+pub type StorageProviderGetPathForContentUriResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct StorageProviderHardlinkPolicy(pub u32);
+impl StorageProviderHardlinkPolicy {
+ pub const None: Self = Self(0u32);
+ pub const Allowed: Self = Self(1u32);
+}
+impl ::core::marker::Copy for StorageProviderHardlinkPolicy {}
+impl ::core::clone::Clone for StorageProviderHardlinkPolicy {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct StorageProviderHydrationPolicy(pub i32);
+impl StorageProviderHydrationPolicy {
+ pub const Partial: Self = Self(0i32);
+ pub const Progressive: Self = Self(1i32);
+ pub const Full: Self = Self(2i32);
+ pub const AlwaysFull: Self = Self(3i32);
+}
+impl ::core::marker::Copy for StorageProviderHydrationPolicy {}
+impl ::core::clone::Clone for StorageProviderHydrationPolicy {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct StorageProviderHydrationPolicyModifier(pub u32);
+impl StorageProviderHydrationPolicyModifier {
+ pub const None: Self = Self(0u32);
+ pub const ValidationRequired: Self = Self(1u32);
+ pub const StreamingAllowed: Self = Self(2u32);
+ pub const AutoDehydrationAllowed: Self = Self(4u32);
+ pub const AllowFullRestartHydration: Self = Self(8u32);
+}
+impl ::core::marker::Copy for StorageProviderHydrationPolicyModifier {}
+impl ::core::clone::Clone for StorageProviderHydrationPolicyModifier {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct StorageProviderInSyncPolicy(pub u32);
+impl StorageProviderInSyncPolicy {
+ pub const Default: Self = Self(0u32);
+ pub const FileCreationTime: Self = Self(1u32);
+ pub const FileReadOnlyAttribute: Self = Self(2u32);
+ pub const FileHiddenAttribute: Self = Self(4u32);
+ pub const FileSystemAttribute: Self = Self(8u32);
+ pub const DirectoryCreationTime: Self = Self(16u32);
+ pub const DirectoryReadOnlyAttribute: Self = Self(32u32);
+ pub const DirectoryHiddenAttribute: Self = Self(64u32);
+ pub const DirectorySystemAttribute: Self = Self(128u32);
+ pub const FileLastWriteTime: Self = Self(256u32);
+ pub const DirectoryLastWriteTime: Self = Self(512u32);
+ pub const PreserveInsyncForSyncEngine: Self = Self(2147483648u32);
+}
+impl ::core::marker::Copy for StorageProviderInSyncPolicy {}
+impl ::core::clone::Clone for StorageProviderInSyncPolicy {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StorageProviderItemProperty = *mut ::core::ffi::c_void;
+pub type StorageProviderItemPropertyDefinition = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct StorageProviderPopulationPolicy(pub i32);
+impl StorageProviderPopulationPolicy {
+ pub const Full: Self = Self(1i32);
+ pub const AlwaysFull: Self = Self(2i32);
+}
+impl ::core::marker::Copy for StorageProviderPopulationPolicy {}
+impl ::core::clone::Clone for StorageProviderPopulationPolicy {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct StorageProviderProtectionMode(pub i32);
+impl StorageProviderProtectionMode {
+ pub const Unknown: Self = Self(0i32);
+ pub const Personal: Self = Self(1i32);
+}
+impl ::core::marker::Copy for StorageProviderProtectionMode {}
+impl ::core::clone::Clone for StorageProviderProtectionMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct StorageProviderState(pub i32);
+impl StorageProviderState {
+ pub const InSync: Self = Self(0i32);
+ pub const Syncing: Self = Self(1i32);
+ pub const Paused: Self = Self(2i32);
+ pub const Error: Self = Self(3i32);
+ pub const Warning: Self = Self(4i32);
+ pub const Offline: Self = Self(5i32);
+}
+impl ::core::marker::Copy for StorageProviderState {}
+impl ::core::clone::Clone for StorageProviderState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StorageProviderStatus = *mut ::core::ffi::c_void;
+pub type StorageProviderSyncRootInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct StorageProviderUriSourceStatus(pub i32);
+impl StorageProviderUriSourceStatus {
+ pub const Success: Self = Self(0i32);
+ pub const NoSyncRoot: Self = Self(1i32);
+ pub const FileNotFound: Self = Self(2i32);
+}
+impl ::core::marker::Copy for StorageProviderUriSourceStatus {}
+impl ::core::clone::Clone for StorageProviderUriSourceStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct UIStatus(pub i32);
+impl UIStatus {
+ pub const Unavailable: Self = Self(0i32);
+ pub const Hidden: Self = Self(1i32);
+ pub const Visible: Self = Self(2i32);
+ pub const Complete: Self = Self(3i32);
+}
+impl ::core::marker::Copy for UIStatus {}
+impl ::core::clone::Clone for UIStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Provider\"`*"]
+#[repr(transparent)]
+pub struct WriteActivationMode(pub i32);
+impl WriteActivationMode {
+ pub const ReadOnly: Self = Self(0i32);
+ pub const NotNeeded: Self = Self(1i32);
+ pub const AfterWrite: Self = Self(2i32);
+}
+impl ::core::marker::Copy for WriteActivationMode {}
+impl ::core::clone::Clone for WriteActivationMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Storage/Search/mod.rs b/vendor/windows-sys/src/Windows/Storage/Search/mod.rs
new file mode 100644
index 000000000..3041d628b
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/Search/mod.rs
@@ -0,0 +1,124 @@
+#[doc = "*Required features: `\"Storage_Search\"`*"]
+#[repr(transparent)]
+pub struct CommonFileQuery(pub i32);
+impl CommonFileQuery {
+ pub const DefaultQuery: Self = Self(0i32);
+ pub const OrderByName: Self = Self(1i32);
+ pub const OrderByTitle: Self = Self(2i32);
+ pub const OrderByMusicProperties: Self = Self(3i32);
+ pub const OrderBySearchRank: Self = Self(4i32);
+ pub const OrderByDate: Self = Self(5i32);
+}
+impl ::core::marker::Copy for CommonFileQuery {}
+impl ::core::clone::Clone for CommonFileQuery {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Search\"`*"]
+#[repr(transparent)]
+pub struct CommonFolderQuery(pub i32);
+impl CommonFolderQuery {
+ pub const DefaultQuery: Self = Self(0i32);
+ pub const GroupByYear: Self = Self(100i32);
+ pub const GroupByMonth: Self = Self(101i32);
+ pub const GroupByArtist: Self = Self(102i32);
+ pub const GroupByAlbum: Self = Self(103i32);
+ pub const GroupByAlbumArtist: Self = Self(104i32);
+ pub const GroupByComposer: Self = Self(105i32);
+ pub const GroupByGenre: Self = Self(106i32);
+ pub const GroupByPublishedYear: Self = Self(107i32);
+ pub const GroupByRating: Self = Self(108i32);
+ pub const GroupByTag: Self = Self(109i32);
+ pub const GroupByAuthor: Self = Self(110i32);
+ pub const GroupByType: Self = Self(111i32);
+}
+impl ::core::marker::Copy for CommonFolderQuery {}
+impl ::core::clone::Clone for CommonFolderQuery {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ContentIndexer = *mut ::core::ffi::c_void;
+pub type ContentIndexerQuery = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Search\"`*"]
+#[repr(transparent)]
+pub struct DateStackOption(pub i32);
+impl DateStackOption {
+ pub const None: Self = Self(0i32);
+ pub const Year: Self = Self(1i32);
+ pub const Month: Self = Self(2i32);
+}
+impl ::core::marker::Copy for DateStackOption {}
+impl ::core::clone::Clone for DateStackOption {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Search\"`*"]
+#[repr(transparent)]
+pub struct FolderDepth(pub i32);
+impl FolderDepth {
+ pub const Shallow: Self = Self(0i32);
+ pub const Deep: Self = Self(1i32);
+}
+impl ::core::marker::Copy for FolderDepth {}
+impl ::core::clone::Clone for FolderDepth {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IIndexableContent = *mut ::core::ffi::c_void;
+pub type IStorageFolderQueryOperations = *mut ::core::ffi::c_void;
+pub type IStorageQueryResultBase = *mut ::core::ffi::c_void;
+pub type IndexableContent = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Search\"`*"]
+#[repr(transparent)]
+pub struct IndexedState(pub i32);
+impl IndexedState {
+ pub const Unknown: Self = Self(0i32);
+ pub const NotIndexed: Self = Self(1i32);
+ pub const PartiallyIndexed: Self = Self(2i32);
+ pub const FullyIndexed: Self = Self(3i32);
+}
+impl ::core::marker::Copy for IndexedState {}
+impl ::core::clone::Clone for IndexedState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage_Search\"`*"]
+#[repr(transparent)]
+pub struct IndexerOption(pub i32);
+impl IndexerOption {
+ pub const UseIndexerWhenAvailable: Self = Self(0i32);
+ pub const OnlyUseIndexer: Self = Self(1i32);
+ pub const DoNotUseIndexer: Self = Self(2i32);
+ pub const OnlyUseIndexerAndOptimizeForIndexedProperties: Self = Self(3i32);
+}
+impl ::core::marker::Copy for IndexerOption {}
+impl ::core::clone::Clone for IndexerOption {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type QueryOptions = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"Storage_Search\"`*"]
+pub struct SortEntry {
+ pub PropertyName: ::windows_sys::core::HSTRING,
+ pub AscendingOrder: bool,
+}
+impl ::core::marker::Copy for SortEntry {}
+impl ::core::clone::Clone for SortEntry {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SortEntryVector = *mut ::core::ffi::c_void;
+pub type StorageFileQueryResult = *mut ::core::ffi::c_void;
+pub type StorageFolderQueryResult = *mut ::core::ffi::c_void;
+pub type StorageItemQueryResult = *mut ::core::ffi::c_void;
+pub type StorageLibraryChangeTrackerTriggerDetails = *mut ::core::ffi::c_void;
+pub type StorageLibraryContentChangedTriggerDetails = *mut ::core::ffi::c_void;
+pub type ValueAndLanguage = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Storage/Streams/mod.rs b/vendor/windows-sys/src/Windows/Storage/Streams/mod.rs
new file mode 100644
index 000000000..65f9372d1
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/Streams/mod.rs
@@ -0,0 +1,81 @@
+pub type Buffer = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Streams\"`*"]
+#[repr(transparent)]
+pub struct ByteOrder(pub i32);
+impl ByteOrder {
+ pub const LittleEndian: Self = Self(0i32);
+ pub const BigEndian: Self = Self(1i32);
+}
+impl ::core::marker::Copy for ByteOrder {}
+impl ::core::clone::Clone for ByteOrder {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type DataReader = *mut ::core::ffi::c_void;
+pub type DataReaderLoadOperation = *mut ::core::ffi::c_void;
+pub type DataWriter = *mut ::core::ffi::c_void;
+pub type DataWriterStoreOperation = *mut ::core::ffi::c_void;
+pub type FileInputStream = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Streams\"`*"]
+#[repr(transparent)]
+pub struct FileOpenDisposition(pub i32);
+impl FileOpenDisposition {
+ pub const OpenExisting: Self = Self(0i32);
+ pub const OpenAlways: Self = Self(1i32);
+ pub const CreateNew: Self = Self(2i32);
+ pub const CreateAlways: Self = Self(3i32);
+ pub const TruncateExisting: Self = Self(4i32);
+}
+impl ::core::marker::Copy for FileOpenDisposition {}
+impl ::core::clone::Clone for FileOpenDisposition {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type FileOutputStream = *mut ::core::ffi::c_void;
+pub type FileRandomAccessStream = *mut ::core::ffi::c_void;
+pub type IBuffer = *mut ::core::ffi::c_void;
+pub type IContentTypeProvider = *mut ::core::ffi::c_void;
+pub type IDataReader = *mut ::core::ffi::c_void;
+pub type IDataWriter = *mut ::core::ffi::c_void;
+pub type IInputStream = *mut ::core::ffi::c_void;
+pub type IInputStreamReference = *mut ::core::ffi::c_void;
+pub type IOutputStream = *mut ::core::ffi::c_void;
+pub type IPropertySetSerializer = *mut ::core::ffi::c_void;
+pub type IRandomAccessStream = *mut ::core::ffi::c_void;
+pub type IRandomAccessStreamReference = *mut ::core::ffi::c_void;
+pub type IRandomAccessStreamWithContentType = *mut ::core::ffi::c_void;
+pub type InMemoryRandomAccessStream = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Streams\"`*"]
+#[repr(transparent)]
+pub struct InputStreamOptions(pub u32);
+impl InputStreamOptions {
+ pub const None: Self = Self(0u32);
+ pub const Partial: Self = Self(1u32);
+ pub const ReadAhead: Self = Self(2u32);
+}
+impl ::core::marker::Copy for InputStreamOptions {}
+impl ::core::clone::Clone for InputStreamOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InputStreamOverStream = *mut ::core::ffi::c_void;
+pub type OutputStreamOverStream = *mut ::core::ffi::c_void;
+pub type RandomAccessStreamOverStream = *mut ::core::ffi::c_void;
+pub type RandomAccessStreamReference = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage_Streams\"`*"]
+#[repr(transparent)]
+pub struct UnicodeEncoding(pub i32);
+impl UnicodeEncoding {
+ pub const Utf8: Self = Self(0i32);
+ pub const Utf16LE: Self = Self(1i32);
+ pub const Utf16BE: Self = Self(2i32);
+}
+impl ::core::marker::Copy for UnicodeEncoding {}
+impl ::core::clone::Clone for UnicodeEncoding {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Storage/mod.rs b/vendor/windows-sys/src/Windows/Storage/mod.rs
new file mode 100644
index 000000000..ed22373c6
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Storage/mod.rs
@@ -0,0 +1,280 @@
+#[cfg(feature = "Storage_AccessCache")]
+pub mod AccessCache;
+#[cfg(feature = "Storage_BulkAccess")]
+pub mod BulkAccess;
+#[cfg(feature = "Storage_Compression")]
+pub mod Compression;
+#[cfg(feature = "Storage_FileProperties")]
+pub mod FileProperties;
+#[cfg(feature = "Storage_Pickers")]
+pub mod Pickers;
+#[cfg(feature = "Storage_Provider")]
+pub mod Provider;
+#[cfg(feature = "Storage_Search")]
+pub mod Search;
+#[cfg(feature = "Storage_Streams")]
+pub mod Streams;
+pub type AppDataPaths = *mut ::core::ffi::c_void;
+pub type ApplicationData = *mut ::core::ffi::c_void;
+pub type ApplicationDataCompositeValue = *mut ::core::ffi::c_void;
+pub type ApplicationDataContainer = *mut ::core::ffi::c_void;
+pub type ApplicationDataContainerSettings = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct ApplicationDataCreateDisposition(pub i32);
+impl ApplicationDataCreateDisposition {
+ pub const Always: Self = Self(0i32);
+ pub const Existing: Self = Self(1i32);
+}
+impl ::core::marker::Copy for ApplicationDataCreateDisposition {}
+impl ::core::clone::Clone for ApplicationDataCreateDisposition {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct ApplicationDataLocality(pub i32);
+impl ApplicationDataLocality {
+ pub const Local: Self = Self(0i32);
+ pub const Roaming: Self = Self(1i32);
+ pub const Temporary: Self = Self(2i32);
+ pub const LocalCache: Self = Self(3i32);
+ pub const SharedLocal: Self = Self(4i32);
+}
+impl ::core::marker::Copy for ApplicationDataLocality {}
+impl ::core::clone::Clone for ApplicationDataLocality {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ApplicationDataSetVersionHandler = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct CreationCollisionOption(pub i32);
+impl CreationCollisionOption {
+ pub const GenerateUniqueName: Self = Self(0i32);
+ pub const ReplaceExisting: Self = Self(1i32);
+ pub const FailIfExists: Self = Self(2i32);
+ pub const OpenIfExists: Self = Self(3i32);
+}
+impl ::core::marker::Copy for CreationCollisionOption {}
+impl ::core::clone::Clone for CreationCollisionOption {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct FileAccessMode(pub i32);
+impl FileAccessMode {
+ pub const Read: Self = Self(0i32);
+ pub const ReadWrite: Self = Self(1i32);
+}
+impl ::core::marker::Copy for FileAccessMode {}
+impl ::core::clone::Clone for FileAccessMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct FileAttributes(pub u32);
+impl FileAttributes {
+ pub const Normal: Self = Self(0u32);
+ pub const ReadOnly: Self = Self(1u32);
+ pub const Directory: Self = Self(16u32);
+ pub const Archive: Self = Self(32u32);
+ pub const Temporary: Self = Self(256u32);
+ pub const LocallyIncomplete: Self = Self(512u32);
+}
+impl ::core::marker::Copy for FileAttributes {}
+impl ::core::clone::Clone for FileAttributes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IStorageFile = *mut ::core::ffi::c_void;
+pub type IStorageFile2 = *mut ::core::ffi::c_void;
+pub type IStorageFilePropertiesWithAvailability = *mut ::core::ffi::c_void;
+pub type IStorageFolder = *mut ::core::ffi::c_void;
+pub type IStorageFolder2 = *mut ::core::ffi::c_void;
+pub type IStorageItem = *mut ::core::ffi::c_void;
+pub type IStorageItem2 = *mut ::core::ffi::c_void;
+pub type IStorageItemProperties = *mut ::core::ffi::c_void;
+pub type IStorageItemProperties2 = *mut ::core::ffi::c_void;
+pub type IStorageItemPropertiesWithProvider = *mut ::core::ffi::c_void;
+pub type IStreamedFileDataRequest = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct KnownFolderId(pub i32);
+impl KnownFolderId {
+ pub const AppCaptures: Self = Self(0i32);
+ pub const CameraRoll: Self = Self(1i32);
+ pub const DocumentsLibrary: Self = Self(2i32);
+ pub const HomeGroup: Self = Self(3i32);
+ pub const MediaServerDevices: Self = Self(4i32);
+ pub const MusicLibrary: Self = Self(5i32);
+ pub const Objects3D: Self = Self(6i32);
+ pub const PicturesLibrary: Self = Self(7i32);
+ pub const Playlists: Self = Self(8i32);
+ pub const RecordedCalls: Self = Self(9i32);
+ pub const RemovableDevices: Self = Self(10i32);
+ pub const SavedPictures: Self = Self(11i32);
+ pub const Screenshots: Self = Self(12i32);
+ pub const VideosLibrary: Self = Self(13i32);
+ pub const AllAppMods: Self = Self(14i32);
+ pub const CurrentAppMods: Self = Self(15i32);
+ pub const DownloadsFolder: Self = Self(16i32);
+}
+impl ::core::marker::Copy for KnownFolderId {}
+impl ::core::clone::Clone for KnownFolderId {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct KnownFoldersAccessStatus(pub i32);
+impl KnownFoldersAccessStatus {
+ pub const DeniedBySystem: Self = Self(0i32);
+ pub const NotDeclaredByApp: Self = Self(1i32);
+ pub const DeniedByUser: Self = Self(2i32);
+ pub const UserPromptRequired: Self = Self(3i32);
+ pub const Allowed: Self = Self(4i32);
+ pub const AllowedPerAppFolder: Self = Self(5i32);
+}
+impl ::core::marker::Copy for KnownFoldersAccessStatus {}
+impl ::core::clone::Clone for KnownFoldersAccessStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct KnownLibraryId(pub i32);
+impl KnownLibraryId {
+ pub const Music: Self = Self(0i32);
+ pub const Pictures: Self = Self(1i32);
+ pub const Videos: Self = Self(2i32);
+ pub const Documents: Self = Self(3i32);
+}
+impl ::core::marker::Copy for KnownLibraryId {}
+impl ::core::clone::Clone for KnownLibraryId {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct NameCollisionOption(pub i32);
+impl NameCollisionOption {
+ pub const GenerateUniqueName: Self = Self(0i32);
+ pub const ReplaceExisting: Self = Self(1i32);
+ pub const FailIfExists: Self = Self(2i32);
+}
+impl ::core::marker::Copy for NameCollisionOption {}
+impl ::core::clone::Clone for NameCollisionOption {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SetVersionDeferral = *mut ::core::ffi::c_void;
+pub type SetVersionRequest = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct StorageDeleteOption(pub i32);
+impl StorageDeleteOption {
+ pub const Default: Self = Self(0i32);
+ pub const PermanentDelete: Self = Self(1i32);
+}
+impl ::core::marker::Copy for StorageDeleteOption {}
+impl ::core::clone::Clone for StorageDeleteOption {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StorageFile = *mut ::core::ffi::c_void;
+pub type StorageFolder = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct StorageItemTypes(pub u32);
+impl StorageItemTypes {
+ pub const None: Self = Self(0u32);
+ pub const File: Self = Self(1u32);
+ pub const Folder: Self = Self(2u32);
+}
+impl ::core::marker::Copy for StorageItemTypes {}
+impl ::core::clone::Clone for StorageItemTypes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StorageLibrary = *mut ::core::ffi::c_void;
+pub type StorageLibraryChange = *mut ::core::ffi::c_void;
+pub type StorageLibraryChangeReader = *mut ::core::ffi::c_void;
+pub type StorageLibraryChangeTracker = *mut ::core::ffi::c_void;
+pub type StorageLibraryChangeTrackerOptions = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct StorageLibraryChangeType(pub i32);
+impl StorageLibraryChangeType {
+ pub const Created: Self = Self(0i32);
+ pub const Deleted: Self = Self(1i32);
+ pub const MovedOrRenamed: Self = Self(2i32);
+ pub const ContentsChanged: Self = Self(3i32);
+ pub const MovedOutOfLibrary: Self = Self(4i32);
+ pub const MovedIntoLibrary: Self = Self(5i32);
+ pub const ContentsReplaced: Self = Self(6i32);
+ pub const IndexingStatusChanged: Self = Self(7i32);
+ pub const EncryptionChanged: Self = Self(8i32);
+ pub const ChangeTrackingLost: Self = Self(9i32);
+}
+impl ::core::marker::Copy for StorageLibraryChangeType {}
+impl ::core::clone::Clone for StorageLibraryChangeType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StorageLibraryLastChangeId = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct StorageOpenOptions(pub u32);
+impl StorageOpenOptions {
+ pub const None: Self = Self(0u32);
+ pub const AllowOnlyReaders: Self = Self(1u32);
+ pub const AllowReadersAndWriters: Self = Self(2u32);
+}
+impl ::core::marker::Copy for StorageOpenOptions {}
+impl ::core::clone::Clone for StorageOpenOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StorageProvider = *mut ::core::ffi::c_void;
+pub type StorageStreamTransaction = *mut ::core::ffi::c_void;
+pub type StreamedFileDataRequest = *mut ::core::ffi::c_void;
+pub type StreamedFileDataRequestedHandler = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Storage\"`*"]
+#[repr(transparent)]
+pub struct StreamedFileFailureMode(pub i32);
+impl StreamedFileFailureMode {
+ pub const Failed: Self = Self(0i32);
+ pub const CurrentlyUnavailable: Self = Self(1i32);
+ pub const Incomplete: Self = Self(2i32);
+}
+impl ::core::marker::Copy for StreamedFileFailureMode {}
+impl ::core::clone::Clone for StreamedFileFailureMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SystemAudioProperties = *mut ::core::ffi::c_void;
+pub type SystemDataPaths = *mut ::core::ffi::c_void;
+pub type SystemGPSProperties = *mut ::core::ffi::c_void;
+pub type SystemImageProperties = *mut ::core::ffi::c_void;
+pub type SystemMediaProperties = *mut ::core::ffi::c_void;
+pub type SystemMusicProperties = *mut ::core::ffi::c_void;
+pub type SystemPhotoProperties = *mut ::core::ffi::c_void;
+pub type SystemVideoProperties = *mut ::core::ffi::c_void;
+pub type UserDataPaths = *mut ::core::ffi::c_void;