]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Win32/Storage/Vhd/mod.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Storage / Vhd / mod.rs
CommitLineData
f25598a0
FG
1#[cfg(feature = "Win32_Foundation")]
2::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn AddVirtualDiskParent ( virtualdiskhandle : super::super::Foundation:: HANDLE , parentpath : :: windows_sys::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR );
3#[cfg(feature = "Win32_Foundation")]
4::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn ApplySnapshotVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const APPLY_SNAPSHOT_VHDSET_PARAMETERS , flags : APPLY_SNAPSHOT_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR );
5#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO"))]
6::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`*"] fn AttachVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , securitydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , flags : ATTACH_VIRTUAL_DISK_FLAG , providerspecificflags : u32 , parameters : *const ATTACH_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR );
7#[cfg(feature = "Win32_Foundation")]
8::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn BreakMirrorVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR );
9#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
10::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] fn CompactVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : COMPACT_VIRTUAL_DISK_FLAG , parameters : *const COMPACT_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR );
11#[cfg(feature = "Win32_Foundation")]
12::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn CompleteForkVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR );
13#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO"))]
14::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`*"] fn CreateVirtualDisk ( virtualstoragetype : *const VIRTUAL_STORAGE_TYPE , path : :: windows_sys::core::PCWSTR , virtualdiskaccessmask : VIRTUAL_DISK_ACCESS_MASK , securitydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR , flags : CREATE_VIRTUAL_DISK_FLAG , providerspecificflags : u32 , parameters : *const CREATE_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED , handle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR );
15#[cfg(feature = "Win32_Foundation")]
16::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn DeleteSnapshotVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const DELETE_SNAPSHOT_VHDSET_PARAMETERS , flags : DELETE_SNAPSHOT_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR );
17#[cfg(feature = "Win32_Foundation")]
18::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn DeleteVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , item : *const :: windows_sys::core::GUID ) -> super::super::Foundation:: WIN32_ERROR );
19#[cfg(feature = "Win32_Foundation")]
20::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn DetachVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : DETACH_VIRTUAL_DISK_FLAG , providerspecificflags : u32 ) -> super::super::Foundation:: WIN32_ERROR );
21#[cfg(feature = "Win32_Foundation")]
22::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn EnumerateVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , numberofitems : *mut u32 , items : *mut :: windows_sys::core::GUID ) -> super::super::Foundation:: WIN32_ERROR );
23#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
24::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] fn ExpandVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : EXPAND_VIRTUAL_DISK_FLAG , parameters : *const EXPAND_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR );
25#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
26::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] fn ForkVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : FORK_VIRTUAL_DISK_FLAG , parameters : *const FORK_VIRTUAL_DISK_PARAMETERS , overlapped : *mut super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR );
27#[cfg(feature = "Win32_Foundation")]
28::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn GetAllAttachedVirtualDiskPhysicalPaths ( pathsbuffersizeinbytes : *mut u32 , pathsbuffer : :: windows_sys::core::PWSTR ) -> super::super::Foundation:: WIN32_ERROR );
29#[cfg(feature = "Win32_Foundation")]
30::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn GetStorageDependencyInformation ( objecthandle : super::super::Foundation:: HANDLE , flags : GET_STORAGE_DEPENDENCY_FLAG , storagedependencyinfosize : u32 , storagedependencyinfo : *mut STORAGE_DEPENDENCY_INFO , sizeused : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR );
31#[cfg(feature = "Win32_Foundation")]
32::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn GetVirtualDiskInformation ( virtualdiskhandle : super::super::Foundation:: HANDLE , virtualdiskinfosize : *mut u32 , virtualdiskinfo : *mut GET_VIRTUAL_DISK_INFO , sizeused : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR );
33#[cfg(feature = "Win32_Foundation")]
34::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn GetVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , item : *const :: windows_sys::core::GUID , metadatasize : *mut u32 , metadata : *mut ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR );
35#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
36::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] fn GetVirtualDiskOperationProgress ( virtualdiskhandle : super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED , progress : *mut VIRTUAL_DISK_PROGRESS ) -> super::super::Foundation:: WIN32_ERROR );
37#[cfg(feature = "Win32_Foundation")]
38::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn GetVirtualDiskPhysicalPath ( virtualdiskhandle : super::super::Foundation:: HANDLE , diskpathsizeinbytes : *mut u32 , diskpath : :: windows_sys::core::PWSTR ) -> super::super::Foundation:: WIN32_ERROR );
39#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
40::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] fn MergeVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : MERGE_VIRTUAL_DISK_FLAG , parameters : *const MERGE_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR );
41#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
42::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] fn MirrorVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : MIRROR_VIRTUAL_DISK_FLAG , parameters : *const MIRROR_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR );
43#[cfg(feature = "Win32_Foundation")]
44::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn ModifyVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const MODIFY_VHDSET_PARAMETERS , flags : MODIFY_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR );
45#[cfg(feature = "Win32_Foundation")]
46::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn OpenVirtualDisk ( virtualstoragetype : *const VIRTUAL_STORAGE_TYPE , path : :: windows_sys::core::PCWSTR , virtualdiskaccessmask : VIRTUAL_DISK_ACCESS_MASK , flags : OPEN_VIRTUAL_DISK_FLAG , parameters : *const OPEN_VIRTUAL_DISK_PARAMETERS , handle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR );
47#[cfg(feature = "Win32_Foundation")]
48::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn QueryChangesVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , changetrackingid : :: windows_sys::core::PCWSTR , byteoffset : u64 , bytelength : u64 , flags : QUERY_CHANGES_VIRTUAL_DISK_FLAG , ranges : *mut QUERY_CHANGES_VIRTUAL_DISK_RANGE , rangecount : *mut u32 , processedlength : *mut u64 ) -> super::super::Foundation:: WIN32_ERROR );
49#[cfg(feature = "Win32_Foundation")]
50::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn RawSCSIVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const RAW_SCSI_VIRTUAL_DISK_PARAMETERS , flags : RAW_SCSI_VIRTUAL_DISK_FLAG , response : *mut RAW_SCSI_VIRTUAL_DISK_RESPONSE ) -> super::super::Foundation:: WIN32_ERROR );
51#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
52::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] fn ResizeVirtualDisk ( virtualdiskhandle : super::super::Foundation:: HANDLE , flags : RESIZE_VIRTUAL_DISK_FLAG , parameters : *const RESIZE_VIRTUAL_DISK_PARAMETERS , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: WIN32_ERROR );
53#[cfg(feature = "Win32_Foundation")]
54::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn SetVirtualDiskInformation ( virtualdiskhandle : super::super::Foundation:: HANDLE , virtualdiskinfo : *const SET_VIRTUAL_DISK_INFO ) -> super::super::Foundation:: WIN32_ERROR );
55#[cfg(feature = "Win32_Foundation")]
56::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn SetVirtualDiskMetadata ( virtualdiskhandle : super::super::Foundation:: HANDLE , item : *const :: windows_sys::core::GUID , metadatasize : u32 , metadata : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR );
57#[cfg(feature = "Win32_Foundation")]
58::windows_sys::core::link ! ( "virtdisk.dll""system" #[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"] fn TakeSnapshotVhdSet ( virtualdiskhandle : super::super::Foundation:: HANDLE , parameters : *const TAKE_SNAPSHOT_VHDSET_PARAMETERS , flags : TAKE_SNAPSHOT_VHDSET_FLAG ) -> super::super::Foundation:: WIN32_ERROR );
04454e1e 59#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
487cf647
FG
60pub const CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_BLOCK_SIZE: u32 = 0u32;
61#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
62pub const CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_SECTOR_SIZE: u32 = 0u32;
63#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
64pub const MERGE_VIRTUAL_DISK_DEFAULT_MERGE_DEPTH: u32 = 1u32;
65#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
66pub const OPEN_VIRTUAL_DISK_RW_DEPTH_DEFAULT: u32 = 1u32;
67#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
68pub const VIRTUAL_DISK_MAXIMUM_CHANGE_TRACKING_ID_LENGTH: u32 = 256u32;
69#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
70pub const VIRTUAL_STORAGE_TYPE_DEVICE_ISO: u32 = 1u32;
71#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
72pub const VIRTUAL_STORAGE_TYPE_DEVICE_UNKNOWN: u32 = 0u32;
73#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
74pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHD: u32 = 2u32;
75#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
76pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHDSET: u32 = 4u32;
77#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
78pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHDX: u32 = 3u32;
f25598a0
FG
79#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
80pub const VIRTUAL_STORAGE_TYPE_VENDOR_MICROSOFT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xec984aec_a0f9_47e9_901f_71415a66345b);
81#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
82pub const VIRTUAL_STORAGE_TYPE_VENDOR_UNKNOWN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x00000000_0000_0000_0000_000000000000);
487cf647 83#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085 84pub type APPLY_SNAPSHOT_VHDSET_FLAG = u32;
04454e1e 85#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
487cf647
FG
86pub const APPLY_SNAPSHOT_VHDSET_FLAG_NONE: APPLY_SNAPSHOT_VHDSET_FLAG = 0u32;
87#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
88pub const APPLY_SNAPSHOT_VHDSET_FLAG_WRITEABLE: APPLY_SNAPSHOT_VHDSET_FLAG = 1u32;
89#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
90pub type APPLY_SNAPSHOT_VHDSET_VERSION = i32;
91#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
92pub const APPLY_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: APPLY_SNAPSHOT_VHDSET_VERSION = 0i32;
93#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
94pub const APPLY_SNAPSHOT_VHDSET_VERSION_1: APPLY_SNAPSHOT_VHDSET_VERSION = 1i32;
95#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
96pub type ATTACH_VIRTUAL_DISK_FLAG = u32;
97#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
98pub const ATTACH_VIRTUAL_DISK_FLAG_NONE: ATTACH_VIRTUAL_DISK_FLAG = 0u32;
99#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
100pub const ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY: ATTACH_VIRTUAL_DISK_FLAG = 1u32;
101#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
102pub const ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER: ATTACH_VIRTUAL_DISK_FLAG = 2u32;
103#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
104pub const ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME: ATTACH_VIRTUAL_DISK_FLAG = 4u32;
105#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
106pub const ATTACH_VIRTUAL_DISK_FLAG_NO_LOCAL_HOST: ATTACH_VIRTUAL_DISK_FLAG = 8u32;
107#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
108pub const ATTACH_VIRTUAL_DISK_FLAG_NO_SECURITY_DESCRIPTOR: ATTACH_VIRTUAL_DISK_FLAG = 16u32;
109#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
110pub const ATTACH_VIRTUAL_DISK_FLAG_BYPASS_DEFAULT_ENCRYPTION_POLICY: ATTACH_VIRTUAL_DISK_FLAG = 32u32;
111#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
112pub const ATTACH_VIRTUAL_DISK_FLAG_NON_PNP: ATTACH_VIRTUAL_DISK_FLAG = 64u32;
113#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
114pub const ATTACH_VIRTUAL_DISK_FLAG_RESTRICTED_RANGE: ATTACH_VIRTUAL_DISK_FLAG = 128u32;
115#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
116pub const ATTACH_VIRTUAL_DISK_FLAG_SINGLE_PARTITION: ATTACH_VIRTUAL_DISK_FLAG = 256u32;
117#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
118pub const ATTACH_VIRTUAL_DISK_FLAG_REGISTER_VOLUME: ATTACH_VIRTUAL_DISK_FLAG = 512u32;
119#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
120pub type ATTACH_VIRTUAL_DISK_VERSION = i32;
121#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
122pub const ATTACH_VIRTUAL_DISK_VERSION_UNSPECIFIED: ATTACH_VIRTUAL_DISK_VERSION = 0i32;
123#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
124pub const ATTACH_VIRTUAL_DISK_VERSION_1: ATTACH_VIRTUAL_DISK_VERSION = 1i32;
125#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
126pub const ATTACH_VIRTUAL_DISK_VERSION_2: ATTACH_VIRTUAL_DISK_VERSION = 2i32;
127#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
128pub type COMPACT_VIRTUAL_DISK_FLAG = u32;
129#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
130pub const COMPACT_VIRTUAL_DISK_FLAG_NONE: COMPACT_VIRTUAL_DISK_FLAG = 0u32;
131#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
132pub const COMPACT_VIRTUAL_DISK_FLAG_NO_ZERO_SCAN: COMPACT_VIRTUAL_DISK_FLAG = 1u32;
133#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
134pub const COMPACT_VIRTUAL_DISK_FLAG_NO_BLOCK_MOVES: COMPACT_VIRTUAL_DISK_FLAG = 2u32;
135#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
136pub type COMPACT_VIRTUAL_DISK_VERSION = i32;
137#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
138pub const COMPACT_VIRTUAL_DISK_VERSION_UNSPECIFIED: COMPACT_VIRTUAL_DISK_VERSION = 0i32;
139#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
140pub const COMPACT_VIRTUAL_DISK_VERSION_1: COMPACT_VIRTUAL_DISK_VERSION = 1i32;
141#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
142pub type CREATE_VIRTUAL_DISK_FLAG = u32;
143#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
144pub const CREATE_VIRTUAL_DISK_FLAG_NONE: CREATE_VIRTUAL_DISK_FLAG = 0u32;
145#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
146pub const CREATE_VIRTUAL_DISK_FLAG_FULL_PHYSICAL_ALLOCATION: CREATE_VIRTUAL_DISK_FLAG = 1u32;
147#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
148pub const CREATE_VIRTUAL_DISK_FLAG_PREVENT_WRITES_TO_SOURCE_DISK: CREATE_VIRTUAL_DISK_FLAG = 2u32;
149#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
150pub const CREATE_VIRTUAL_DISK_FLAG_DO_NOT_COPY_METADATA_FROM_PARENT: CREATE_VIRTUAL_DISK_FLAG = 4u32;
151#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
152pub const CREATE_VIRTUAL_DISK_FLAG_CREATE_BACKING_STORAGE: CREATE_VIRTUAL_DISK_FLAG = 8u32;
153#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
154pub const CREATE_VIRTUAL_DISK_FLAG_USE_CHANGE_TRACKING_SOURCE_LIMIT: CREATE_VIRTUAL_DISK_FLAG = 16u32;
155#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
156pub const CREATE_VIRTUAL_DISK_FLAG_PRESERVE_PARENT_CHANGE_TRACKING_STATE: CREATE_VIRTUAL_DISK_FLAG = 32u32;
157#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
158pub const CREATE_VIRTUAL_DISK_FLAG_VHD_SET_USE_ORIGINAL_BACKING_STORAGE: CREATE_VIRTUAL_DISK_FLAG = 64u32;
159#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
160pub const CREATE_VIRTUAL_DISK_FLAG_SPARSE_FILE: CREATE_VIRTUAL_DISK_FLAG = 128u32;
161#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
162pub const CREATE_VIRTUAL_DISK_FLAG_PMEM_COMPATIBLE: CREATE_VIRTUAL_DISK_FLAG = 256u32;
163#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
164pub const CREATE_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: CREATE_VIRTUAL_DISK_FLAG = 512u32;
165#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
166pub const CREATE_VIRTUAL_DISK_FLAG_SUPPORT_SPARSE_FILES_ANY_FS: CREATE_VIRTUAL_DISK_FLAG = 1024u32;
167#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
168pub type CREATE_VIRTUAL_DISK_VERSION = i32;
169#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
170pub const CREATE_VIRTUAL_DISK_VERSION_UNSPECIFIED: CREATE_VIRTUAL_DISK_VERSION = 0i32;
171#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
172pub const CREATE_VIRTUAL_DISK_VERSION_1: CREATE_VIRTUAL_DISK_VERSION = 1i32;
173#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
174pub const CREATE_VIRTUAL_DISK_VERSION_2: CREATE_VIRTUAL_DISK_VERSION = 2i32;
175#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
176pub const CREATE_VIRTUAL_DISK_VERSION_3: CREATE_VIRTUAL_DISK_VERSION = 3i32;
177#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
178pub const CREATE_VIRTUAL_DISK_VERSION_4: CREATE_VIRTUAL_DISK_VERSION = 4i32;
179#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
180pub type DELETE_SNAPSHOT_VHDSET_FLAG = u32;
181#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
182pub const DELETE_SNAPSHOT_VHDSET_FLAG_NONE: DELETE_SNAPSHOT_VHDSET_FLAG = 0u32;
183#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
184pub const DELETE_SNAPSHOT_VHDSET_FLAG_PERSIST_RCT: DELETE_SNAPSHOT_VHDSET_FLAG = 1u32;
185#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
186pub type DELETE_SNAPSHOT_VHDSET_VERSION = i32;
187#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
188pub const DELETE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: DELETE_SNAPSHOT_VHDSET_VERSION = 0i32;
189#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
190pub const DELETE_SNAPSHOT_VHDSET_VERSION_1: DELETE_SNAPSHOT_VHDSET_VERSION = 1i32;
191#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
192pub type DEPENDENT_DISK_FLAG = u32;
193#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
194pub const DEPENDENT_DISK_FLAG_NONE: DEPENDENT_DISK_FLAG = 0u32;
195#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
196pub const DEPENDENT_DISK_FLAG_MULT_BACKING_FILES: DEPENDENT_DISK_FLAG = 1u32;
197#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
198pub const DEPENDENT_DISK_FLAG_FULLY_ALLOCATED: DEPENDENT_DISK_FLAG = 2u32;
199#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
200pub const DEPENDENT_DISK_FLAG_READ_ONLY: DEPENDENT_DISK_FLAG = 4u32;
201#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
202pub const DEPENDENT_DISK_FLAG_REMOTE: DEPENDENT_DISK_FLAG = 8u32;
203#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
204pub const DEPENDENT_DISK_FLAG_SYSTEM_VOLUME: DEPENDENT_DISK_FLAG = 16u32;
205#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
206pub const DEPENDENT_DISK_FLAG_SYSTEM_VOLUME_PARENT: DEPENDENT_DISK_FLAG = 32u32;
207#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
208pub const DEPENDENT_DISK_FLAG_REMOVABLE: DEPENDENT_DISK_FLAG = 64u32;
209#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
210pub const DEPENDENT_DISK_FLAG_NO_DRIVE_LETTER: DEPENDENT_DISK_FLAG = 128u32;
211#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
212pub const DEPENDENT_DISK_FLAG_PARENT: DEPENDENT_DISK_FLAG = 256u32;
213#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
214pub const DEPENDENT_DISK_FLAG_NO_HOST_DISK: DEPENDENT_DISK_FLAG = 512u32;
215#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
216pub const DEPENDENT_DISK_FLAG_PERMANENT_LIFETIME: DEPENDENT_DISK_FLAG = 1024u32;
217#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
218pub const DEPENDENT_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: DEPENDENT_DISK_FLAG = 2048u32;
219#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
220pub const DEPENDENT_DISK_FLAG_ALWAYS_ALLOW_SPARSE: DEPENDENT_DISK_FLAG = 4096u32;
221#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
222pub const DEPENDENT_DISK_FLAG_SUPPORT_ENCRYPTED_FILES: DEPENDENT_DISK_FLAG = 8192u32;
223#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
224pub type DETACH_VIRTUAL_DISK_FLAG = u32;
225#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
226pub const DETACH_VIRTUAL_DISK_FLAG_NONE: DETACH_VIRTUAL_DISK_FLAG = 0u32;
227#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
228pub type EXPAND_VIRTUAL_DISK_FLAG = u32;
229#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
230pub const EXPAND_VIRTUAL_DISK_FLAG_NONE: EXPAND_VIRTUAL_DISK_FLAG = 0u32;
231#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
232pub const EXPAND_VIRTUAL_DISK_FLAG_NOTIFY_CHANGE: EXPAND_VIRTUAL_DISK_FLAG = 1u32;
233#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
234pub type EXPAND_VIRTUAL_DISK_VERSION = i32;
235#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
236pub const EXPAND_VIRTUAL_DISK_VERSION_UNSPECIFIED: EXPAND_VIRTUAL_DISK_VERSION = 0i32;
237#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
238pub const EXPAND_VIRTUAL_DISK_VERSION_1: EXPAND_VIRTUAL_DISK_VERSION = 1i32;
239#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
240pub type FORK_VIRTUAL_DISK_FLAG = u32;
241#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
242pub const FORK_VIRTUAL_DISK_FLAG_NONE: FORK_VIRTUAL_DISK_FLAG = 0u32;
243#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
244pub const FORK_VIRTUAL_DISK_FLAG_EXISTING_FILE: FORK_VIRTUAL_DISK_FLAG = 1u32;
245#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
246pub type FORK_VIRTUAL_DISK_VERSION = i32;
247#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
248pub const FORK_VIRTUAL_DISK_VERSION_UNSPECIFIED: FORK_VIRTUAL_DISK_VERSION = 0i32;
249#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
250pub const FORK_VIRTUAL_DISK_VERSION_1: FORK_VIRTUAL_DISK_VERSION = 1i32;
251#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
252pub type GET_STORAGE_DEPENDENCY_FLAG = u32;
253#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
254pub const GET_STORAGE_DEPENDENCY_FLAG_NONE: GET_STORAGE_DEPENDENCY_FLAG = 0u32;
255#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
256pub const GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES: GET_STORAGE_DEPENDENCY_FLAG = 1u32;
257#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
258pub const GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE: GET_STORAGE_DEPENDENCY_FLAG = 2u32;
259#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
260pub type GET_VIRTUAL_DISK_INFO_VERSION = i32;
261#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
262pub const GET_VIRTUAL_DISK_INFO_UNSPECIFIED: GET_VIRTUAL_DISK_INFO_VERSION = 0i32;
263#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
264pub const GET_VIRTUAL_DISK_INFO_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 1i32;
265#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
266pub const GET_VIRTUAL_DISK_INFO_IDENTIFIER: GET_VIRTUAL_DISK_INFO_VERSION = 2i32;
267#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
268pub const GET_VIRTUAL_DISK_INFO_PARENT_LOCATION: GET_VIRTUAL_DISK_INFO_VERSION = 3i32;
269#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
270pub const GET_VIRTUAL_DISK_INFO_PARENT_IDENTIFIER: GET_VIRTUAL_DISK_INFO_VERSION = 4i32;
271#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
272pub const GET_VIRTUAL_DISK_INFO_PARENT_TIMESTAMP: GET_VIRTUAL_DISK_INFO_VERSION = 5i32;
273#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
274pub const GET_VIRTUAL_DISK_INFO_VIRTUAL_STORAGE_TYPE: GET_VIRTUAL_DISK_INFO_VERSION = 6i32;
275#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
276pub const GET_VIRTUAL_DISK_INFO_PROVIDER_SUBTYPE: GET_VIRTUAL_DISK_INFO_VERSION = 7i32;
277#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
278pub const GET_VIRTUAL_DISK_INFO_IS_4K_ALIGNED: GET_VIRTUAL_DISK_INFO_VERSION = 8i32;
279#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
280pub const GET_VIRTUAL_DISK_INFO_PHYSICAL_DISK: GET_VIRTUAL_DISK_INFO_VERSION = 9i32;
281#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
282pub const GET_VIRTUAL_DISK_INFO_VHD_PHYSICAL_SECTOR_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 10i32;
283#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
284pub const GET_VIRTUAL_DISK_INFO_SMALLEST_SAFE_VIRTUAL_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 11i32;
285#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
286pub const GET_VIRTUAL_DISK_INFO_FRAGMENTATION: GET_VIRTUAL_DISK_INFO_VERSION = 12i32;
287#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
288pub const GET_VIRTUAL_DISK_INFO_IS_LOADED: GET_VIRTUAL_DISK_INFO_VERSION = 13i32;
289#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
290pub const GET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID: GET_VIRTUAL_DISK_INFO_VERSION = 14i32;
291#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
292pub const GET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE: GET_VIRTUAL_DISK_INFO_VERSION = 15i32;
293#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
294pub type MERGE_VIRTUAL_DISK_FLAG = u32;
295#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
296pub const MERGE_VIRTUAL_DISK_FLAG_NONE: MERGE_VIRTUAL_DISK_FLAG = 0u32;
297#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
298pub type MERGE_VIRTUAL_DISK_VERSION = i32;
299#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
300pub const MERGE_VIRTUAL_DISK_VERSION_UNSPECIFIED: MERGE_VIRTUAL_DISK_VERSION = 0i32;
301#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
302pub const MERGE_VIRTUAL_DISK_VERSION_1: MERGE_VIRTUAL_DISK_VERSION = 1i32;
303#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
304pub const MERGE_VIRTUAL_DISK_VERSION_2: MERGE_VIRTUAL_DISK_VERSION = 2i32;
305#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
306pub type MIRROR_VIRTUAL_DISK_FLAG = u32;
307#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
308pub const MIRROR_VIRTUAL_DISK_FLAG_NONE: MIRROR_VIRTUAL_DISK_FLAG = 0u32;
309#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
310pub const MIRROR_VIRTUAL_DISK_FLAG_EXISTING_FILE: MIRROR_VIRTUAL_DISK_FLAG = 1u32;
311#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
312pub const MIRROR_VIRTUAL_DISK_FLAG_SKIP_MIRROR_ACTIVATION: MIRROR_VIRTUAL_DISK_FLAG = 2u32;
313#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
314pub const MIRROR_VIRTUAL_DISK_FLAG_ENABLE_SMB_COMPRESSION: MIRROR_VIRTUAL_DISK_FLAG = 4u32;
315#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
316pub const MIRROR_VIRTUAL_DISK_FLAG_IS_LIVE_MIGRATION: MIRROR_VIRTUAL_DISK_FLAG = 8u32;
317#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
318pub type MIRROR_VIRTUAL_DISK_VERSION = i32;
319#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
320pub const MIRROR_VIRTUAL_DISK_VERSION_UNSPECIFIED: MIRROR_VIRTUAL_DISK_VERSION = 0i32;
321#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
322pub const MIRROR_VIRTUAL_DISK_VERSION_1: MIRROR_VIRTUAL_DISK_VERSION = 1i32;
323#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
324pub type MODIFY_VHDSET_FLAG = u32;
325#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
326pub const MODIFY_VHDSET_FLAG_NONE: MODIFY_VHDSET_FLAG = 0u32;
327#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
328pub const MODIFY_VHDSET_FLAG_WRITEABLE_SNAPSHOT: MODIFY_VHDSET_FLAG = 1u32;
329#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
330pub type MODIFY_VHDSET_VERSION = i32;
331#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
332pub const MODIFY_VHDSET_UNSPECIFIED: MODIFY_VHDSET_VERSION = 0i32;
333#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
334pub const MODIFY_VHDSET_SNAPSHOT_PATH: MODIFY_VHDSET_VERSION = 1i32;
335#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
336pub const MODIFY_VHDSET_REMOVE_SNAPSHOT: MODIFY_VHDSET_VERSION = 2i32;
337#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
338pub const MODIFY_VHDSET_DEFAULT_SNAPSHOT_PATH: MODIFY_VHDSET_VERSION = 3i32;
339#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
340pub type OPEN_VIRTUAL_DISK_FLAG = u32;
341#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
342pub const OPEN_VIRTUAL_DISK_FLAG_NONE: OPEN_VIRTUAL_DISK_FLAG = 0u32;
343#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
344pub const OPEN_VIRTUAL_DISK_FLAG_NO_PARENTS: OPEN_VIRTUAL_DISK_FLAG = 1u32;
345#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
346pub const OPEN_VIRTUAL_DISK_FLAG_BLANK_FILE: OPEN_VIRTUAL_DISK_FLAG = 2u32;
347#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
348pub const OPEN_VIRTUAL_DISK_FLAG_BOOT_DRIVE: OPEN_VIRTUAL_DISK_FLAG = 4u32;
349#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
350pub const OPEN_VIRTUAL_DISK_FLAG_CACHED_IO: OPEN_VIRTUAL_DISK_FLAG = 8u32;
351#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
352pub const OPEN_VIRTUAL_DISK_FLAG_CUSTOM_DIFF_CHAIN: OPEN_VIRTUAL_DISK_FLAG = 16u32;
353#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
354pub const OPEN_VIRTUAL_DISK_FLAG_PARENT_CACHED_IO: OPEN_VIRTUAL_DISK_FLAG = 32u32;
355#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
356pub const OPEN_VIRTUAL_DISK_FLAG_VHDSET_FILE_ONLY: OPEN_VIRTUAL_DISK_FLAG = 64u32;
357#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
358pub const OPEN_VIRTUAL_DISK_FLAG_IGNORE_RELATIVE_PARENT_LOCATOR: OPEN_VIRTUAL_DISK_FLAG = 128u32;
359#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
360pub const OPEN_VIRTUAL_DISK_FLAG_NO_WRITE_HARDENING: OPEN_VIRTUAL_DISK_FLAG = 256u32;
361#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
362pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: OPEN_VIRTUAL_DISK_FLAG = 512u32;
363#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
364pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_SPARSE_FILES_ANY_FS: OPEN_VIRTUAL_DISK_FLAG = 1024u32;
04454e1e 365#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
487cf647
FG
366pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_ENCRYPTED_FILES: OPEN_VIRTUAL_DISK_FLAG = 2048u32;
367#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
368pub type OPEN_VIRTUAL_DISK_VERSION = i32;
369#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
370pub const OPEN_VIRTUAL_DISK_VERSION_UNSPECIFIED: OPEN_VIRTUAL_DISK_VERSION = 0i32;
371#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
372pub const OPEN_VIRTUAL_DISK_VERSION_1: OPEN_VIRTUAL_DISK_VERSION = 1i32;
373#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
374pub const OPEN_VIRTUAL_DISK_VERSION_2: OPEN_VIRTUAL_DISK_VERSION = 2i32;
375#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
376pub const OPEN_VIRTUAL_DISK_VERSION_3: OPEN_VIRTUAL_DISK_VERSION = 3i32;
377#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
378pub type QUERY_CHANGES_VIRTUAL_DISK_FLAG = u32;
379#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
380pub const QUERY_CHANGES_VIRTUAL_DISK_FLAG_NONE: QUERY_CHANGES_VIRTUAL_DISK_FLAG = 0u32;
381#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
382pub type RAW_SCSI_VIRTUAL_DISK_FLAG = u32;
383#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
384pub const RAW_SCSI_VIRTUAL_DISK_FLAG_NONE: RAW_SCSI_VIRTUAL_DISK_FLAG = 0u32;
385#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
386pub type RAW_SCSI_VIRTUAL_DISK_VERSION = i32;
387#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
388pub const RAW_SCSI_VIRTUAL_DISK_VERSION_UNSPECIFIED: RAW_SCSI_VIRTUAL_DISK_VERSION = 0i32;
389#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
390pub const RAW_SCSI_VIRTUAL_DISK_VERSION_1: RAW_SCSI_VIRTUAL_DISK_VERSION = 1i32;
391#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
392pub type RESIZE_VIRTUAL_DISK_FLAG = u32;
393#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
394pub const RESIZE_VIRTUAL_DISK_FLAG_NONE: RESIZE_VIRTUAL_DISK_FLAG = 0u32;
395#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
396pub const RESIZE_VIRTUAL_DISK_FLAG_ALLOW_UNSAFE_VIRTUAL_SIZE: RESIZE_VIRTUAL_DISK_FLAG = 1u32;
397#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
398pub const RESIZE_VIRTUAL_DISK_FLAG_RESIZE_TO_SMALLEST_SAFE_VIRTUAL_SIZE: RESIZE_VIRTUAL_DISK_FLAG = 2u32;
399#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
400pub type RESIZE_VIRTUAL_DISK_VERSION = i32;
401#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
402pub const RESIZE_VIRTUAL_DISK_VERSION_UNSPECIFIED: RESIZE_VIRTUAL_DISK_VERSION = 0i32;
403#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
404pub const RESIZE_VIRTUAL_DISK_VERSION_1: RESIZE_VIRTUAL_DISK_VERSION = 1i32;
405#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
406pub type SET_VIRTUAL_DISK_INFO_VERSION = i32;
407#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
408pub const SET_VIRTUAL_DISK_INFO_UNSPECIFIED: SET_VIRTUAL_DISK_INFO_VERSION = 0i32;
409#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
410pub const SET_VIRTUAL_DISK_INFO_PARENT_PATH: SET_VIRTUAL_DISK_INFO_VERSION = 1i32;
411#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
412pub const SET_VIRTUAL_DISK_INFO_IDENTIFIER: SET_VIRTUAL_DISK_INFO_VERSION = 2i32;
413#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
414pub const SET_VIRTUAL_DISK_INFO_PARENT_PATH_WITH_DEPTH: SET_VIRTUAL_DISK_INFO_VERSION = 3i32;
415#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
416pub const SET_VIRTUAL_DISK_INFO_PHYSICAL_SECTOR_SIZE: SET_VIRTUAL_DISK_INFO_VERSION = 4i32;
417#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
418pub const SET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID: SET_VIRTUAL_DISK_INFO_VERSION = 5i32;
419#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
420pub const SET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE: SET_VIRTUAL_DISK_INFO_VERSION = 6i32;
421#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
422pub const SET_VIRTUAL_DISK_INFO_PARENT_LOCATOR: SET_VIRTUAL_DISK_INFO_VERSION = 7i32;
423#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
424pub type STORAGE_DEPENDENCY_INFO_VERSION = i32;
425#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
426pub const STORAGE_DEPENDENCY_INFO_VERSION_UNSPECIFIED: STORAGE_DEPENDENCY_INFO_VERSION = 0i32;
427#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
428pub const STORAGE_DEPENDENCY_INFO_VERSION_1: STORAGE_DEPENDENCY_INFO_VERSION = 1i32;
429#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
430pub const STORAGE_DEPENDENCY_INFO_VERSION_2: STORAGE_DEPENDENCY_INFO_VERSION = 2i32;
431#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
432pub type TAKE_SNAPSHOT_VHDSET_FLAG = u32;
433#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
434pub const TAKE_SNAPSHOT_VHDSET_FLAG_NONE: TAKE_SNAPSHOT_VHDSET_FLAG = 0u32;
435#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
436pub const TAKE_SNAPSHOT_VHDSET_FLAG_WRITEABLE: TAKE_SNAPSHOT_VHDSET_FLAG = 1u32;
437#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
438pub type TAKE_SNAPSHOT_VHDSET_VERSION = i32;
439#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
440pub const TAKE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: TAKE_SNAPSHOT_VHDSET_VERSION = 0i32;
441#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
442pub const TAKE_SNAPSHOT_VHDSET_VERSION_1: TAKE_SNAPSHOT_VHDSET_VERSION = 1i32;
443#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
444pub type VIRTUAL_DISK_ACCESS_MASK = u32;
445#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
446pub const VIRTUAL_DISK_ACCESS_NONE: VIRTUAL_DISK_ACCESS_MASK = 0u32;
447#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
448pub const VIRTUAL_DISK_ACCESS_ATTACH_RO: VIRTUAL_DISK_ACCESS_MASK = 65536u32;
449#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
450pub const VIRTUAL_DISK_ACCESS_ATTACH_RW: VIRTUAL_DISK_ACCESS_MASK = 131072u32;
451#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
452pub const VIRTUAL_DISK_ACCESS_DETACH: VIRTUAL_DISK_ACCESS_MASK = 262144u32;
453#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
454pub const VIRTUAL_DISK_ACCESS_GET_INFO: VIRTUAL_DISK_ACCESS_MASK = 524288u32;
455#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
456pub const VIRTUAL_DISK_ACCESS_CREATE: VIRTUAL_DISK_ACCESS_MASK = 1048576u32;
457#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
458pub const VIRTUAL_DISK_ACCESS_METAOPS: VIRTUAL_DISK_ACCESS_MASK = 2097152u32;
459#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
460pub const VIRTUAL_DISK_ACCESS_READ: VIRTUAL_DISK_ACCESS_MASK = 851968u32;
461#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
462pub const VIRTUAL_DISK_ACCESS_ALL: VIRTUAL_DISK_ACCESS_MASK = 4128768u32;
463#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
464pub const VIRTUAL_DISK_ACCESS_WRITABLE: VIRTUAL_DISK_ACCESS_MASK = 3276800u32;
5e7ed085 465#[repr(C)]
04454e1e 466#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
467pub struct APPLY_SNAPSHOT_VHDSET_PARAMETERS {
468 pub Version: APPLY_SNAPSHOT_VHDSET_VERSION,
469 pub Anonymous: APPLY_SNAPSHOT_VHDSET_PARAMETERS_0,
470}
471impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS {}
472impl ::core::clone::Clone for APPLY_SNAPSHOT_VHDSET_PARAMETERS {
473 fn clone(&self) -> Self {
474 *self
475 }
476}
477#[repr(C)]
04454e1e 478#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
479pub union APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 {
480 pub Version1: APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0,
481}
482impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 {}
483impl ::core::clone::Clone for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 {
484 fn clone(&self) -> Self {
485 *self
486 }
487}
488#[repr(C)]
04454e1e 489#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
490pub struct APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 {
491 pub SnapshotId: ::windows_sys::core::GUID,
492 pub LeafSnapshotId: ::windows_sys::core::GUID,
493}
494impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 {}
495impl ::core::clone::Clone for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 {
496 fn clone(&self) -> Self {
497 *self
498 }
499}
5e7ed085 500#[repr(C)]
04454e1e 501#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
502pub struct ATTACH_VIRTUAL_DISK_PARAMETERS {
503 pub Version: ATTACH_VIRTUAL_DISK_VERSION,
504 pub Anonymous: ATTACH_VIRTUAL_DISK_PARAMETERS_0,
505}
506impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS {}
507impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS {
508 fn clone(&self) -> Self {
509 *self
510 }
511}
512#[repr(C)]
04454e1e 513#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
514pub union ATTACH_VIRTUAL_DISK_PARAMETERS_0 {
515 pub Version1: ATTACH_VIRTUAL_DISK_PARAMETERS_0_0,
516 pub Version2: ATTACH_VIRTUAL_DISK_PARAMETERS_0_1,
517}
518impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0 {}
519impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS_0 {
520 fn clone(&self) -> Self {
521 *self
522 }
523}
524#[repr(C)]
04454e1e 525#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
526pub struct ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 {
527 pub Reserved: u32,
528}
529impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 {}
530impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 {
531 fn clone(&self) -> Self {
532 *self
533 }
534}
535#[repr(C)]
04454e1e 536#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
537pub struct ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 {
538 pub RestrictedOffset: u64,
539 pub RestrictedLength: u64,
540}
541impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 {}
542impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 {
543 fn clone(&self) -> Self {
544 *self
545 }
546}
5e7ed085 547#[repr(C)]
04454e1e 548#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
549pub struct COMPACT_VIRTUAL_DISK_PARAMETERS {
550 pub Version: COMPACT_VIRTUAL_DISK_VERSION,
551 pub Anonymous: COMPACT_VIRTUAL_DISK_PARAMETERS_0,
552}
553impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS {}
554impl ::core::clone::Clone for COMPACT_VIRTUAL_DISK_PARAMETERS {
555 fn clone(&self) -> Self {
556 *self
557 }
558}
559#[repr(C)]
04454e1e 560#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
561pub union COMPACT_VIRTUAL_DISK_PARAMETERS_0 {
562 pub Version1: COMPACT_VIRTUAL_DISK_PARAMETERS_0_0,
563}
564impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS_0 {}
565impl ::core::clone::Clone for COMPACT_VIRTUAL_DISK_PARAMETERS_0 {
566 fn clone(&self) -> Self {
567 *self
568 }
569}
570#[repr(C)]
04454e1e 571#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
572pub struct COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 {
573 pub Reserved: u32,
574}
575impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 {}
576impl ::core::clone::Clone for COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 {
577 fn clone(&self) -> Self {
578 *self
579 }
580}
5e7ed085 581#[repr(C)]
04454e1e 582#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
583pub struct CREATE_VIRTUAL_DISK_PARAMETERS {
584 pub Version: CREATE_VIRTUAL_DISK_VERSION,
585 pub Anonymous: CREATE_VIRTUAL_DISK_PARAMETERS_0,
586}
5e7ed085 587impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS {}
5e7ed085
FG
588impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS {
589 fn clone(&self) -> Self {
590 *self
591 }
592}
593#[repr(C)]
04454e1e 594#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
595pub union CREATE_VIRTUAL_DISK_PARAMETERS_0 {
596 pub Version1: CREATE_VIRTUAL_DISK_PARAMETERS_0_0,
597 pub Version2: CREATE_VIRTUAL_DISK_PARAMETERS_0_1,
598 pub Version3: CREATE_VIRTUAL_DISK_PARAMETERS_0_2,
599 pub Version4: CREATE_VIRTUAL_DISK_PARAMETERS_0_3,
600}
5e7ed085 601impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0 {}
5e7ed085
FG
602impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0 {
603 fn clone(&self) -> Self {
604 *self
605 }
606}
607#[repr(C)]
04454e1e 608#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
609pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_0 {
610 pub UniqueId: ::windows_sys::core::GUID,
611 pub MaximumSize: u64,
612 pub BlockSizeInBytes: u32,
613 pub SectorSizeInBytes: u32,
04454e1e
FG
614 pub ParentPath: ::windows_sys::core::PCWSTR,
615 pub SourcePath: ::windows_sys::core::PCWSTR,
5e7ed085 616}
5e7ed085 617impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_0 {}
5e7ed085
FG
618impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_0 {
619 fn clone(&self) -> Self {
620 *self
621 }
622}
623#[repr(C)]
04454e1e 624#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
625pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_1 {
626 pub UniqueId: ::windows_sys::core::GUID,
627 pub MaximumSize: u64,
628 pub BlockSizeInBytes: u32,
629 pub SectorSizeInBytes: u32,
630 pub PhysicalSectorSizeInBytes: u32,
04454e1e
FG
631 pub ParentPath: ::windows_sys::core::PCWSTR,
632 pub SourcePath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
633 pub OpenFlags: OPEN_VIRTUAL_DISK_FLAG,
634 pub ParentVirtualStorageType: VIRTUAL_STORAGE_TYPE,
635 pub SourceVirtualStorageType: VIRTUAL_STORAGE_TYPE,
636 pub ResiliencyGuid: ::windows_sys::core::GUID,
637}
5e7ed085 638impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_1 {}
5e7ed085
FG
639impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_1 {
640 fn clone(&self) -> Self {
641 *self
642 }
643}
644#[repr(C)]
04454e1e 645#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
646pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_2 {
647 pub UniqueId: ::windows_sys::core::GUID,
648 pub MaximumSize: u64,
649 pub BlockSizeInBytes: u32,
650 pub SectorSizeInBytes: u32,
651 pub PhysicalSectorSizeInBytes: u32,
04454e1e
FG
652 pub ParentPath: ::windows_sys::core::PCWSTR,
653 pub SourcePath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
654 pub OpenFlags: OPEN_VIRTUAL_DISK_FLAG,
655 pub ParentVirtualStorageType: VIRTUAL_STORAGE_TYPE,
656 pub SourceVirtualStorageType: VIRTUAL_STORAGE_TYPE,
657 pub ResiliencyGuid: ::windows_sys::core::GUID,
04454e1e 658 pub SourceLimitPath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
659 pub BackingStorageType: VIRTUAL_STORAGE_TYPE,
660}
5e7ed085 661impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_2 {}
5e7ed085
FG
662impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_2 {
663 fn clone(&self) -> Self {
664 *self
665 }
666}
667#[repr(C)]
04454e1e 668#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
669pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_3 {
670 pub UniqueId: ::windows_sys::core::GUID,
671 pub MaximumSize: u64,
672 pub BlockSizeInBytes: u32,
673 pub SectorSizeInBytes: u32,
674 pub PhysicalSectorSizeInBytes: u32,
04454e1e
FG
675 pub ParentPath: ::windows_sys::core::PCWSTR,
676 pub SourcePath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
677 pub OpenFlags: OPEN_VIRTUAL_DISK_FLAG,
678 pub ParentVirtualStorageType: VIRTUAL_STORAGE_TYPE,
679 pub SourceVirtualStorageType: VIRTUAL_STORAGE_TYPE,
680 pub ResiliencyGuid: ::windows_sys::core::GUID,
04454e1e 681 pub SourceLimitPath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
682 pub BackingStorageType: VIRTUAL_STORAGE_TYPE,
683 pub PmemAddressAbstractionType: ::windows_sys::core::GUID,
684 pub DataAlignment: u64,
685}
5e7ed085 686impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_3 {}
5e7ed085
FG
687impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_3 {
688 fn clone(&self) -> Self {
689 *self
690 }
691}
5e7ed085 692#[repr(C)]
04454e1e 693#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
694pub struct DELETE_SNAPSHOT_VHDSET_PARAMETERS {
695 pub Version: DELETE_SNAPSHOT_VHDSET_VERSION,
696 pub Anonymous: DELETE_SNAPSHOT_VHDSET_PARAMETERS_0,
697}
698impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS {}
699impl ::core::clone::Clone for DELETE_SNAPSHOT_VHDSET_PARAMETERS {
700 fn clone(&self) -> Self {
701 *self
702 }
703}
704#[repr(C)]
04454e1e 705#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
706pub union DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 {
707 pub Version1: DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0,
708}
709impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 {}
710impl ::core::clone::Clone for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 {
711 fn clone(&self) -> Self {
712 *self
713 }
714}
715#[repr(C)]
04454e1e 716#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
717pub struct DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {
718 pub SnapshotId: ::windows_sys::core::GUID,
719}
487cf647
FG
720impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {}
721impl ::core::clone::Clone for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {
722 fn clone(&self) -> Self {
723 *self
724 }
725}
5e7ed085 726#[repr(C)]
04454e1e 727#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
728pub struct EXPAND_VIRTUAL_DISK_PARAMETERS {
729 pub Version: EXPAND_VIRTUAL_DISK_VERSION,
730 pub Anonymous: EXPAND_VIRTUAL_DISK_PARAMETERS_0,
731}
732impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS {}
733impl ::core::clone::Clone for EXPAND_VIRTUAL_DISK_PARAMETERS {
734 fn clone(&self) -> Self {
735 *self
736 }
737}
738#[repr(C)]
04454e1e 739#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
740pub union EXPAND_VIRTUAL_DISK_PARAMETERS_0 {
741 pub Version1: EXPAND_VIRTUAL_DISK_PARAMETERS_0_0,
742}
743impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS_0 {}
744impl ::core::clone::Clone for EXPAND_VIRTUAL_DISK_PARAMETERS_0 {
745 fn clone(&self) -> Self {
746 *self
747 }
748}
749#[repr(C)]
04454e1e 750#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
751pub struct EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 {
752 pub NewSize: u64,
753}
754impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 {}
755impl ::core::clone::Clone for EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 {
756 fn clone(&self) -> Self {
757 *self
758 }
759}
5e7ed085 760#[repr(C)]
04454e1e 761#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
762pub struct FORK_VIRTUAL_DISK_PARAMETERS {
763 pub Version: FORK_VIRTUAL_DISK_VERSION,
764 pub Anonymous: FORK_VIRTUAL_DISK_PARAMETERS_0,
765}
5e7ed085 766impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS {}
5e7ed085
FG
767impl ::core::clone::Clone for FORK_VIRTUAL_DISK_PARAMETERS {
768 fn clone(&self) -> Self {
769 *self
770 }
771}
772#[repr(C)]
04454e1e 773#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
774pub union FORK_VIRTUAL_DISK_PARAMETERS_0 {
775 pub Version1: FORK_VIRTUAL_DISK_PARAMETERS_0_0,
776}
5e7ed085 777impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS_0 {}
5e7ed085
FG
778impl ::core::clone::Clone for FORK_VIRTUAL_DISK_PARAMETERS_0 {
779 fn clone(&self) -> Self {
780 *self
781 }
782}
783#[repr(C)]
04454e1e 784#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085 785pub struct FORK_VIRTUAL_DISK_PARAMETERS_0_0 {
04454e1e 786 pub ForkedVirtualDiskPath: ::windows_sys::core::PCWSTR,
5e7ed085 787}
5e7ed085 788impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS_0_0 {}
5e7ed085
FG
789impl ::core::clone::Clone for FORK_VIRTUAL_DISK_PARAMETERS_0_0 {
790 fn clone(&self) -> Self {
791 *self
792 }
793}
5e7ed085 794#[repr(C)]
04454e1e 795#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
796#[cfg(feature = "Win32_Foundation")]
797pub struct GET_VIRTUAL_DISK_INFO {
798 pub Version: GET_VIRTUAL_DISK_INFO_VERSION,
799 pub Anonymous: GET_VIRTUAL_DISK_INFO_0,
800}
801#[cfg(feature = "Win32_Foundation")]
802impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO {}
803#[cfg(feature = "Win32_Foundation")]
804impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO {
805 fn clone(&self) -> Self {
806 *self
807 }
808}
809#[repr(C)]
04454e1e 810#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
811#[cfg(feature = "Win32_Foundation")]
812pub union GET_VIRTUAL_DISK_INFO_0 {
813 pub Size: GET_VIRTUAL_DISK_INFO_0_3,
814 pub Identifier: ::windows_sys::core::GUID,
815 pub ParentLocation: GET_VIRTUAL_DISK_INFO_0_1,
816 pub ParentIdentifier: ::windows_sys::core::GUID,
817 pub ParentTimestamp: u32,
818 pub VirtualStorageType: VIRTUAL_STORAGE_TYPE,
819 pub ProviderSubtype: u32,
820 pub Is4kAligned: super::super::Foundation::BOOL,
821 pub IsLoaded: super::super::Foundation::BOOL,
822 pub PhysicalDisk: GET_VIRTUAL_DISK_INFO_0_2,
823 pub VhdPhysicalSectorSize: u32,
824 pub SmallestSafeVirtualSize: u64,
825 pub FragmentationPercentage: u32,
826 pub VirtualDiskId: ::windows_sys::core::GUID,
827 pub ChangeTrackingState: GET_VIRTUAL_DISK_INFO_0_0,
828}
829#[cfg(feature = "Win32_Foundation")]
830impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0 {}
831#[cfg(feature = "Win32_Foundation")]
832impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0 {
833 fn clone(&self) -> Self {
834 *self
835 }
836}
837#[repr(C)]
04454e1e 838#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
839#[cfg(feature = "Win32_Foundation")]
840pub struct GET_VIRTUAL_DISK_INFO_0_0 {
841 pub Enabled: super::super::Foundation::BOOL,
842 pub NewerChanges: super::super::Foundation::BOOL,
843 pub MostRecentId: [u16; 1],
844}
845#[cfg(feature = "Win32_Foundation")]
846impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_0 {}
847#[cfg(feature = "Win32_Foundation")]
848impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_0 {
849 fn clone(&self) -> Self {
850 *self
851 }
852}
853#[repr(C)]
04454e1e 854#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
855#[cfg(feature = "Win32_Foundation")]
856pub struct GET_VIRTUAL_DISK_INFO_0_1 {
857 pub ParentResolved: super::super::Foundation::BOOL,
858 pub ParentLocationBuffer: [u16; 1],
859}
860#[cfg(feature = "Win32_Foundation")]
861impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_1 {}
862#[cfg(feature = "Win32_Foundation")]
863impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_1 {
864 fn clone(&self) -> Self {
865 *self
866 }
867}
868#[repr(C)]
04454e1e 869#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
870#[cfg(feature = "Win32_Foundation")]
871pub struct GET_VIRTUAL_DISK_INFO_0_2 {
872 pub LogicalSectorSize: u32,
873 pub PhysicalSectorSize: u32,
874 pub IsRemote: super::super::Foundation::BOOL,
875}
876#[cfg(feature = "Win32_Foundation")]
877impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_2 {}
878#[cfg(feature = "Win32_Foundation")]
879impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_2 {
880 fn clone(&self) -> Self {
881 *self
882 }
883}
884#[repr(C)]
04454e1e 885#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
886#[cfg(feature = "Win32_Foundation")]
887pub struct GET_VIRTUAL_DISK_INFO_0_3 {
888 pub VirtualSize: u64,
889 pub PhysicalSize: u64,
890 pub BlockSize: u32,
891 pub SectorSize: u32,
892}
893#[cfg(feature = "Win32_Foundation")]
894impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_3 {}
895#[cfg(feature = "Win32_Foundation")]
896impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_3 {
897 fn clone(&self) -> Self {
898 *self
899 }
900}
5e7ed085 901#[repr(C)]
04454e1e 902#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
903pub struct MERGE_VIRTUAL_DISK_PARAMETERS {
904 pub Version: MERGE_VIRTUAL_DISK_VERSION,
905 pub Anonymous: MERGE_VIRTUAL_DISK_PARAMETERS_0,
906}
907impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS {}
908impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS {
909 fn clone(&self) -> Self {
910 *self
911 }
912}
913#[repr(C)]
04454e1e 914#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
915pub union MERGE_VIRTUAL_DISK_PARAMETERS_0 {
916 pub Version1: MERGE_VIRTUAL_DISK_PARAMETERS_0_0,
917 pub Version2: MERGE_VIRTUAL_DISK_PARAMETERS_0_1,
918}
919impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0 {}
920impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS_0 {
921 fn clone(&self) -> Self {
922 *self
923 }
924}
925#[repr(C)]
04454e1e 926#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
927pub struct MERGE_VIRTUAL_DISK_PARAMETERS_0_0 {
928 pub MergeDepth: u32,
929}
930impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0_0 {}
931impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS_0_0 {
932 fn clone(&self) -> Self {
933 *self
934 }
935}
936#[repr(C)]
04454e1e 937#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
938pub struct MERGE_VIRTUAL_DISK_PARAMETERS_0_1 {
939 pub MergeSourceDepth: u32,
940 pub MergeTargetDepth: u32,
941}
942impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0_1 {}
943impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS_0_1 {
944 fn clone(&self) -> Self {
945 *self
946 }
947}
5e7ed085 948#[repr(C)]
04454e1e 949#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
950pub struct MIRROR_VIRTUAL_DISK_PARAMETERS {
951 pub Version: MIRROR_VIRTUAL_DISK_VERSION,
952 pub Anonymous: MIRROR_VIRTUAL_DISK_PARAMETERS_0,
953}
5e7ed085 954impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS {}
5e7ed085
FG
955impl ::core::clone::Clone for MIRROR_VIRTUAL_DISK_PARAMETERS {
956 fn clone(&self) -> Self {
957 *self
958 }
959}
960#[repr(C)]
04454e1e 961#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
962pub union MIRROR_VIRTUAL_DISK_PARAMETERS_0 {
963 pub Version1: MIRROR_VIRTUAL_DISK_PARAMETERS_0_0,
964}
5e7ed085 965impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS_0 {}
5e7ed085
FG
966impl ::core::clone::Clone for MIRROR_VIRTUAL_DISK_PARAMETERS_0 {
967 fn clone(&self) -> Self {
968 *self
969 }
970}
971#[repr(C)]
04454e1e 972#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085 973pub struct MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 {
04454e1e 974 pub MirrorVirtualDiskPath: ::windows_sys::core::PCWSTR,
5e7ed085 975}
5e7ed085 976impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 {}
5e7ed085
FG
977impl ::core::clone::Clone for MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 {
978 fn clone(&self) -> Self {
979 *self
980 }
981}
5e7ed085 982#[repr(C)]
04454e1e 983#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
984pub struct MODIFY_VHDSET_PARAMETERS {
985 pub Version: MODIFY_VHDSET_VERSION,
986 pub Anonymous: MODIFY_VHDSET_PARAMETERS_0,
987}
5e7ed085 988impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS {}
5e7ed085
FG
989impl ::core::clone::Clone for MODIFY_VHDSET_PARAMETERS {
990 fn clone(&self) -> Self {
991 *self
992 }
993}
994#[repr(C)]
04454e1e 995#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
996pub union MODIFY_VHDSET_PARAMETERS_0 {
997 pub SnapshotPath: MODIFY_VHDSET_PARAMETERS_0_0,
998 pub SnapshotId: ::windows_sys::core::GUID,
04454e1e 999 pub DefaultFilePath: ::windows_sys::core::PCWSTR,
5e7ed085 1000}
5e7ed085 1001impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS_0 {}
5e7ed085
FG
1002impl ::core::clone::Clone for MODIFY_VHDSET_PARAMETERS_0 {
1003 fn clone(&self) -> Self {
1004 *self
1005 }
1006}
1007#[repr(C)]
04454e1e 1008#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1009pub struct MODIFY_VHDSET_PARAMETERS_0_0 {
1010 pub SnapshotId: ::windows_sys::core::GUID,
04454e1e 1011 pub SnapshotFilePath: ::windows_sys::core::PCWSTR,
5e7ed085 1012}
5e7ed085 1013impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS_0_0 {}
5e7ed085
FG
1014impl ::core::clone::Clone for MODIFY_VHDSET_PARAMETERS_0_0 {
1015 fn clone(&self) -> Self {
1016 *self
1017 }
1018}
5e7ed085 1019#[repr(C)]
04454e1e 1020#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1021#[cfg(feature = "Win32_Foundation")]
1022pub struct OPEN_VIRTUAL_DISK_PARAMETERS {
1023 pub Version: OPEN_VIRTUAL_DISK_VERSION,
1024 pub Anonymous: OPEN_VIRTUAL_DISK_PARAMETERS_0,
1025}
1026#[cfg(feature = "Win32_Foundation")]
1027impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS {}
1028#[cfg(feature = "Win32_Foundation")]
1029impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS {
1030 fn clone(&self) -> Self {
1031 *self
1032 }
1033}
1034#[repr(C)]
04454e1e 1035#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1036#[cfg(feature = "Win32_Foundation")]
1037pub union OPEN_VIRTUAL_DISK_PARAMETERS_0 {
1038 pub Version1: OPEN_VIRTUAL_DISK_PARAMETERS_0_0,
1039 pub Version2: OPEN_VIRTUAL_DISK_PARAMETERS_0_1,
1040 pub Version3: OPEN_VIRTUAL_DISK_PARAMETERS_0_2,
1041}
1042#[cfg(feature = "Win32_Foundation")]
1043impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0 {}
1044#[cfg(feature = "Win32_Foundation")]
1045impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0 {
1046 fn clone(&self) -> Self {
1047 *self
1048 }
1049}
1050#[repr(C)]
04454e1e 1051#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1052#[cfg(feature = "Win32_Foundation")]
1053pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_0 {
1054 pub RWDepth: u32,
1055}
1056#[cfg(feature = "Win32_Foundation")]
1057impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_0 {}
1058#[cfg(feature = "Win32_Foundation")]
1059impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0_0 {
1060 fn clone(&self) -> Self {
1061 *self
1062 }
1063}
1064#[repr(C)]
04454e1e 1065#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1066#[cfg(feature = "Win32_Foundation")]
1067pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_1 {
1068 pub GetInfoOnly: super::super::Foundation::BOOL,
1069 pub ReadOnly: super::super::Foundation::BOOL,
1070 pub ResiliencyGuid: ::windows_sys::core::GUID,
1071}
1072#[cfg(feature = "Win32_Foundation")]
1073impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_1 {}
1074#[cfg(feature = "Win32_Foundation")]
1075impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0_1 {
1076 fn clone(&self) -> Self {
1077 *self
1078 }
1079}
1080#[repr(C)]
04454e1e 1081#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1082#[cfg(feature = "Win32_Foundation")]
1083pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_2 {
1084 pub GetInfoOnly: super::super::Foundation::BOOL,
1085 pub ReadOnly: super::super::Foundation::BOOL,
1086 pub ResiliencyGuid: ::windows_sys::core::GUID,
1087 pub SnapshotId: ::windows_sys::core::GUID,
1088}
1089#[cfg(feature = "Win32_Foundation")]
1090impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_2 {}
1091#[cfg(feature = "Win32_Foundation")]
1092impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0_2 {
1093 fn clone(&self) -> Self {
1094 *self
1095 }
1096}
5e7ed085 1097#[repr(C)]
04454e1e 1098#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1099pub struct QUERY_CHANGES_VIRTUAL_DISK_RANGE {
1100 pub ByteOffset: u64,
1101 pub ByteLength: u64,
1102 pub Reserved: u64,
1103}
1104impl ::core::marker::Copy for QUERY_CHANGES_VIRTUAL_DISK_RANGE {}
1105impl ::core::clone::Clone for QUERY_CHANGES_VIRTUAL_DISK_RANGE {
1106 fn clone(&self) -> Self {
1107 *self
1108 }
1109}
5e7ed085 1110#[repr(C)]
04454e1e 1111#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1112#[cfg(feature = "Win32_Foundation")]
1113pub struct RAW_SCSI_VIRTUAL_DISK_PARAMETERS {
1114 pub Version: RAW_SCSI_VIRTUAL_DISK_VERSION,
1115 pub Anonymous: RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0,
1116}
1117#[cfg(feature = "Win32_Foundation")]
1118impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS {}
1119#[cfg(feature = "Win32_Foundation")]
1120impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_PARAMETERS {
1121 fn clone(&self) -> Self {
1122 *self
1123 }
1124}
1125#[repr(C)]
04454e1e 1126#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1127#[cfg(feature = "Win32_Foundation")]
1128pub union RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 {
1129 pub Version1: RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0,
1130}
1131#[cfg(feature = "Win32_Foundation")]
1132impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 {}
1133#[cfg(feature = "Win32_Foundation")]
1134impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 {
1135 fn clone(&self) -> Self {
1136 *self
1137 }
1138}
1139#[repr(C)]
04454e1e 1140#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1141#[cfg(feature = "Win32_Foundation")]
1142pub struct RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 {
1143 pub RSVDHandle: super::super::Foundation::BOOL,
1144 pub DataIn: u8,
1145 pub CdbLength: u8,
1146 pub SenseInfoLength: u8,
1147 pub SrbFlags: u32,
1148 pub DataTransferLength: u32,
1149 pub DataBuffer: *mut ::core::ffi::c_void,
1150 pub SenseInfo: *mut u8,
1151 pub Cdb: *mut u8,
1152}
1153#[cfg(feature = "Win32_Foundation")]
1154impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 {}
1155#[cfg(feature = "Win32_Foundation")]
1156impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 {
1157 fn clone(&self) -> Self {
1158 *self
1159 }
1160}
1161#[repr(C)]
04454e1e 1162#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1163pub struct RAW_SCSI_VIRTUAL_DISK_RESPONSE {
1164 pub Version: RAW_SCSI_VIRTUAL_DISK_VERSION,
1165 pub Anonymous: RAW_SCSI_VIRTUAL_DISK_RESPONSE_0,
1166}
1167impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE {}
1168impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_RESPONSE {
1169 fn clone(&self) -> Self {
1170 *self
1171 }
1172}
1173#[repr(C)]
04454e1e 1174#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1175pub union RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 {
1176 pub Version1: RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0,
1177}
1178impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 {}
1179impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 {
1180 fn clone(&self) -> Self {
1181 *self
1182 }
1183}
1184#[repr(C)]
04454e1e 1185#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1186pub struct RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 {
1187 pub ScsiStatus: u8,
1188 pub SenseInfoLength: u8,
1189 pub DataTransferLength: u32,
1190}
1191impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 {}
1192impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 {
1193 fn clone(&self) -> Self {
1194 *self
1195 }
1196}
5e7ed085 1197#[repr(C)]
04454e1e 1198#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1199pub struct RESIZE_VIRTUAL_DISK_PARAMETERS {
1200 pub Version: RESIZE_VIRTUAL_DISK_VERSION,
1201 pub Anonymous: RESIZE_VIRTUAL_DISK_PARAMETERS_0,
1202}
1203impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS {}
1204impl ::core::clone::Clone for RESIZE_VIRTUAL_DISK_PARAMETERS {
1205 fn clone(&self) -> Self {
1206 *self
1207 }
1208}
1209#[repr(C)]
04454e1e 1210#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1211pub union RESIZE_VIRTUAL_DISK_PARAMETERS_0 {
1212 pub Version1: RESIZE_VIRTUAL_DISK_PARAMETERS_0_0,
1213}
1214impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS_0 {}
1215impl ::core::clone::Clone for RESIZE_VIRTUAL_DISK_PARAMETERS_0 {
1216 fn clone(&self) -> Self {
1217 *self
1218 }
1219}
1220#[repr(C)]
04454e1e 1221#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1222pub struct RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 {
1223 pub NewSize: u64,
1224}
1225impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 {}
1226impl ::core::clone::Clone for RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 {
1227 fn clone(&self) -> Self {
1228 *self
1229 }
1230}
5e7ed085 1231#[repr(C)]
04454e1e 1232#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1233#[cfg(feature = "Win32_Foundation")]
1234pub struct SET_VIRTUAL_DISK_INFO {
1235 pub Version: SET_VIRTUAL_DISK_INFO_VERSION,
1236 pub Anonymous: SET_VIRTUAL_DISK_INFO_0,
1237}
1238#[cfg(feature = "Win32_Foundation")]
1239impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO {}
1240#[cfg(feature = "Win32_Foundation")]
1241impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO {
1242 fn clone(&self) -> Self {
1243 *self
1244 }
1245}
1246#[repr(C)]
04454e1e 1247#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1248#[cfg(feature = "Win32_Foundation")]
1249pub union SET_VIRTUAL_DISK_INFO_0 {
04454e1e 1250 pub ParentFilePath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1251 pub UniqueIdentifier: ::windows_sys::core::GUID,
1252 pub ParentPathWithDepthInfo: SET_VIRTUAL_DISK_INFO_0_1,
1253 pub VhdPhysicalSectorSize: u32,
1254 pub VirtualDiskId: ::windows_sys::core::GUID,
1255 pub ChangeTrackingEnabled: super::super::Foundation::BOOL,
1256 pub ParentLocator: SET_VIRTUAL_DISK_INFO_0_0,
1257}
1258#[cfg(feature = "Win32_Foundation")]
1259impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0 {}
1260#[cfg(feature = "Win32_Foundation")]
1261impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO_0 {
1262 fn clone(&self) -> Self {
1263 *self
1264 }
1265}
1266#[repr(C)]
04454e1e 1267#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1268#[cfg(feature = "Win32_Foundation")]
1269pub struct SET_VIRTUAL_DISK_INFO_0_0 {
1270 pub LinkageId: ::windows_sys::core::GUID,
04454e1e 1271 pub ParentFilePath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1272}
1273#[cfg(feature = "Win32_Foundation")]
1274impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0_0 {}
1275#[cfg(feature = "Win32_Foundation")]
1276impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO_0_0 {
1277 fn clone(&self) -> Self {
1278 *self
1279 }
1280}
1281#[repr(C)]
04454e1e 1282#[doc = "*Required features: `\"Win32_Storage_Vhd\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1283#[cfg(feature = "Win32_Foundation")]
1284pub struct SET_VIRTUAL_DISK_INFO_0_1 {
1285 pub ChildDepth: u32,
04454e1e 1286 pub ParentFilePath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1287}
1288#[cfg(feature = "Win32_Foundation")]
1289impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0_1 {}
1290#[cfg(feature = "Win32_Foundation")]
1291impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO_0_1 {
1292 fn clone(&self) -> Self {
1293 *self
1294 }
1295}
5e7ed085 1296#[repr(C)]
04454e1e 1297#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1298pub struct STORAGE_DEPENDENCY_INFO {
1299 pub Version: STORAGE_DEPENDENCY_INFO_VERSION,
1300 pub NumberEntries: u32,
1301 pub Anonymous: STORAGE_DEPENDENCY_INFO_0,
1302}
5e7ed085 1303impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO {}
5e7ed085
FG
1304impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO {
1305 fn clone(&self) -> Self {
1306 *self
1307 }
1308}
1309#[repr(C)]
04454e1e 1310#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1311pub union STORAGE_DEPENDENCY_INFO_0 {
1312 pub Version1Entries: [STORAGE_DEPENDENCY_INFO_TYPE_1; 1],
1313 pub Version2Entries: [STORAGE_DEPENDENCY_INFO_TYPE_2; 1],
1314}
5e7ed085 1315impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_0 {}
5e7ed085
FG
1316impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO_0 {
1317 fn clone(&self) -> Self {
1318 *self
1319 }
1320}
1321#[repr(C)]
04454e1e 1322#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1323pub struct STORAGE_DEPENDENCY_INFO_TYPE_1 {
1324 pub DependencyTypeFlags: DEPENDENT_DISK_FLAG,
1325 pub ProviderSpecificFlags: u32,
1326 pub VirtualStorageType: VIRTUAL_STORAGE_TYPE,
1327}
1328impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_TYPE_1 {}
1329impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO_TYPE_1 {
1330 fn clone(&self) -> Self {
1331 *self
1332 }
1333}
1334#[repr(C)]
04454e1e 1335#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1336pub struct STORAGE_DEPENDENCY_INFO_TYPE_2 {
1337 pub DependencyTypeFlags: DEPENDENT_DISK_FLAG,
1338 pub ProviderSpecificFlags: u32,
1339 pub VirtualStorageType: VIRTUAL_STORAGE_TYPE,
1340 pub AncestorLevel: u32,
04454e1e
FG
1341 pub DependencyDeviceName: ::windows_sys::core::PWSTR,
1342 pub HostVolumeName: ::windows_sys::core::PWSTR,
1343 pub DependentVolumeName: ::windows_sys::core::PWSTR,
1344 pub DependentVolumeRelativePath: ::windows_sys::core::PWSTR,
5e7ed085 1345}
5e7ed085 1346impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_TYPE_2 {}
5e7ed085
FG
1347impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO_TYPE_2 {
1348 fn clone(&self) -> Self {
1349 *self
1350 }
1351}
5e7ed085 1352#[repr(C)]
04454e1e 1353#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1354pub struct TAKE_SNAPSHOT_VHDSET_PARAMETERS {
1355 pub Version: TAKE_SNAPSHOT_VHDSET_VERSION,
1356 pub Anonymous: TAKE_SNAPSHOT_VHDSET_PARAMETERS_0,
1357}
1358impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS {}
1359impl ::core::clone::Clone for TAKE_SNAPSHOT_VHDSET_PARAMETERS {
1360 fn clone(&self) -> Self {
1361 *self
1362 }
1363}
1364#[repr(C)]
04454e1e 1365#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1366pub union TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 {
1367 pub Version1: TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0,
1368}
1369impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 {}
1370impl ::core::clone::Clone for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 {
1371 fn clone(&self) -> Self {
1372 *self
1373 }
1374}
1375#[repr(C)]
04454e1e 1376#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1377pub struct TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {
1378 pub SnapshotId: ::windows_sys::core::GUID,
1379}
1380impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {}
1381impl ::core::clone::Clone for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {
1382 fn clone(&self) -> Self {
1383 *self
1384 }
1385}
5e7ed085 1386#[repr(C)]
04454e1e 1387#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1388pub struct VIRTUAL_DISK_PROGRESS {
1389 pub OperationStatus: u32,
1390 pub CurrentValue: u64,
1391 pub CompletionValue: u64,
1392}
1393impl ::core::marker::Copy for VIRTUAL_DISK_PROGRESS {}
1394impl ::core::clone::Clone for VIRTUAL_DISK_PROGRESS {
1395 fn clone(&self) -> Self {
1396 *self
1397 }
1398}
1399#[repr(C)]
04454e1e 1400#[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"]
5e7ed085
FG
1401pub struct VIRTUAL_STORAGE_TYPE {
1402 pub DeviceId: u32,
1403 pub VendorId: ::windows_sys::core::GUID,
1404}
1405impl ::core::marker::Copy for VIRTUAL_STORAGE_TYPE {}
1406impl ::core::clone::Clone for VIRTUAL_STORAGE_TYPE {
1407 fn clone(&self) -> Self {
1408 *self
1409 }
1410}