]>
Commit | Line | Data |
---|---|---|
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 |
60 | pub const CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_BLOCK_SIZE: u32 = 0u32; |
61 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
62 | pub const CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_SECTOR_SIZE: u32 = 0u32; | |
63 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
64 | pub const MERGE_VIRTUAL_DISK_DEFAULT_MERGE_DEPTH: u32 = 1u32; | |
65 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
66 | pub const OPEN_VIRTUAL_DISK_RW_DEPTH_DEFAULT: u32 = 1u32; | |
67 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
68 | pub const VIRTUAL_DISK_MAXIMUM_CHANGE_TRACKING_ID_LENGTH: u32 = 256u32; | |
69 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
70 | pub const VIRTUAL_STORAGE_TYPE_DEVICE_ISO: u32 = 1u32; | |
71 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
72 | pub const VIRTUAL_STORAGE_TYPE_DEVICE_UNKNOWN: u32 = 0u32; | |
73 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
74 | pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHD: u32 = 2u32; | |
75 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
76 | pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHDSET: u32 = 4u32; | |
77 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
78 | pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHDX: u32 = 3u32; | |
f25598a0 FG |
79 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] |
80 | pub 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\"`*"] | |
82 | pub 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 | 84 | pub type APPLY_SNAPSHOT_VHDSET_FLAG = u32; |
04454e1e | 85 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] |
487cf647 FG |
86 | pub const APPLY_SNAPSHOT_VHDSET_FLAG_NONE: APPLY_SNAPSHOT_VHDSET_FLAG = 0u32; |
87 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
88 | pub const APPLY_SNAPSHOT_VHDSET_FLAG_WRITEABLE: APPLY_SNAPSHOT_VHDSET_FLAG = 1u32; | |
89 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
90 | pub type APPLY_SNAPSHOT_VHDSET_VERSION = i32; | |
91 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
92 | pub const APPLY_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: APPLY_SNAPSHOT_VHDSET_VERSION = 0i32; | |
93 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
94 | pub const APPLY_SNAPSHOT_VHDSET_VERSION_1: APPLY_SNAPSHOT_VHDSET_VERSION = 1i32; | |
95 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
96 | pub type ATTACH_VIRTUAL_DISK_FLAG = u32; | |
97 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
98 | pub const ATTACH_VIRTUAL_DISK_FLAG_NONE: ATTACH_VIRTUAL_DISK_FLAG = 0u32; | |
99 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
100 | pub const ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY: ATTACH_VIRTUAL_DISK_FLAG = 1u32; | |
101 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
102 | pub const ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER: ATTACH_VIRTUAL_DISK_FLAG = 2u32; | |
103 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
104 | pub const ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME: ATTACH_VIRTUAL_DISK_FLAG = 4u32; | |
105 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
106 | pub const ATTACH_VIRTUAL_DISK_FLAG_NO_LOCAL_HOST: ATTACH_VIRTUAL_DISK_FLAG = 8u32; | |
107 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
108 | pub const ATTACH_VIRTUAL_DISK_FLAG_NO_SECURITY_DESCRIPTOR: ATTACH_VIRTUAL_DISK_FLAG = 16u32; | |
109 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
110 | pub const ATTACH_VIRTUAL_DISK_FLAG_BYPASS_DEFAULT_ENCRYPTION_POLICY: ATTACH_VIRTUAL_DISK_FLAG = 32u32; | |
111 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
112 | pub const ATTACH_VIRTUAL_DISK_FLAG_NON_PNP: ATTACH_VIRTUAL_DISK_FLAG = 64u32; | |
113 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
114 | pub const ATTACH_VIRTUAL_DISK_FLAG_RESTRICTED_RANGE: ATTACH_VIRTUAL_DISK_FLAG = 128u32; | |
115 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
116 | pub const ATTACH_VIRTUAL_DISK_FLAG_SINGLE_PARTITION: ATTACH_VIRTUAL_DISK_FLAG = 256u32; | |
117 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
118 | pub const ATTACH_VIRTUAL_DISK_FLAG_REGISTER_VOLUME: ATTACH_VIRTUAL_DISK_FLAG = 512u32; | |
119 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
120 | pub type ATTACH_VIRTUAL_DISK_VERSION = i32; | |
121 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
122 | pub const ATTACH_VIRTUAL_DISK_VERSION_UNSPECIFIED: ATTACH_VIRTUAL_DISK_VERSION = 0i32; | |
123 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
124 | pub const ATTACH_VIRTUAL_DISK_VERSION_1: ATTACH_VIRTUAL_DISK_VERSION = 1i32; | |
125 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
126 | pub const ATTACH_VIRTUAL_DISK_VERSION_2: ATTACH_VIRTUAL_DISK_VERSION = 2i32; | |
127 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
128 | pub type COMPACT_VIRTUAL_DISK_FLAG = u32; | |
129 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
130 | pub const COMPACT_VIRTUAL_DISK_FLAG_NONE: COMPACT_VIRTUAL_DISK_FLAG = 0u32; | |
131 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
132 | pub const COMPACT_VIRTUAL_DISK_FLAG_NO_ZERO_SCAN: COMPACT_VIRTUAL_DISK_FLAG = 1u32; | |
133 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
134 | pub const COMPACT_VIRTUAL_DISK_FLAG_NO_BLOCK_MOVES: COMPACT_VIRTUAL_DISK_FLAG = 2u32; | |
135 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
136 | pub type COMPACT_VIRTUAL_DISK_VERSION = i32; | |
137 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
138 | pub const COMPACT_VIRTUAL_DISK_VERSION_UNSPECIFIED: COMPACT_VIRTUAL_DISK_VERSION = 0i32; | |
139 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
140 | pub const COMPACT_VIRTUAL_DISK_VERSION_1: COMPACT_VIRTUAL_DISK_VERSION = 1i32; | |
141 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
142 | pub type CREATE_VIRTUAL_DISK_FLAG = u32; | |
143 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
144 | pub const CREATE_VIRTUAL_DISK_FLAG_NONE: CREATE_VIRTUAL_DISK_FLAG = 0u32; | |
145 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
146 | pub const CREATE_VIRTUAL_DISK_FLAG_FULL_PHYSICAL_ALLOCATION: CREATE_VIRTUAL_DISK_FLAG = 1u32; | |
147 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
148 | pub const CREATE_VIRTUAL_DISK_FLAG_PREVENT_WRITES_TO_SOURCE_DISK: CREATE_VIRTUAL_DISK_FLAG = 2u32; | |
149 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
150 | pub const CREATE_VIRTUAL_DISK_FLAG_DO_NOT_COPY_METADATA_FROM_PARENT: CREATE_VIRTUAL_DISK_FLAG = 4u32; | |
151 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
152 | pub const CREATE_VIRTUAL_DISK_FLAG_CREATE_BACKING_STORAGE: CREATE_VIRTUAL_DISK_FLAG = 8u32; | |
153 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
154 | pub const CREATE_VIRTUAL_DISK_FLAG_USE_CHANGE_TRACKING_SOURCE_LIMIT: CREATE_VIRTUAL_DISK_FLAG = 16u32; | |
155 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
156 | pub const CREATE_VIRTUAL_DISK_FLAG_PRESERVE_PARENT_CHANGE_TRACKING_STATE: CREATE_VIRTUAL_DISK_FLAG = 32u32; | |
157 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
158 | pub const CREATE_VIRTUAL_DISK_FLAG_VHD_SET_USE_ORIGINAL_BACKING_STORAGE: CREATE_VIRTUAL_DISK_FLAG = 64u32; | |
159 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
160 | pub const CREATE_VIRTUAL_DISK_FLAG_SPARSE_FILE: CREATE_VIRTUAL_DISK_FLAG = 128u32; | |
161 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
162 | pub const CREATE_VIRTUAL_DISK_FLAG_PMEM_COMPATIBLE: CREATE_VIRTUAL_DISK_FLAG = 256u32; | |
163 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
164 | pub const CREATE_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: CREATE_VIRTUAL_DISK_FLAG = 512u32; | |
165 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
166 | pub const CREATE_VIRTUAL_DISK_FLAG_SUPPORT_SPARSE_FILES_ANY_FS: CREATE_VIRTUAL_DISK_FLAG = 1024u32; | |
167 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
168 | pub type CREATE_VIRTUAL_DISK_VERSION = i32; | |
169 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
170 | pub const CREATE_VIRTUAL_DISK_VERSION_UNSPECIFIED: CREATE_VIRTUAL_DISK_VERSION = 0i32; | |
171 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
172 | pub const CREATE_VIRTUAL_DISK_VERSION_1: CREATE_VIRTUAL_DISK_VERSION = 1i32; | |
173 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
174 | pub const CREATE_VIRTUAL_DISK_VERSION_2: CREATE_VIRTUAL_DISK_VERSION = 2i32; | |
175 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
176 | pub const CREATE_VIRTUAL_DISK_VERSION_3: CREATE_VIRTUAL_DISK_VERSION = 3i32; | |
177 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
178 | pub const CREATE_VIRTUAL_DISK_VERSION_4: CREATE_VIRTUAL_DISK_VERSION = 4i32; | |
179 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
180 | pub type DELETE_SNAPSHOT_VHDSET_FLAG = u32; | |
181 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
182 | pub const DELETE_SNAPSHOT_VHDSET_FLAG_NONE: DELETE_SNAPSHOT_VHDSET_FLAG = 0u32; | |
183 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
184 | pub const DELETE_SNAPSHOT_VHDSET_FLAG_PERSIST_RCT: DELETE_SNAPSHOT_VHDSET_FLAG = 1u32; | |
185 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
186 | pub type DELETE_SNAPSHOT_VHDSET_VERSION = i32; | |
187 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
188 | pub const DELETE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: DELETE_SNAPSHOT_VHDSET_VERSION = 0i32; | |
189 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
190 | pub const DELETE_SNAPSHOT_VHDSET_VERSION_1: DELETE_SNAPSHOT_VHDSET_VERSION = 1i32; | |
191 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
192 | pub type DEPENDENT_DISK_FLAG = u32; | |
193 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
194 | pub const DEPENDENT_DISK_FLAG_NONE: DEPENDENT_DISK_FLAG = 0u32; | |
195 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
196 | pub const DEPENDENT_DISK_FLAG_MULT_BACKING_FILES: DEPENDENT_DISK_FLAG = 1u32; | |
197 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
198 | pub const DEPENDENT_DISK_FLAG_FULLY_ALLOCATED: DEPENDENT_DISK_FLAG = 2u32; | |
199 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
200 | pub const DEPENDENT_DISK_FLAG_READ_ONLY: DEPENDENT_DISK_FLAG = 4u32; | |
201 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
202 | pub const DEPENDENT_DISK_FLAG_REMOTE: DEPENDENT_DISK_FLAG = 8u32; | |
203 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
204 | pub const DEPENDENT_DISK_FLAG_SYSTEM_VOLUME: DEPENDENT_DISK_FLAG = 16u32; | |
205 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
206 | pub const DEPENDENT_DISK_FLAG_SYSTEM_VOLUME_PARENT: DEPENDENT_DISK_FLAG = 32u32; | |
207 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
208 | pub const DEPENDENT_DISK_FLAG_REMOVABLE: DEPENDENT_DISK_FLAG = 64u32; | |
209 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
210 | pub const DEPENDENT_DISK_FLAG_NO_DRIVE_LETTER: DEPENDENT_DISK_FLAG = 128u32; | |
211 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
212 | pub const DEPENDENT_DISK_FLAG_PARENT: DEPENDENT_DISK_FLAG = 256u32; | |
213 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
214 | pub const DEPENDENT_DISK_FLAG_NO_HOST_DISK: DEPENDENT_DISK_FLAG = 512u32; | |
215 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
216 | pub const DEPENDENT_DISK_FLAG_PERMANENT_LIFETIME: DEPENDENT_DISK_FLAG = 1024u32; | |
217 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
218 | pub const DEPENDENT_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: DEPENDENT_DISK_FLAG = 2048u32; | |
219 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
220 | pub const DEPENDENT_DISK_FLAG_ALWAYS_ALLOW_SPARSE: DEPENDENT_DISK_FLAG = 4096u32; | |
221 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
222 | pub const DEPENDENT_DISK_FLAG_SUPPORT_ENCRYPTED_FILES: DEPENDENT_DISK_FLAG = 8192u32; | |
223 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
224 | pub type DETACH_VIRTUAL_DISK_FLAG = u32; | |
225 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
226 | pub const DETACH_VIRTUAL_DISK_FLAG_NONE: DETACH_VIRTUAL_DISK_FLAG = 0u32; | |
227 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
228 | pub type EXPAND_VIRTUAL_DISK_FLAG = u32; | |
229 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
230 | pub const EXPAND_VIRTUAL_DISK_FLAG_NONE: EXPAND_VIRTUAL_DISK_FLAG = 0u32; | |
231 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
232 | pub const EXPAND_VIRTUAL_DISK_FLAG_NOTIFY_CHANGE: EXPAND_VIRTUAL_DISK_FLAG = 1u32; | |
233 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
234 | pub type EXPAND_VIRTUAL_DISK_VERSION = i32; | |
235 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
236 | pub const EXPAND_VIRTUAL_DISK_VERSION_UNSPECIFIED: EXPAND_VIRTUAL_DISK_VERSION = 0i32; | |
237 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
238 | pub const EXPAND_VIRTUAL_DISK_VERSION_1: EXPAND_VIRTUAL_DISK_VERSION = 1i32; | |
239 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
240 | pub type FORK_VIRTUAL_DISK_FLAG = u32; | |
241 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
242 | pub const FORK_VIRTUAL_DISK_FLAG_NONE: FORK_VIRTUAL_DISK_FLAG = 0u32; | |
243 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
244 | pub const FORK_VIRTUAL_DISK_FLAG_EXISTING_FILE: FORK_VIRTUAL_DISK_FLAG = 1u32; | |
245 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
246 | pub type FORK_VIRTUAL_DISK_VERSION = i32; | |
247 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
248 | pub const FORK_VIRTUAL_DISK_VERSION_UNSPECIFIED: FORK_VIRTUAL_DISK_VERSION = 0i32; | |
249 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
250 | pub const FORK_VIRTUAL_DISK_VERSION_1: FORK_VIRTUAL_DISK_VERSION = 1i32; | |
251 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
252 | pub type GET_STORAGE_DEPENDENCY_FLAG = u32; | |
253 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
254 | pub const GET_STORAGE_DEPENDENCY_FLAG_NONE: GET_STORAGE_DEPENDENCY_FLAG = 0u32; | |
255 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
256 | pub const GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES: GET_STORAGE_DEPENDENCY_FLAG = 1u32; | |
257 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
258 | pub const GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE: GET_STORAGE_DEPENDENCY_FLAG = 2u32; | |
259 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
260 | pub type GET_VIRTUAL_DISK_INFO_VERSION = i32; | |
261 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
262 | pub const GET_VIRTUAL_DISK_INFO_UNSPECIFIED: GET_VIRTUAL_DISK_INFO_VERSION = 0i32; | |
263 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
264 | pub const GET_VIRTUAL_DISK_INFO_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 1i32; | |
265 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
266 | pub const GET_VIRTUAL_DISK_INFO_IDENTIFIER: GET_VIRTUAL_DISK_INFO_VERSION = 2i32; | |
267 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
268 | pub const GET_VIRTUAL_DISK_INFO_PARENT_LOCATION: GET_VIRTUAL_DISK_INFO_VERSION = 3i32; | |
269 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
270 | pub const GET_VIRTUAL_DISK_INFO_PARENT_IDENTIFIER: GET_VIRTUAL_DISK_INFO_VERSION = 4i32; | |
271 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
272 | pub const GET_VIRTUAL_DISK_INFO_PARENT_TIMESTAMP: GET_VIRTUAL_DISK_INFO_VERSION = 5i32; | |
273 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
274 | pub const GET_VIRTUAL_DISK_INFO_VIRTUAL_STORAGE_TYPE: GET_VIRTUAL_DISK_INFO_VERSION = 6i32; | |
275 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
276 | pub const GET_VIRTUAL_DISK_INFO_PROVIDER_SUBTYPE: GET_VIRTUAL_DISK_INFO_VERSION = 7i32; | |
277 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
278 | pub const GET_VIRTUAL_DISK_INFO_IS_4K_ALIGNED: GET_VIRTUAL_DISK_INFO_VERSION = 8i32; | |
279 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
280 | pub const GET_VIRTUAL_DISK_INFO_PHYSICAL_DISK: GET_VIRTUAL_DISK_INFO_VERSION = 9i32; | |
281 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
282 | pub const GET_VIRTUAL_DISK_INFO_VHD_PHYSICAL_SECTOR_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 10i32; | |
283 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
284 | pub const GET_VIRTUAL_DISK_INFO_SMALLEST_SAFE_VIRTUAL_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 11i32; | |
285 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
286 | pub const GET_VIRTUAL_DISK_INFO_FRAGMENTATION: GET_VIRTUAL_DISK_INFO_VERSION = 12i32; | |
287 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
288 | pub const GET_VIRTUAL_DISK_INFO_IS_LOADED: GET_VIRTUAL_DISK_INFO_VERSION = 13i32; | |
289 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
290 | pub const GET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID: GET_VIRTUAL_DISK_INFO_VERSION = 14i32; | |
291 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
292 | pub const GET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE: GET_VIRTUAL_DISK_INFO_VERSION = 15i32; | |
293 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
294 | pub type MERGE_VIRTUAL_DISK_FLAG = u32; | |
295 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
296 | pub const MERGE_VIRTUAL_DISK_FLAG_NONE: MERGE_VIRTUAL_DISK_FLAG = 0u32; | |
297 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
298 | pub type MERGE_VIRTUAL_DISK_VERSION = i32; | |
299 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
300 | pub const MERGE_VIRTUAL_DISK_VERSION_UNSPECIFIED: MERGE_VIRTUAL_DISK_VERSION = 0i32; | |
301 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
302 | pub const MERGE_VIRTUAL_DISK_VERSION_1: MERGE_VIRTUAL_DISK_VERSION = 1i32; | |
303 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
304 | pub const MERGE_VIRTUAL_DISK_VERSION_2: MERGE_VIRTUAL_DISK_VERSION = 2i32; | |
305 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
306 | pub type MIRROR_VIRTUAL_DISK_FLAG = u32; | |
307 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
308 | pub const MIRROR_VIRTUAL_DISK_FLAG_NONE: MIRROR_VIRTUAL_DISK_FLAG = 0u32; | |
309 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
310 | pub const MIRROR_VIRTUAL_DISK_FLAG_EXISTING_FILE: MIRROR_VIRTUAL_DISK_FLAG = 1u32; | |
311 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
312 | pub const MIRROR_VIRTUAL_DISK_FLAG_SKIP_MIRROR_ACTIVATION: MIRROR_VIRTUAL_DISK_FLAG = 2u32; | |
313 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
314 | pub const MIRROR_VIRTUAL_DISK_FLAG_ENABLE_SMB_COMPRESSION: MIRROR_VIRTUAL_DISK_FLAG = 4u32; | |
315 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
316 | pub const MIRROR_VIRTUAL_DISK_FLAG_IS_LIVE_MIGRATION: MIRROR_VIRTUAL_DISK_FLAG = 8u32; | |
317 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
318 | pub type MIRROR_VIRTUAL_DISK_VERSION = i32; | |
319 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
320 | pub const MIRROR_VIRTUAL_DISK_VERSION_UNSPECIFIED: MIRROR_VIRTUAL_DISK_VERSION = 0i32; | |
321 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
322 | pub const MIRROR_VIRTUAL_DISK_VERSION_1: MIRROR_VIRTUAL_DISK_VERSION = 1i32; | |
323 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
324 | pub type MODIFY_VHDSET_FLAG = u32; | |
325 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
326 | pub const MODIFY_VHDSET_FLAG_NONE: MODIFY_VHDSET_FLAG = 0u32; | |
327 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
328 | pub const MODIFY_VHDSET_FLAG_WRITEABLE_SNAPSHOT: MODIFY_VHDSET_FLAG = 1u32; | |
329 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
330 | pub type MODIFY_VHDSET_VERSION = i32; | |
331 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
332 | pub const MODIFY_VHDSET_UNSPECIFIED: MODIFY_VHDSET_VERSION = 0i32; | |
333 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
334 | pub const MODIFY_VHDSET_SNAPSHOT_PATH: MODIFY_VHDSET_VERSION = 1i32; | |
335 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
336 | pub const MODIFY_VHDSET_REMOVE_SNAPSHOT: MODIFY_VHDSET_VERSION = 2i32; | |
337 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
338 | pub const MODIFY_VHDSET_DEFAULT_SNAPSHOT_PATH: MODIFY_VHDSET_VERSION = 3i32; | |
339 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
340 | pub type OPEN_VIRTUAL_DISK_FLAG = u32; | |
341 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
342 | pub const OPEN_VIRTUAL_DISK_FLAG_NONE: OPEN_VIRTUAL_DISK_FLAG = 0u32; | |
343 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
344 | pub const OPEN_VIRTUAL_DISK_FLAG_NO_PARENTS: OPEN_VIRTUAL_DISK_FLAG = 1u32; | |
345 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
346 | pub const OPEN_VIRTUAL_DISK_FLAG_BLANK_FILE: OPEN_VIRTUAL_DISK_FLAG = 2u32; | |
347 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
348 | pub const OPEN_VIRTUAL_DISK_FLAG_BOOT_DRIVE: OPEN_VIRTUAL_DISK_FLAG = 4u32; | |
349 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
350 | pub const OPEN_VIRTUAL_DISK_FLAG_CACHED_IO: OPEN_VIRTUAL_DISK_FLAG = 8u32; | |
351 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
352 | pub const OPEN_VIRTUAL_DISK_FLAG_CUSTOM_DIFF_CHAIN: OPEN_VIRTUAL_DISK_FLAG = 16u32; | |
353 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
354 | pub const OPEN_VIRTUAL_DISK_FLAG_PARENT_CACHED_IO: OPEN_VIRTUAL_DISK_FLAG = 32u32; | |
355 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
356 | pub const OPEN_VIRTUAL_DISK_FLAG_VHDSET_FILE_ONLY: OPEN_VIRTUAL_DISK_FLAG = 64u32; | |
357 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
358 | pub const OPEN_VIRTUAL_DISK_FLAG_IGNORE_RELATIVE_PARENT_LOCATOR: OPEN_VIRTUAL_DISK_FLAG = 128u32; | |
359 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
360 | pub const OPEN_VIRTUAL_DISK_FLAG_NO_WRITE_HARDENING: OPEN_VIRTUAL_DISK_FLAG = 256u32; | |
361 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
362 | pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: OPEN_VIRTUAL_DISK_FLAG = 512u32; | |
363 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
364 | pub 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 |
366 | pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_ENCRYPTED_FILES: OPEN_VIRTUAL_DISK_FLAG = 2048u32; |
367 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
368 | pub type OPEN_VIRTUAL_DISK_VERSION = i32; | |
369 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
370 | pub const OPEN_VIRTUAL_DISK_VERSION_UNSPECIFIED: OPEN_VIRTUAL_DISK_VERSION = 0i32; | |
371 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
372 | pub const OPEN_VIRTUAL_DISK_VERSION_1: OPEN_VIRTUAL_DISK_VERSION = 1i32; | |
373 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
374 | pub const OPEN_VIRTUAL_DISK_VERSION_2: OPEN_VIRTUAL_DISK_VERSION = 2i32; | |
375 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
376 | pub const OPEN_VIRTUAL_DISK_VERSION_3: OPEN_VIRTUAL_DISK_VERSION = 3i32; | |
377 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
378 | pub type QUERY_CHANGES_VIRTUAL_DISK_FLAG = u32; | |
379 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
380 | pub const QUERY_CHANGES_VIRTUAL_DISK_FLAG_NONE: QUERY_CHANGES_VIRTUAL_DISK_FLAG = 0u32; | |
381 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
382 | pub type RAW_SCSI_VIRTUAL_DISK_FLAG = u32; | |
383 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
384 | pub const RAW_SCSI_VIRTUAL_DISK_FLAG_NONE: RAW_SCSI_VIRTUAL_DISK_FLAG = 0u32; | |
385 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
386 | pub type RAW_SCSI_VIRTUAL_DISK_VERSION = i32; | |
387 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
388 | pub const RAW_SCSI_VIRTUAL_DISK_VERSION_UNSPECIFIED: RAW_SCSI_VIRTUAL_DISK_VERSION = 0i32; | |
389 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
390 | pub const RAW_SCSI_VIRTUAL_DISK_VERSION_1: RAW_SCSI_VIRTUAL_DISK_VERSION = 1i32; | |
391 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
392 | pub type RESIZE_VIRTUAL_DISK_FLAG = u32; | |
393 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
394 | pub const RESIZE_VIRTUAL_DISK_FLAG_NONE: RESIZE_VIRTUAL_DISK_FLAG = 0u32; | |
395 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
396 | pub const RESIZE_VIRTUAL_DISK_FLAG_ALLOW_UNSAFE_VIRTUAL_SIZE: RESIZE_VIRTUAL_DISK_FLAG = 1u32; | |
397 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
398 | pub const RESIZE_VIRTUAL_DISK_FLAG_RESIZE_TO_SMALLEST_SAFE_VIRTUAL_SIZE: RESIZE_VIRTUAL_DISK_FLAG = 2u32; | |
399 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
400 | pub type RESIZE_VIRTUAL_DISK_VERSION = i32; | |
401 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
402 | pub const RESIZE_VIRTUAL_DISK_VERSION_UNSPECIFIED: RESIZE_VIRTUAL_DISK_VERSION = 0i32; | |
403 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
404 | pub const RESIZE_VIRTUAL_DISK_VERSION_1: RESIZE_VIRTUAL_DISK_VERSION = 1i32; | |
405 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
406 | pub type SET_VIRTUAL_DISK_INFO_VERSION = i32; | |
407 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
408 | pub const SET_VIRTUAL_DISK_INFO_UNSPECIFIED: SET_VIRTUAL_DISK_INFO_VERSION = 0i32; | |
409 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
410 | pub const SET_VIRTUAL_DISK_INFO_PARENT_PATH: SET_VIRTUAL_DISK_INFO_VERSION = 1i32; | |
411 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
412 | pub const SET_VIRTUAL_DISK_INFO_IDENTIFIER: SET_VIRTUAL_DISK_INFO_VERSION = 2i32; | |
413 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
414 | pub const SET_VIRTUAL_DISK_INFO_PARENT_PATH_WITH_DEPTH: SET_VIRTUAL_DISK_INFO_VERSION = 3i32; | |
415 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
416 | pub const SET_VIRTUAL_DISK_INFO_PHYSICAL_SECTOR_SIZE: SET_VIRTUAL_DISK_INFO_VERSION = 4i32; | |
417 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
418 | pub const SET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID: SET_VIRTUAL_DISK_INFO_VERSION = 5i32; | |
419 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
420 | pub const SET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE: SET_VIRTUAL_DISK_INFO_VERSION = 6i32; | |
421 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
422 | pub const SET_VIRTUAL_DISK_INFO_PARENT_LOCATOR: SET_VIRTUAL_DISK_INFO_VERSION = 7i32; | |
423 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
424 | pub type STORAGE_DEPENDENCY_INFO_VERSION = i32; | |
425 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
426 | pub const STORAGE_DEPENDENCY_INFO_VERSION_UNSPECIFIED: STORAGE_DEPENDENCY_INFO_VERSION = 0i32; | |
427 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
428 | pub const STORAGE_DEPENDENCY_INFO_VERSION_1: STORAGE_DEPENDENCY_INFO_VERSION = 1i32; | |
429 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
430 | pub const STORAGE_DEPENDENCY_INFO_VERSION_2: STORAGE_DEPENDENCY_INFO_VERSION = 2i32; | |
431 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
432 | pub type TAKE_SNAPSHOT_VHDSET_FLAG = u32; | |
433 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
434 | pub const TAKE_SNAPSHOT_VHDSET_FLAG_NONE: TAKE_SNAPSHOT_VHDSET_FLAG = 0u32; | |
435 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
436 | pub const TAKE_SNAPSHOT_VHDSET_FLAG_WRITEABLE: TAKE_SNAPSHOT_VHDSET_FLAG = 1u32; | |
437 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
438 | pub type TAKE_SNAPSHOT_VHDSET_VERSION = i32; | |
439 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
440 | pub const TAKE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: TAKE_SNAPSHOT_VHDSET_VERSION = 0i32; | |
441 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
442 | pub const TAKE_SNAPSHOT_VHDSET_VERSION_1: TAKE_SNAPSHOT_VHDSET_VERSION = 1i32; | |
443 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
444 | pub type VIRTUAL_DISK_ACCESS_MASK = u32; | |
445 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
446 | pub const VIRTUAL_DISK_ACCESS_NONE: VIRTUAL_DISK_ACCESS_MASK = 0u32; | |
447 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
448 | pub const VIRTUAL_DISK_ACCESS_ATTACH_RO: VIRTUAL_DISK_ACCESS_MASK = 65536u32; | |
449 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
450 | pub const VIRTUAL_DISK_ACCESS_ATTACH_RW: VIRTUAL_DISK_ACCESS_MASK = 131072u32; | |
451 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
452 | pub const VIRTUAL_DISK_ACCESS_DETACH: VIRTUAL_DISK_ACCESS_MASK = 262144u32; | |
453 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
454 | pub const VIRTUAL_DISK_ACCESS_GET_INFO: VIRTUAL_DISK_ACCESS_MASK = 524288u32; | |
455 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
456 | pub const VIRTUAL_DISK_ACCESS_CREATE: VIRTUAL_DISK_ACCESS_MASK = 1048576u32; | |
457 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
458 | pub const VIRTUAL_DISK_ACCESS_METAOPS: VIRTUAL_DISK_ACCESS_MASK = 2097152u32; | |
459 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
460 | pub const VIRTUAL_DISK_ACCESS_READ: VIRTUAL_DISK_ACCESS_MASK = 851968u32; | |
461 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
462 | pub const VIRTUAL_DISK_ACCESS_ALL: VIRTUAL_DISK_ACCESS_MASK = 4128768u32; | |
463 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] | |
464 | pub const VIRTUAL_DISK_ACCESS_WRITABLE: VIRTUAL_DISK_ACCESS_MASK = 3276800u32; | |
5e7ed085 | 465 | #[repr(C)] |
04454e1e | 466 | #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] |
5e7ed085 FG |
467 | pub struct APPLY_SNAPSHOT_VHDSET_PARAMETERS { |
468 | pub Version: APPLY_SNAPSHOT_VHDSET_VERSION, | |
469 | pub Anonymous: APPLY_SNAPSHOT_VHDSET_PARAMETERS_0, | |
470 | } | |
471 | impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS {} | |
472 | impl ::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 |
479 | pub union APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 { |
480 | pub Version1: APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0, | |
481 | } | |
482 | impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 {} | |
483 | impl ::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 |
490 | pub struct APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 { |
491 | pub SnapshotId: ::windows_sys::core::GUID, | |
492 | pub LeafSnapshotId: ::windows_sys::core::GUID, | |
493 | } | |
494 | impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 {} | |
495 | impl ::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 |
502 | pub struct ATTACH_VIRTUAL_DISK_PARAMETERS { |
503 | pub Version: ATTACH_VIRTUAL_DISK_VERSION, | |
504 | pub Anonymous: ATTACH_VIRTUAL_DISK_PARAMETERS_0, | |
505 | } | |
506 | impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS {} | |
507 | impl ::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 |
514 | pub 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 | } | |
518 | impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0 {} | |
519 | impl ::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 |
526 | pub struct ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 { |
527 | pub Reserved: u32, | |
528 | } | |
529 | impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 {} | |
530 | impl ::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 |
537 | pub struct ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 { |
538 | pub RestrictedOffset: u64, | |
539 | pub RestrictedLength: u64, | |
540 | } | |
541 | impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 {} | |
542 | impl ::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 |
549 | pub struct COMPACT_VIRTUAL_DISK_PARAMETERS { |
550 | pub Version: COMPACT_VIRTUAL_DISK_VERSION, | |
551 | pub Anonymous: COMPACT_VIRTUAL_DISK_PARAMETERS_0, | |
552 | } | |
553 | impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS {} | |
554 | impl ::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 |
561 | pub union COMPACT_VIRTUAL_DISK_PARAMETERS_0 { |
562 | pub Version1: COMPACT_VIRTUAL_DISK_PARAMETERS_0_0, | |
563 | } | |
564 | impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS_0 {} | |
565 | impl ::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 |
572 | pub struct COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 { |
573 | pub Reserved: u32, | |
574 | } | |
575 | impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 {} | |
576 | impl ::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 |
583 | pub struct CREATE_VIRTUAL_DISK_PARAMETERS { |
584 | pub Version: CREATE_VIRTUAL_DISK_VERSION, | |
585 | pub Anonymous: CREATE_VIRTUAL_DISK_PARAMETERS_0, | |
586 | } | |
5e7ed085 | 587 | impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS {} |
5e7ed085 FG |
588 | impl ::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 |
595 | pub 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 | 601 | impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0 {} |
5e7ed085 FG |
602 | impl ::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 |
609 | pub 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 | 617 | impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_0 {} |
5e7ed085 FG |
618 | impl ::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 |
625 | pub 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 | 638 | impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_1 {} |
5e7ed085 FG |
639 | impl ::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 |
646 | pub 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 | 661 | impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_2 {} |
5e7ed085 FG |
662 | impl ::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 |
669 | pub 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 | 686 | impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_3 {} |
5e7ed085 FG |
687 | impl ::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 |
694 | pub struct DELETE_SNAPSHOT_VHDSET_PARAMETERS { |
695 | pub Version: DELETE_SNAPSHOT_VHDSET_VERSION, | |
696 | pub Anonymous: DELETE_SNAPSHOT_VHDSET_PARAMETERS_0, | |
697 | } | |
698 | impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS {} | |
699 | impl ::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 |
706 | pub union DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 { |
707 | pub Version1: DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0, | |
708 | } | |
709 | impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 {} | |
710 | impl ::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 |
717 | pub struct DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { |
718 | pub SnapshotId: ::windows_sys::core::GUID, | |
719 | } | |
487cf647 FG |
720 | impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {} |
721 | impl ::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 |
728 | pub struct EXPAND_VIRTUAL_DISK_PARAMETERS { |
729 | pub Version: EXPAND_VIRTUAL_DISK_VERSION, | |
730 | pub Anonymous: EXPAND_VIRTUAL_DISK_PARAMETERS_0, | |
731 | } | |
732 | impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS {} | |
733 | impl ::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 |
740 | pub union EXPAND_VIRTUAL_DISK_PARAMETERS_0 { |
741 | pub Version1: EXPAND_VIRTUAL_DISK_PARAMETERS_0_0, | |
742 | } | |
743 | impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS_0 {} | |
744 | impl ::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 |
751 | pub struct EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 { |
752 | pub NewSize: u64, | |
753 | } | |
754 | impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 {} | |
755 | impl ::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 |
762 | pub struct FORK_VIRTUAL_DISK_PARAMETERS { |
763 | pub Version: FORK_VIRTUAL_DISK_VERSION, | |
764 | pub Anonymous: FORK_VIRTUAL_DISK_PARAMETERS_0, | |
765 | } | |
5e7ed085 | 766 | impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS {} |
5e7ed085 FG |
767 | impl ::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 |
774 | pub union FORK_VIRTUAL_DISK_PARAMETERS_0 { |
775 | pub Version1: FORK_VIRTUAL_DISK_PARAMETERS_0_0, | |
776 | } | |
5e7ed085 | 777 | impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS_0 {} |
5e7ed085 FG |
778 | impl ::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 | 785 | pub struct FORK_VIRTUAL_DISK_PARAMETERS_0_0 { |
04454e1e | 786 | pub ForkedVirtualDiskPath: ::windows_sys::core::PCWSTR, |
5e7ed085 | 787 | } |
5e7ed085 | 788 | impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS_0_0 {} |
5e7ed085 FG |
789 | impl ::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")] |
797 | pub 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")] | |
802 | impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO {} | |
803 | #[cfg(feature = "Win32_Foundation")] | |
804 | impl ::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")] |
812 | pub 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")] | |
830 | impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0 {} | |
831 | #[cfg(feature = "Win32_Foundation")] | |
832 | impl ::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")] |
840 | pub 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")] | |
846 | impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_0 {} | |
847 | #[cfg(feature = "Win32_Foundation")] | |
848 | impl ::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")] |
856 | pub 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")] | |
861 | impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_1 {} | |
862 | #[cfg(feature = "Win32_Foundation")] | |
863 | impl ::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")] |
871 | pub 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")] | |
877 | impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_2 {} | |
878 | #[cfg(feature = "Win32_Foundation")] | |
879 | impl ::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")] |
887 | pub 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")] | |
894 | impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_3 {} | |
895 | #[cfg(feature = "Win32_Foundation")] | |
896 | impl ::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 |
903 | pub struct MERGE_VIRTUAL_DISK_PARAMETERS { |
904 | pub Version: MERGE_VIRTUAL_DISK_VERSION, | |
905 | pub Anonymous: MERGE_VIRTUAL_DISK_PARAMETERS_0, | |
906 | } | |
907 | impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS {} | |
908 | impl ::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 |
915 | pub 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 | } | |
919 | impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0 {} | |
920 | impl ::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 |
927 | pub struct MERGE_VIRTUAL_DISK_PARAMETERS_0_0 { |
928 | pub MergeDepth: u32, | |
929 | } | |
930 | impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0_0 {} | |
931 | impl ::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 |
938 | pub struct MERGE_VIRTUAL_DISK_PARAMETERS_0_1 { |
939 | pub MergeSourceDepth: u32, | |
940 | pub MergeTargetDepth: u32, | |
941 | } | |
942 | impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0_1 {} | |
943 | impl ::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 |
950 | pub struct MIRROR_VIRTUAL_DISK_PARAMETERS { |
951 | pub Version: MIRROR_VIRTUAL_DISK_VERSION, | |
952 | pub Anonymous: MIRROR_VIRTUAL_DISK_PARAMETERS_0, | |
953 | } | |
5e7ed085 | 954 | impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS {} |
5e7ed085 FG |
955 | impl ::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 |
962 | pub union MIRROR_VIRTUAL_DISK_PARAMETERS_0 { |
963 | pub Version1: MIRROR_VIRTUAL_DISK_PARAMETERS_0_0, | |
964 | } | |
5e7ed085 | 965 | impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS_0 {} |
5e7ed085 FG |
966 | impl ::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 | 973 | pub struct MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 { |
04454e1e | 974 | pub MirrorVirtualDiskPath: ::windows_sys::core::PCWSTR, |
5e7ed085 | 975 | } |
5e7ed085 | 976 | impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 {} |
5e7ed085 FG |
977 | impl ::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 |
984 | pub struct MODIFY_VHDSET_PARAMETERS { |
985 | pub Version: MODIFY_VHDSET_VERSION, | |
986 | pub Anonymous: MODIFY_VHDSET_PARAMETERS_0, | |
987 | } | |
5e7ed085 | 988 | impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS {} |
5e7ed085 FG |
989 | impl ::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 |
996 | pub 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 | 1001 | impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS_0 {} |
5e7ed085 FG |
1002 | impl ::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 |
1009 | pub struct MODIFY_VHDSET_PARAMETERS_0_0 { |
1010 | pub SnapshotId: ::windows_sys::core::GUID, | |
04454e1e | 1011 | pub SnapshotFilePath: ::windows_sys::core::PCWSTR, |
5e7ed085 | 1012 | } |
5e7ed085 | 1013 | impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS_0_0 {} |
5e7ed085 FG |
1014 | impl ::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")] |
1022 | pub 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")] | |
1027 | impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS {} | |
1028 | #[cfg(feature = "Win32_Foundation")] | |
1029 | impl ::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")] |
1037 | pub 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")] | |
1043 | impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0 {} | |
1044 | #[cfg(feature = "Win32_Foundation")] | |
1045 | impl ::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")] |
1053 | pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_0 { | |
1054 | pub RWDepth: u32, | |
1055 | } | |
1056 | #[cfg(feature = "Win32_Foundation")] | |
1057 | impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_0 {} | |
1058 | #[cfg(feature = "Win32_Foundation")] | |
1059 | impl ::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")] |
1067 | pub 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")] | |
1073 | impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_1 {} | |
1074 | #[cfg(feature = "Win32_Foundation")] | |
1075 | impl ::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")] |
1083 | pub 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")] | |
1090 | impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_2 {} | |
1091 | #[cfg(feature = "Win32_Foundation")] | |
1092 | impl ::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 |
1099 | pub struct QUERY_CHANGES_VIRTUAL_DISK_RANGE { |
1100 | pub ByteOffset: u64, | |
1101 | pub ByteLength: u64, | |
1102 | pub Reserved: u64, | |
1103 | } | |
1104 | impl ::core::marker::Copy for QUERY_CHANGES_VIRTUAL_DISK_RANGE {} | |
1105 | impl ::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")] |
1113 | pub 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")] | |
1118 | impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS {} | |
1119 | #[cfg(feature = "Win32_Foundation")] | |
1120 | impl ::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")] |
1128 | pub union RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 { | |
1129 | pub Version1: RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0, | |
1130 | } | |
1131 | #[cfg(feature = "Win32_Foundation")] | |
1132 | impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 {} | |
1133 | #[cfg(feature = "Win32_Foundation")] | |
1134 | impl ::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")] |
1142 | pub 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")] | |
1154 | impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 {} | |
1155 | #[cfg(feature = "Win32_Foundation")] | |
1156 | impl ::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 |
1163 | pub struct RAW_SCSI_VIRTUAL_DISK_RESPONSE { |
1164 | pub Version: RAW_SCSI_VIRTUAL_DISK_VERSION, | |
1165 | pub Anonymous: RAW_SCSI_VIRTUAL_DISK_RESPONSE_0, | |
1166 | } | |
1167 | impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE {} | |
1168 | impl ::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 |
1175 | pub union RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 { |
1176 | pub Version1: RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0, | |
1177 | } | |
1178 | impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 {} | |
1179 | impl ::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 |
1186 | pub struct RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 { |
1187 | pub ScsiStatus: u8, | |
1188 | pub SenseInfoLength: u8, | |
1189 | pub DataTransferLength: u32, | |
1190 | } | |
1191 | impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 {} | |
1192 | impl ::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 |
1199 | pub struct RESIZE_VIRTUAL_DISK_PARAMETERS { |
1200 | pub Version: RESIZE_VIRTUAL_DISK_VERSION, | |
1201 | pub Anonymous: RESIZE_VIRTUAL_DISK_PARAMETERS_0, | |
1202 | } | |
1203 | impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS {} | |
1204 | impl ::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 |
1211 | pub union RESIZE_VIRTUAL_DISK_PARAMETERS_0 { |
1212 | pub Version1: RESIZE_VIRTUAL_DISK_PARAMETERS_0_0, | |
1213 | } | |
1214 | impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS_0 {} | |
1215 | impl ::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 |
1222 | pub struct RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 { |
1223 | pub NewSize: u64, | |
1224 | } | |
1225 | impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 {} | |
1226 | impl ::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")] |
1234 | pub 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")] | |
1239 | impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO {} | |
1240 | #[cfg(feature = "Win32_Foundation")] | |
1241 | impl ::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")] |
1249 | pub 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")] | |
1259 | impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0 {} | |
1260 | #[cfg(feature = "Win32_Foundation")] | |
1261 | impl ::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")] |
1269 | pub 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")] | |
1274 | impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0_0 {} | |
1275 | #[cfg(feature = "Win32_Foundation")] | |
1276 | impl ::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")] |
1284 | pub 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")] | |
1289 | impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0_1 {} | |
1290 | #[cfg(feature = "Win32_Foundation")] | |
1291 | impl ::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 |
1298 | pub struct STORAGE_DEPENDENCY_INFO { |
1299 | pub Version: STORAGE_DEPENDENCY_INFO_VERSION, | |
1300 | pub NumberEntries: u32, | |
1301 | pub Anonymous: STORAGE_DEPENDENCY_INFO_0, | |
1302 | } | |
5e7ed085 | 1303 | impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO {} |
5e7ed085 FG |
1304 | impl ::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 |
1311 | pub 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 | 1315 | impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_0 {} |
5e7ed085 FG |
1316 | impl ::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 |
1323 | pub struct STORAGE_DEPENDENCY_INFO_TYPE_1 { |
1324 | pub DependencyTypeFlags: DEPENDENT_DISK_FLAG, | |
1325 | pub ProviderSpecificFlags: u32, | |
1326 | pub VirtualStorageType: VIRTUAL_STORAGE_TYPE, | |
1327 | } | |
1328 | impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_TYPE_1 {} | |
1329 | impl ::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 |
1336 | pub 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 | 1346 | impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_TYPE_2 {} |
5e7ed085 FG |
1347 | impl ::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 |
1354 | pub struct TAKE_SNAPSHOT_VHDSET_PARAMETERS { |
1355 | pub Version: TAKE_SNAPSHOT_VHDSET_VERSION, | |
1356 | pub Anonymous: TAKE_SNAPSHOT_VHDSET_PARAMETERS_0, | |
1357 | } | |
1358 | impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS {} | |
1359 | impl ::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 |
1366 | pub union TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 { |
1367 | pub Version1: TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0, | |
1368 | } | |
1369 | impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 {} | |
1370 | impl ::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 |
1377 | pub struct TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { |
1378 | pub SnapshotId: ::windows_sys::core::GUID, | |
1379 | } | |
1380 | impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {} | |
1381 | impl ::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 |
1388 | pub struct VIRTUAL_DISK_PROGRESS { |
1389 | pub OperationStatus: u32, | |
1390 | pub CurrentValue: u64, | |
1391 | pub CompletionValue: u64, | |
1392 | } | |
1393 | impl ::core::marker::Copy for VIRTUAL_DISK_PROGRESS {} | |
1394 | impl ::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 |
1401 | pub struct VIRTUAL_STORAGE_TYPE { |
1402 | pub DeviceId: u32, | |
1403 | pub VendorId: ::windows_sys::core::GUID, | |
1404 | } | |
1405 | impl ::core::marker::Copy for VIRTUAL_STORAGE_TYPE {} | |
1406 | impl ::core::clone::Clone for VIRTUAL_STORAGE_TYPE { | |
1407 | fn clone(&self) -> Self { | |
1408 | *self | |
1409 | } | |
1410 | } |