| 1 |
#[cfg(feature = "Win32_Foundation")] |
| 2 |
::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAllAttachedVirtualDiskPhysicalPaths(pathsbuffersizeinbytes : *mut u32, pathsbuffer : ::windows_sys::core::PWSTR) -> super::super::Foundation:: WIN32_ERROR); |
| 29 |
#[cfg(feature = "Win32_Foundation")] |
| 30 |
::windows_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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_targets::link!("virtdisk.dll" "system" #[doc = "Required features: `\"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); |
| 59 |
pub const APPLY_SNAPSHOT_VHDSET_FLAG_NONE: APPLY_SNAPSHOT_VHDSET_FLAG = 0i32; |
| 60 |
pub const APPLY_SNAPSHOT_VHDSET_FLAG_WRITEABLE: APPLY_SNAPSHOT_VHDSET_FLAG = 1i32; |
| 61 |
pub const APPLY_SNAPSHOT_VHDSET_VERSION_1: APPLY_SNAPSHOT_VHDSET_VERSION = 1i32; |
| 62 |
pub const APPLY_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: APPLY_SNAPSHOT_VHDSET_VERSION = 0i32; |
| 63 |
pub const ATTACH_VIRTUAL_DISK_FLAG_BYPASS_DEFAULT_ENCRYPTION_POLICY: ATTACH_VIRTUAL_DISK_FLAG = 32i32; |
| 64 |
pub const ATTACH_VIRTUAL_DISK_FLAG_NONE: ATTACH_VIRTUAL_DISK_FLAG = 0i32; |
| 65 |
pub const ATTACH_VIRTUAL_DISK_FLAG_NON_PNP: ATTACH_VIRTUAL_DISK_FLAG = 64i32; |
| 66 |
pub const ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER: ATTACH_VIRTUAL_DISK_FLAG = 2i32; |
| 67 |
pub const ATTACH_VIRTUAL_DISK_FLAG_NO_LOCAL_HOST: ATTACH_VIRTUAL_DISK_FLAG = 8i32; |
| 68 |
pub const ATTACH_VIRTUAL_DISK_FLAG_NO_SECURITY_DESCRIPTOR: ATTACH_VIRTUAL_DISK_FLAG = 16i32; |
| 69 |
pub const ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME: ATTACH_VIRTUAL_DISK_FLAG = 4i32; |
| 70 |
pub const ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY: ATTACH_VIRTUAL_DISK_FLAG = 1i32; |
| 71 |
pub const ATTACH_VIRTUAL_DISK_FLAG_REGISTER_VOLUME: ATTACH_VIRTUAL_DISK_FLAG = 512i32; |
| 72 |
pub const ATTACH_VIRTUAL_DISK_FLAG_RESTRICTED_RANGE: ATTACH_VIRTUAL_DISK_FLAG = 128i32; |
| 73 |
pub const ATTACH_VIRTUAL_DISK_FLAG_SINGLE_PARTITION: ATTACH_VIRTUAL_DISK_FLAG = 256i32; |
| 74 |
pub const ATTACH_VIRTUAL_DISK_VERSION_1: ATTACH_VIRTUAL_DISK_VERSION = 1i32; |
| 75 |
pub const ATTACH_VIRTUAL_DISK_VERSION_2: ATTACH_VIRTUAL_DISK_VERSION = 2i32; |
| 76 |
pub const ATTACH_VIRTUAL_DISK_VERSION_UNSPECIFIED: ATTACH_VIRTUAL_DISK_VERSION = 0i32; |
| 77 |
pub const COMPACT_VIRTUAL_DISK_FLAG_NONE: COMPACT_VIRTUAL_DISK_FLAG = 0i32; |
| 78 |
pub const COMPACT_VIRTUAL_DISK_FLAG_NO_BLOCK_MOVES: COMPACT_VIRTUAL_DISK_FLAG = 2i32; |
| 79 |
pub const COMPACT_VIRTUAL_DISK_FLAG_NO_ZERO_SCAN: COMPACT_VIRTUAL_DISK_FLAG = 1i32; |
| 80 |
pub const COMPACT_VIRTUAL_DISK_VERSION_1: COMPACT_VIRTUAL_DISK_VERSION = 1i32; |
| 81 |
pub const COMPACT_VIRTUAL_DISK_VERSION_UNSPECIFIED: COMPACT_VIRTUAL_DISK_VERSION = 0i32; |
| 82 |
pub const CREATE_VIRTUAL_DISK_FLAG_CREATE_BACKING_STORAGE: CREATE_VIRTUAL_DISK_FLAG = 8i32; |
| 83 |
pub const CREATE_VIRTUAL_DISK_FLAG_DO_NOT_COPY_METADATA_FROM_PARENT: CREATE_VIRTUAL_DISK_FLAG = 4i32; |
| 84 |
pub const CREATE_VIRTUAL_DISK_FLAG_FULL_PHYSICAL_ALLOCATION: CREATE_VIRTUAL_DISK_FLAG = 1i32; |
| 85 |
pub const CREATE_VIRTUAL_DISK_FLAG_NONE: CREATE_VIRTUAL_DISK_FLAG = 0i32; |
| 86 |
pub const CREATE_VIRTUAL_DISK_FLAG_PMEM_COMPATIBLE: CREATE_VIRTUAL_DISK_FLAG = 256i32; |
| 87 |
pub const CREATE_VIRTUAL_DISK_FLAG_PRESERVE_PARENT_CHANGE_TRACKING_STATE: CREATE_VIRTUAL_DISK_FLAG = 32i32; |
| 88 |
pub const CREATE_VIRTUAL_DISK_FLAG_PREVENT_WRITES_TO_SOURCE_DISK: CREATE_VIRTUAL_DISK_FLAG = 2i32; |
| 89 |
pub const CREATE_VIRTUAL_DISK_FLAG_SPARSE_FILE: CREATE_VIRTUAL_DISK_FLAG = 128i32; |
| 90 |
pub const CREATE_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: CREATE_VIRTUAL_DISK_FLAG = 512i32; |
| 91 |
pub const CREATE_VIRTUAL_DISK_FLAG_SUPPORT_SPARSE_FILES_ANY_FS: CREATE_VIRTUAL_DISK_FLAG = 1024i32; |
| 92 |
pub const CREATE_VIRTUAL_DISK_FLAG_USE_CHANGE_TRACKING_SOURCE_LIMIT: CREATE_VIRTUAL_DISK_FLAG = 16i32; |
| 93 |
pub const CREATE_VIRTUAL_DISK_FLAG_VHD_SET_USE_ORIGINAL_BACKING_STORAGE: CREATE_VIRTUAL_DISK_FLAG = 64i32; |
| 94 |
pub const CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_BLOCK_SIZE: u32 = 0u32; |
| 95 |
pub const CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_SECTOR_SIZE: u32 = 0u32; |
| 96 |
pub const CREATE_VIRTUAL_DISK_VERSION_1: CREATE_VIRTUAL_DISK_VERSION = 1i32; |
| 97 |
pub const CREATE_VIRTUAL_DISK_VERSION_2: CREATE_VIRTUAL_DISK_VERSION = 2i32; |
| 98 |
pub const CREATE_VIRTUAL_DISK_VERSION_3: CREATE_VIRTUAL_DISK_VERSION = 3i32; |
| 99 |
pub const CREATE_VIRTUAL_DISK_VERSION_4: CREATE_VIRTUAL_DISK_VERSION = 4i32; |
| 100 |
pub const CREATE_VIRTUAL_DISK_VERSION_UNSPECIFIED: CREATE_VIRTUAL_DISK_VERSION = 0i32; |
| 101 |
pub const DELETE_SNAPSHOT_VHDSET_FLAG_NONE: DELETE_SNAPSHOT_VHDSET_FLAG = 0i32; |
| 102 |
pub const DELETE_SNAPSHOT_VHDSET_FLAG_PERSIST_RCT: DELETE_SNAPSHOT_VHDSET_FLAG = 1i32; |
| 103 |
pub const DELETE_SNAPSHOT_VHDSET_VERSION_1: DELETE_SNAPSHOT_VHDSET_VERSION = 1i32; |
| 104 |
pub const DELETE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: DELETE_SNAPSHOT_VHDSET_VERSION = 0i32; |
| 105 |
pub const DEPENDENT_DISK_FLAG_ALWAYS_ALLOW_SPARSE: DEPENDENT_DISK_FLAG = 4096i32; |
| 106 |
pub const DEPENDENT_DISK_FLAG_FULLY_ALLOCATED: DEPENDENT_DISK_FLAG = 2i32; |
| 107 |
pub const DEPENDENT_DISK_FLAG_MULT_BACKING_FILES: DEPENDENT_DISK_FLAG = 1i32; |
| 108 |
pub const DEPENDENT_DISK_FLAG_NONE: DEPENDENT_DISK_FLAG = 0i32; |
| 109 |
pub const DEPENDENT_DISK_FLAG_NO_DRIVE_LETTER: DEPENDENT_DISK_FLAG = 128i32; |
| 110 |
pub const DEPENDENT_DISK_FLAG_NO_HOST_DISK: DEPENDENT_DISK_FLAG = 512i32; |
| 111 |
pub const DEPENDENT_DISK_FLAG_PARENT: DEPENDENT_DISK_FLAG = 256i32; |
| 112 |
pub const DEPENDENT_DISK_FLAG_PERMANENT_LIFETIME: DEPENDENT_DISK_FLAG = 1024i32; |
| 113 |
pub const DEPENDENT_DISK_FLAG_READ_ONLY: DEPENDENT_DISK_FLAG = 4i32; |
| 114 |
pub const DEPENDENT_DISK_FLAG_REMOTE: DEPENDENT_DISK_FLAG = 8i32; |
| 115 |
pub const DEPENDENT_DISK_FLAG_REMOVABLE: DEPENDENT_DISK_FLAG = 64i32; |
| 116 |
pub const DEPENDENT_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: DEPENDENT_DISK_FLAG = 2048i32; |
| 117 |
pub const DEPENDENT_DISK_FLAG_SUPPORT_ENCRYPTED_FILES: DEPENDENT_DISK_FLAG = 8192i32; |
| 118 |
pub const DEPENDENT_DISK_FLAG_SYSTEM_VOLUME: DEPENDENT_DISK_FLAG = 16i32; |
| 119 |
pub const DEPENDENT_DISK_FLAG_SYSTEM_VOLUME_PARENT: DEPENDENT_DISK_FLAG = 32i32; |
| 120 |
pub const DETACH_VIRTUAL_DISK_FLAG_NONE: DETACH_VIRTUAL_DISK_FLAG = 0i32; |
| 121 |
pub const EXPAND_VIRTUAL_DISK_FLAG_NONE: EXPAND_VIRTUAL_DISK_FLAG = 0i32; |
| 122 |
pub const EXPAND_VIRTUAL_DISK_FLAG_NOTIFY_CHANGE: EXPAND_VIRTUAL_DISK_FLAG = 1i32; |
| 123 |
pub const EXPAND_VIRTUAL_DISK_VERSION_1: EXPAND_VIRTUAL_DISK_VERSION = 1i32; |
| 124 |
pub const EXPAND_VIRTUAL_DISK_VERSION_UNSPECIFIED: EXPAND_VIRTUAL_DISK_VERSION = 0i32; |
| 125 |
pub const FORK_VIRTUAL_DISK_FLAG_EXISTING_FILE: FORK_VIRTUAL_DISK_FLAG = 1i32; |
| 126 |
pub const FORK_VIRTUAL_DISK_FLAG_NONE: FORK_VIRTUAL_DISK_FLAG = 0i32; |
| 127 |
pub const FORK_VIRTUAL_DISK_VERSION_1: FORK_VIRTUAL_DISK_VERSION = 1i32; |
| 128 |
pub const FORK_VIRTUAL_DISK_VERSION_UNSPECIFIED: FORK_VIRTUAL_DISK_VERSION = 0i32; |
| 129 |
pub const GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE: GET_STORAGE_DEPENDENCY_FLAG = 2i32; |
| 130 |
pub const GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES: GET_STORAGE_DEPENDENCY_FLAG = 1i32; |
| 131 |
pub const GET_STORAGE_DEPENDENCY_FLAG_NONE: GET_STORAGE_DEPENDENCY_FLAG = 0i32; |
| 132 |
pub const GET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE: GET_VIRTUAL_DISK_INFO_VERSION = 15i32; |
| 133 |
pub const GET_VIRTUAL_DISK_INFO_FRAGMENTATION: GET_VIRTUAL_DISK_INFO_VERSION = 12i32; |
| 134 |
pub const GET_VIRTUAL_DISK_INFO_IDENTIFIER: GET_VIRTUAL_DISK_INFO_VERSION = 2i32; |
| 135 |
pub const GET_VIRTUAL_DISK_INFO_IS_4K_ALIGNED: GET_VIRTUAL_DISK_INFO_VERSION = 8i32; |
| 136 |
pub const GET_VIRTUAL_DISK_INFO_IS_LOADED: GET_VIRTUAL_DISK_INFO_VERSION = 13i32; |
| 137 |
pub const GET_VIRTUAL_DISK_INFO_PARENT_IDENTIFIER: GET_VIRTUAL_DISK_INFO_VERSION = 4i32; |
| 138 |
pub const GET_VIRTUAL_DISK_INFO_PARENT_LOCATION: GET_VIRTUAL_DISK_INFO_VERSION = 3i32; |
| 139 |
pub const GET_VIRTUAL_DISK_INFO_PARENT_TIMESTAMP: GET_VIRTUAL_DISK_INFO_VERSION = 5i32; |
| 140 |
pub const GET_VIRTUAL_DISK_INFO_PHYSICAL_DISK: GET_VIRTUAL_DISK_INFO_VERSION = 9i32; |
| 141 |
pub const GET_VIRTUAL_DISK_INFO_PROVIDER_SUBTYPE: GET_VIRTUAL_DISK_INFO_VERSION = 7i32; |
| 142 |
pub const GET_VIRTUAL_DISK_INFO_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 1i32; |
| 143 |
pub const GET_VIRTUAL_DISK_INFO_SMALLEST_SAFE_VIRTUAL_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 11i32; |
| 144 |
pub const GET_VIRTUAL_DISK_INFO_UNSPECIFIED: GET_VIRTUAL_DISK_INFO_VERSION = 0i32; |
| 145 |
pub const GET_VIRTUAL_DISK_INFO_VHD_PHYSICAL_SECTOR_SIZE: GET_VIRTUAL_DISK_INFO_VERSION = 10i32; |
| 146 |
pub const GET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID: GET_VIRTUAL_DISK_INFO_VERSION = 14i32; |
| 147 |
pub const GET_VIRTUAL_DISK_INFO_VIRTUAL_STORAGE_TYPE: GET_VIRTUAL_DISK_INFO_VERSION = 6i32; |
| 148 |
pub const MERGE_VIRTUAL_DISK_DEFAULT_MERGE_DEPTH: u32 = 1u32; |
| 149 |
pub const MERGE_VIRTUAL_DISK_FLAG_NONE: MERGE_VIRTUAL_DISK_FLAG = 0i32; |
| 150 |
pub const MERGE_VIRTUAL_DISK_VERSION_1: MERGE_VIRTUAL_DISK_VERSION = 1i32; |
| 151 |
pub const MERGE_VIRTUAL_DISK_VERSION_2: MERGE_VIRTUAL_DISK_VERSION = 2i32; |
| 152 |
pub const MERGE_VIRTUAL_DISK_VERSION_UNSPECIFIED: MERGE_VIRTUAL_DISK_VERSION = 0i32; |
| 153 |
pub const MIRROR_VIRTUAL_DISK_FLAG_ENABLE_SMB_COMPRESSION: MIRROR_VIRTUAL_DISK_FLAG = 4i32; |
| 154 |
pub const MIRROR_VIRTUAL_DISK_FLAG_EXISTING_FILE: MIRROR_VIRTUAL_DISK_FLAG = 1i32; |
| 155 |
pub const MIRROR_VIRTUAL_DISK_FLAG_IS_LIVE_MIGRATION: MIRROR_VIRTUAL_DISK_FLAG = 8i32; |
| 156 |
pub const MIRROR_VIRTUAL_DISK_FLAG_NONE: MIRROR_VIRTUAL_DISK_FLAG = 0i32; |
| 157 |
pub const MIRROR_VIRTUAL_DISK_FLAG_SKIP_MIRROR_ACTIVATION: MIRROR_VIRTUAL_DISK_FLAG = 2i32; |
| 158 |
pub const MIRROR_VIRTUAL_DISK_VERSION_1: MIRROR_VIRTUAL_DISK_VERSION = 1i32; |
| 159 |
pub const MIRROR_VIRTUAL_DISK_VERSION_UNSPECIFIED: MIRROR_VIRTUAL_DISK_VERSION = 0i32; |
| 160 |
pub const MODIFY_VHDSET_DEFAULT_SNAPSHOT_PATH: MODIFY_VHDSET_VERSION = 3i32; |
| 161 |
pub const MODIFY_VHDSET_FLAG_NONE: MODIFY_VHDSET_FLAG = 0i32; |
| 162 |
pub const MODIFY_VHDSET_FLAG_WRITEABLE_SNAPSHOT: MODIFY_VHDSET_FLAG = 1i32; |
| 163 |
pub const MODIFY_VHDSET_REMOVE_SNAPSHOT: MODIFY_VHDSET_VERSION = 2i32; |
| 164 |
pub const MODIFY_VHDSET_SNAPSHOT_PATH: MODIFY_VHDSET_VERSION = 1i32; |
| 165 |
pub const MODIFY_VHDSET_UNSPECIFIED: MODIFY_VHDSET_VERSION = 0i32; |
| 166 |
pub const OPEN_VIRTUAL_DISK_FLAG_BLANK_FILE: OPEN_VIRTUAL_DISK_FLAG = 2i32; |
| 167 |
pub const OPEN_VIRTUAL_DISK_FLAG_BOOT_DRIVE: OPEN_VIRTUAL_DISK_FLAG = 4i32; |
| 168 |
pub const OPEN_VIRTUAL_DISK_FLAG_CACHED_IO: OPEN_VIRTUAL_DISK_FLAG = 8i32; |
| 169 |
pub const OPEN_VIRTUAL_DISK_FLAG_CUSTOM_DIFF_CHAIN: OPEN_VIRTUAL_DISK_FLAG = 16i32; |
| 170 |
pub const OPEN_VIRTUAL_DISK_FLAG_IGNORE_RELATIVE_PARENT_LOCATOR: OPEN_VIRTUAL_DISK_FLAG = 128i32; |
| 171 |
pub const OPEN_VIRTUAL_DISK_FLAG_NONE: OPEN_VIRTUAL_DISK_FLAG = 0i32; |
| 172 |
pub const OPEN_VIRTUAL_DISK_FLAG_NO_PARENTS: OPEN_VIRTUAL_DISK_FLAG = 1i32; |
| 173 |
pub const OPEN_VIRTUAL_DISK_FLAG_NO_WRITE_HARDENING: OPEN_VIRTUAL_DISK_FLAG = 256i32; |
| 174 |
pub const OPEN_VIRTUAL_DISK_FLAG_PARENT_CACHED_IO: OPEN_VIRTUAL_DISK_FLAG = 32i32; |
| 175 |
pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES: OPEN_VIRTUAL_DISK_FLAG = 512i32; |
| 176 |
pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_ENCRYPTED_FILES: OPEN_VIRTUAL_DISK_FLAG = 2048i32; |
| 177 |
pub const OPEN_VIRTUAL_DISK_FLAG_SUPPORT_SPARSE_FILES_ANY_FS: OPEN_VIRTUAL_DISK_FLAG = 1024i32; |
| 178 |
pub const OPEN_VIRTUAL_DISK_FLAG_VHDSET_FILE_ONLY: OPEN_VIRTUAL_DISK_FLAG = 64i32; |
| 179 |
pub const OPEN_VIRTUAL_DISK_RW_DEPTH_DEFAULT: u32 = 1u32; |
| 180 |
pub const OPEN_VIRTUAL_DISK_VERSION_1: OPEN_VIRTUAL_DISK_VERSION = 1i32; |
| 181 |
pub const OPEN_VIRTUAL_DISK_VERSION_2: OPEN_VIRTUAL_DISK_VERSION = 2i32; |
| 182 |
pub const OPEN_VIRTUAL_DISK_VERSION_3: OPEN_VIRTUAL_DISK_VERSION = 3i32; |
| 183 |
pub const OPEN_VIRTUAL_DISK_VERSION_UNSPECIFIED: OPEN_VIRTUAL_DISK_VERSION = 0i32; |
| 184 |
pub const QUERY_CHANGES_VIRTUAL_DISK_FLAG_NONE: QUERY_CHANGES_VIRTUAL_DISK_FLAG = 0i32; |
| 185 |
pub const RAW_SCSI_VIRTUAL_DISK_FLAG_NONE: RAW_SCSI_VIRTUAL_DISK_FLAG = 0i32; |
| 186 |
pub const RAW_SCSI_VIRTUAL_DISK_VERSION_1: RAW_SCSI_VIRTUAL_DISK_VERSION = 1i32; |
| 187 |
pub const RAW_SCSI_VIRTUAL_DISK_VERSION_UNSPECIFIED: RAW_SCSI_VIRTUAL_DISK_VERSION = 0i32; |
| 188 |
pub const RESIZE_VIRTUAL_DISK_FLAG_ALLOW_UNSAFE_VIRTUAL_SIZE: RESIZE_VIRTUAL_DISK_FLAG = 1i32; |
| 189 |
pub const RESIZE_VIRTUAL_DISK_FLAG_NONE: RESIZE_VIRTUAL_DISK_FLAG = 0i32; |
| 190 |
pub const RESIZE_VIRTUAL_DISK_FLAG_RESIZE_TO_SMALLEST_SAFE_VIRTUAL_SIZE: RESIZE_VIRTUAL_DISK_FLAG = 2i32; |
| 191 |
pub const RESIZE_VIRTUAL_DISK_VERSION_1: RESIZE_VIRTUAL_DISK_VERSION = 1i32; |
| 192 |
pub const RESIZE_VIRTUAL_DISK_VERSION_UNSPECIFIED: RESIZE_VIRTUAL_DISK_VERSION = 0i32; |
| 193 |
pub const SET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE: SET_VIRTUAL_DISK_INFO_VERSION = 6i32; |
| 194 |
pub const SET_VIRTUAL_DISK_INFO_IDENTIFIER: SET_VIRTUAL_DISK_INFO_VERSION = 2i32; |
| 195 |
pub const SET_VIRTUAL_DISK_INFO_PARENT_LOCATOR: SET_VIRTUAL_DISK_INFO_VERSION = 7i32; |
| 196 |
pub const SET_VIRTUAL_DISK_INFO_PARENT_PATH: SET_VIRTUAL_DISK_INFO_VERSION = 1i32; |
| 197 |
pub const SET_VIRTUAL_DISK_INFO_PARENT_PATH_WITH_DEPTH: SET_VIRTUAL_DISK_INFO_VERSION = 3i32; |
| 198 |
pub const SET_VIRTUAL_DISK_INFO_PHYSICAL_SECTOR_SIZE: SET_VIRTUAL_DISK_INFO_VERSION = 4i32; |
| 199 |
pub const SET_VIRTUAL_DISK_INFO_UNSPECIFIED: SET_VIRTUAL_DISK_INFO_VERSION = 0i32; |
| 200 |
pub const SET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID: SET_VIRTUAL_DISK_INFO_VERSION = 5i32; |
| 201 |
pub const STORAGE_DEPENDENCY_INFO_VERSION_1: STORAGE_DEPENDENCY_INFO_VERSION = 1i32; |
| 202 |
pub const STORAGE_DEPENDENCY_INFO_VERSION_2: STORAGE_DEPENDENCY_INFO_VERSION = 2i32; |
| 203 |
pub const STORAGE_DEPENDENCY_INFO_VERSION_UNSPECIFIED: STORAGE_DEPENDENCY_INFO_VERSION = 0i32; |
| 204 |
pub const TAKE_SNAPSHOT_VHDSET_FLAG_NONE: TAKE_SNAPSHOT_VHDSET_FLAG = 0i32; |
| 205 |
pub const TAKE_SNAPSHOT_VHDSET_FLAG_WRITEABLE: TAKE_SNAPSHOT_VHDSET_FLAG = 1i32; |
| 206 |
pub const TAKE_SNAPSHOT_VHDSET_VERSION_1: TAKE_SNAPSHOT_VHDSET_VERSION = 1i32; |
| 207 |
pub const TAKE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED: TAKE_SNAPSHOT_VHDSET_VERSION = 0i32; |
| 208 |
pub const VIRTUAL_DISK_ACCESS_ALL: VIRTUAL_DISK_ACCESS_MASK = 4128768i32; |
| 209 |
pub const VIRTUAL_DISK_ACCESS_ATTACH_RO: VIRTUAL_DISK_ACCESS_MASK = 65536i32; |
| 210 |
pub const VIRTUAL_DISK_ACCESS_ATTACH_RW: VIRTUAL_DISK_ACCESS_MASK = 131072i32; |
| 211 |
pub const VIRTUAL_DISK_ACCESS_CREATE: VIRTUAL_DISK_ACCESS_MASK = 1048576i32; |
| 212 |
pub const VIRTUAL_DISK_ACCESS_DETACH: VIRTUAL_DISK_ACCESS_MASK = 262144i32; |
| 213 |
pub const VIRTUAL_DISK_ACCESS_GET_INFO: VIRTUAL_DISK_ACCESS_MASK = 524288i32; |
| 214 |
pub const VIRTUAL_DISK_ACCESS_METAOPS: VIRTUAL_DISK_ACCESS_MASK = 2097152i32; |
| 215 |
pub const VIRTUAL_DISK_ACCESS_NONE: VIRTUAL_DISK_ACCESS_MASK = 0i32; |
| 216 |
pub const VIRTUAL_DISK_ACCESS_READ: VIRTUAL_DISK_ACCESS_MASK = 851968i32; |
| 217 |
pub const VIRTUAL_DISK_ACCESS_WRITABLE: VIRTUAL_DISK_ACCESS_MASK = 3276800i32; |
| 218 |
pub const VIRTUAL_DISK_MAXIMUM_CHANGE_TRACKING_ID_LENGTH: u32 = 256u32; |
| 219 |
pub const VIRTUAL_STORAGE_TYPE_DEVICE_ISO: u32 = 1u32; |
| 220 |
pub const VIRTUAL_STORAGE_TYPE_DEVICE_UNKNOWN: u32 = 0u32; |
| 221 |
pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHD: u32 = 2u32; |
| 222 |
pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHDSET: u32 = 4u32; |
| 223 |
pub const VIRTUAL_STORAGE_TYPE_DEVICE_VHDX: u32 = 3u32; |
| 224 |
pub const VIRTUAL_STORAGE_TYPE_VENDOR_MICROSOFT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xec984aec_a0f9_47e9_901f_71415a66345b); |
| 225 |
pub const VIRTUAL_STORAGE_TYPE_VENDOR_UNKNOWN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x00000000_0000_0000_0000_000000000000); |
| 226 |
pub type APPLY_SNAPSHOT_VHDSET_FLAG = i32; |
| 227 |
pub type APPLY_SNAPSHOT_VHDSET_VERSION = i32; |
| 228 |
pub type ATTACH_VIRTUAL_DISK_FLAG = i32; |
| 229 |
pub type ATTACH_VIRTUAL_DISK_VERSION = i32; |
| 230 |
pub type COMPACT_VIRTUAL_DISK_FLAG = i32; |
| 231 |
pub type COMPACT_VIRTUAL_DISK_VERSION = i32; |
| 232 |
pub type CREATE_VIRTUAL_DISK_FLAG = i32; |
| 233 |
pub type CREATE_VIRTUAL_DISK_VERSION = i32; |
| 234 |
pub type DELETE_SNAPSHOT_VHDSET_FLAG = i32; |
| 235 |
pub type DELETE_SNAPSHOT_VHDSET_VERSION = i32; |
| 236 |
pub type DEPENDENT_DISK_FLAG = i32; |
| 237 |
pub type DETACH_VIRTUAL_DISK_FLAG = i32; |
| 238 |
pub type EXPAND_VIRTUAL_DISK_FLAG = i32; |
| 239 |
pub type EXPAND_VIRTUAL_DISK_VERSION = i32; |
| 240 |
pub type FORK_VIRTUAL_DISK_FLAG = i32; |
| 241 |
pub type FORK_VIRTUAL_DISK_VERSION = i32; |
| 242 |
pub type GET_STORAGE_DEPENDENCY_FLAG = i32; |
| 243 |
pub type GET_VIRTUAL_DISK_INFO_VERSION = i32; |
| 244 |
pub type MERGE_VIRTUAL_DISK_FLAG = i32; |
| 245 |
pub type MERGE_VIRTUAL_DISK_VERSION = i32; |
| 246 |
pub type MIRROR_VIRTUAL_DISK_FLAG = i32; |
| 247 |
pub type MIRROR_VIRTUAL_DISK_VERSION = i32; |
| 248 |
pub type MODIFY_VHDSET_FLAG = i32; |
| 249 |
pub type MODIFY_VHDSET_VERSION = i32; |
| 250 |
pub type OPEN_VIRTUAL_DISK_FLAG = i32; |
| 251 |
pub type OPEN_VIRTUAL_DISK_VERSION = i32; |
| 252 |
pub type QUERY_CHANGES_VIRTUAL_DISK_FLAG = i32; |
| 253 |
pub type RAW_SCSI_VIRTUAL_DISK_FLAG = i32; |
| 254 |
pub type RAW_SCSI_VIRTUAL_DISK_VERSION = i32; |
| 255 |
pub type RESIZE_VIRTUAL_DISK_FLAG = i32; |
| 256 |
pub type RESIZE_VIRTUAL_DISK_VERSION = i32; |
| 257 |
pub type SET_VIRTUAL_DISK_INFO_VERSION = i32; |
| 258 |
pub type STORAGE_DEPENDENCY_INFO_VERSION = i32; |
| 259 |
pub type TAKE_SNAPSHOT_VHDSET_FLAG = i32; |
| 260 |
pub type TAKE_SNAPSHOT_VHDSET_VERSION = i32; |
| 261 |
pub type VIRTUAL_DISK_ACCESS_MASK = i32; |
| 262 |
#[repr(C)] |
| 263 |
pub struct APPLY_SNAPSHOT_VHDSET_PARAMETERS { |
| 264 |
pub Version: APPLY_SNAPSHOT_VHDSET_VERSION, |
| 265 |
pub Anonymous: APPLY_SNAPSHOT_VHDSET_PARAMETERS_0, |
| 266 |
} |
| 267 |
impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS {} |
| 268 |
impl ::core::clone::Clone for APPLY_SNAPSHOT_VHDSET_PARAMETERS { |
| 269 |
fn clone(&self) -> Self { |
| 270 |
*self |
| 271 |
} |
| 272 |
} |
| 273 |
#[repr(C)] |
| 274 |
pub union APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 { |
| 275 |
pub Version1: APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0, |
| 276 |
} |
| 277 |
impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 {} |
| 278 |
impl ::core::clone::Clone for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0 { |
| 279 |
fn clone(&self) -> Self { |
| 280 |
*self |
| 281 |
} |
| 282 |
} |
| 283 |
#[repr(C)] |
| 284 |
pub struct APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 { |
| 285 |
pub SnapshotId: ::windows_sys::core::GUID, |
| 286 |
pub LeafSnapshotId: ::windows_sys::core::GUID, |
| 287 |
} |
| 288 |
impl ::core::marker::Copy for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 {} |
| 289 |
impl ::core::clone::Clone for APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0 { |
| 290 |
fn clone(&self) -> Self { |
| 291 |
*self |
| 292 |
} |
| 293 |
} |
| 294 |
#[repr(C)] |
| 295 |
pub struct ATTACH_VIRTUAL_DISK_PARAMETERS { |
| 296 |
pub Version: ATTACH_VIRTUAL_DISK_VERSION, |
| 297 |
pub Anonymous: ATTACH_VIRTUAL_DISK_PARAMETERS_0, |
| 298 |
} |
| 299 |
impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS {} |
| 300 |
impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS { |
| 301 |
fn clone(&self) -> Self { |
| 302 |
*self |
| 303 |
} |
| 304 |
} |
| 305 |
#[repr(C)] |
| 306 |
pub union ATTACH_VIRTUAL_DISK_PARAMETERS_0 { |
| 307 |
pub Version1: ATTACH_VIRTUAL_DISK_PARAMETERS_0_0, |
| 308 |
pub Version2: ATTACH_VIRTUAL_DISK_PARAMETERS_0_1, |
| 309 |
} |
| 310 |
impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0 {} |
| 311 |
impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS_0 { |
| 312 |
fn clone(&self) -> Self { |
| 313 |
*self |
| 314 |
} |
| 315 |
} |
| 316 |
#[repr(C)] |
| 317 |
pub struct ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 318 |
pub Reserved: u32, |
| 319 |
} |
| 320 |
impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 321 |
impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 322 |
fn clone(&self) -> Self { |
| 323 |
*self |
| 324 |
} |
| 325 |
} |
| 326 |
#[repr(C)] |
| 327 |
pub struct ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 { |
| 328 |
pub RestrictedOffset: u64, |
| 329 |
pub RestrictedLength: u64, |
| 330 |
} |
| 331 |
impl ::core::marker::Copy for ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 {} |
| 332 |
impl ::core::clone::Clone for ATTACH_VIRTUAL_DISK_PARAMETERS_0_1 { |
| 333 |
fn clone(&self) -> Self { |
| 334 |
*self |
| 335 |
} |
| 336 |
} |
| 337 |
#[repr(C)] |
| 338 |
pub struct COMPACT_VIRTUAL_DISK_PARAMETERS { |
| 339 |
pub Version: COMPACT_VIRTUAL_DISK_VERSION, |
| 340 |
pub Anonymous: COMPACT_VIRTUAL_DISK_PARAMETERS_0, |
| 341 |
} |
| 342 |
impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS {} |
| 343 |
impl ::core::clone::Clone for COMPACT_VIRTUAL_DISK_PARAMETERS { |
| 344 |
fn clone(&self) -> Self { |
| 345 |
*self |
| 346 |
} |
| 347 |
} |
| 348 |
#[repr(C)] |
| 349 |
pub union COMPACT_VIRTUAL_DISK_PARAMETERS_0 { |
| 350 |
pub Version1: COMPACT_VIRTUAL_DISK_PARAMETERS_0_0, |
| 351 |
} |
| 352 |
impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS_0 {} |
| 353 |
impl ::core::clone::Clone for COMPACT_VIRTUAL_DISK_PARAMETERS_0 { |
| 354 |
fn clone(&self) -> Self { |
| 355 |
*self |
| 356 |
} |
| 357 |
} |
| 358 |
#[repr(C)] |
| 359 |
pub struct COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 360 |
pub Reserved: u32, |
| 361 |
} |
| 362 |
impl ::core::marker::Copy for COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 363 |
impl ::core::clone::Clone for COMPACT_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 364 |
fn clone(&self) -> Self { |
| 365 |
*self |
| 366 |
} |
| 367 |
} |
| 368 |
#[repr(C)] |
| 369 |
pub struct CREATE_VIRTUAL_DISK_PARAMETERS { |
| 370 |
pub Version: CREATE_VIRTUAL_DISK_VERSION, |
| 371 |
pub Anonymous: CREATE_VIRTUAL_DISK_PARAMETERS_0, |
| 372 |
} |
| 373 |
impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS {} |
| 374 |
impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS { |
| 375 |
fn clone(&self) -> Self { |
| 376 |
*self |
| 377 |
} |
| 378 |
} |
| 379 |
#[repr(C)] |
| 380 |
pub union CREATE_VIRTUAL_DISK_PARAMETERS_0 { |
| 381 |
pub Version1: CREATE_VIRTUAL_DISK_PARAMETERS_0_0, |
| 382 |
pub Version2: CREATE_VIRTUAL_DISK_PARAMETERS_0_1, |
| 383 |
pub Version3: CREATE_VIRTUAL_DISK_PARAMETERS_0_2, |
| 384 |
pub Version4: CREATE_VIRTUAL_DISK_PARAMETERS_0_3, |
| 385 |
} |
| 386 |
impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0 {} |
| 387 |
impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0 { |
| 388 |
fn clone(&self) -> Self { |
| 389 |
*self |
| 390 |
} |
| 391 |
} |
| 392 |
#[repr(C)] |
| 393 |
pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 394 |
pub UniqueId: ::windows_sys::core::GUID, |
| 395 |
pub MaximumSize: u64, |
| 396 |
pub BlockSizeInBytes: u32, |
| 397 |
pub SectorSizeInBytes: u32, |
| 398 |
pub ParentPath: ::windows_sys::core::PCWSTR, |
| 399 |
pub SourcePath: ::windows_sys::core::PCWSTR, |
| 400 |
} |
| 401 |
impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 402 |
impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 403 |
fn clone(&self) -> Self { |
| 404 |
*self |
| 405 |
} |
| 406 |
} |
| 407 |
#[repr(C)] |
| 408 |
pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_1 { |
| 409 |
pub UniqueId: ::windows_sys::core::GUID, |
| 410 |
pub MaximumSize: u64, |
| 411 |
pub BlockSizeInBytes: u32, |
| 412 |
pub SectorSizeInBytes: u32, |
| 413 |
pub PhysicalSectorSizeInBytes: u32, |
| 414 |
pub ParentPath: ::windows_sys::core::PCWSTR, |
| 415 |
pub SourcePath: ::windows_sys::core::PCWSTR, |
| 416 |
pub OpenFlags: OPEN_VIRTUAL_DISK_FLAG, |
| 417 |
pub ParentVirtualStorageType: VIRTUAL_STORAGE_TYPE, |
| 418 |
pub SourceVirtualStorageType: VIRTUAL_STORAGE_TYPE, |
| 419 |
pub ResiliencyGuid: ::windows_sys::core::GUID, |
| 420 |
} |
| 421 |
impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_1 {} |
| 422 |
impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_1 { |
| 423 |
fn clone(&self) -> Self { |
| 424 |
*self |
| 425 |
} |
| 426 |
} |
| 427 |
#[repr(C)] |
| 428 |
pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_2 { |
| 429 |
pub UniqueId: ::windows_sys::core::GUID, |
| 430 |
pub MaximumSize: u64, |
| 431 |
pub BlockSizeInBytes: u32, |
| 432 |
pub SectorSizeInBytes: u32, |
| 433 |
pub PhysicalSectorSizeInBytes: u32, |
| 434 |
pub ParentPath: ::windows_sys::core::PCWSTR, |
| 435 |
pub SourcePath: ::windows_sys::core::PCWSTR, |
| 436 |
pub OpenFlags: OPEN_VIRTUAL_DISK_FLAG, |
| 437 |
pub ParentVirtualStorageType: VIRTUAL_STORAGE_TYPE, |
| 438 |
pub SourceVirtualStorageType: VIRTUAL_STORAGE_TYPE, |
| 439 |
pub ResiliencyGuid: ::windows_sys::core::GUID, |
| 440 |
pub SourceLimitPath: ::windows_sys::core::PCWSTR, |
| 441 |
pub BackingStorageType: VIRTUAL_STORAGE_TYPE, |
| 442 |
} |
| 443 |
impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_2 {} |
| 444 |
impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_2 { |
| 445 |
fn clone(&self) -> Self { |
| 446 |
*self |
| 447 |
} |
| 448 |
} |
| 449 |
#[repr(C)] |
| 450 |
pub struct CREATE_VIRTUAL_DISK_PARAMETERS_0_3 { |
| 451 |
pub UniqueId: ::windows_sys::core::GUID, |
| 452 |
pub MaximumSize: u64, |
| 453 |
pub BlockSizeInBytes: u32, |
| 454 |
pub SectorSizeInBytes: u32, |
| 455 |
pub PhysicalSectorSizeInBytes: u32, |
| 456 |
pub ParentPath: ::windows_sys::core::PCWSTR, |
| 457 |
pub SourcePath: ::windows_sys::core::PCWSTR, |
| 458 |
pub OpenFlags: OPEN_VIRTUAL_DISK_FLAG, |
| 459 |
pub ParentVirtualStorageType: VIRTUAL_STORAGE_TYPE, |
| 460 |
pub SourceVirtualStorageType: VIRTUAL_STORAGE_TYPE, |
| 461 |
pub ResiliencyGuid: ::windows_sys::core::GUID, |
| 462 |
pub SourceLimitPath: ::windows_sys::core::PCWSTR, |
| 463 |
pub BackingStorageType: VIRTUAL_STORAGE_TYPE, |
| 464 |
pub PmemAddressAbstractionType: ::windows_sys::core::GUID, |
| 465 |
pub DataAlignment: u64, |
| 466 |
} |
| 467 |
impl ::core::marker::Copy for CREATE_VIRTUAL_DISK_PARAMETERS_0_3 {} |
| 468 |
impl ::core::clone::Clone for CREATE_VIRTUAL_DISK_PARAMETERS_0_3 { |
| 469 |
fn clone(&self) -> Self { |
| 470 |
*self |
| 471 |
} |
| 472 |
} |
| 473 |
#[repr(C)] |
| 474 |
pub struct DELETE_SNAPSHOT_VHDSET_PARAMETERS { |
| 475 |
pub Version: DELETE_SNAPSHOT_VHDSET_VERSION, |
| 476 |
pub Anonymous: DELETE_SNAPSHOT_VHDSET_PARAMETERS_0, |
| 477 |
} |
| 478 |
impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS {} |
| 479 |
impl ::core::clone::Clone for DELETE_SNAPSHOT_VHDSET_PARAMETERS { |
| 480 |
fn clone(&self) -> Self { |
| 481 |
*self |
| 482 |
} |
| 483 |
} |
| 484 |
#[repr(C)] |
| 485 |
pub union DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 { |
| 486 |
pub Version1: DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0, |
| 487 |
} |
| 488 |
impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 {} |
| 489 |
impl ::core::clone::Clone for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0 { |
| 490 |
fn clone(&self) -> Self { |
| 491 |
*self |
| 492 |
} |
| 493 |
} |
| 494 |
#[repr(C)] |
| 495 |
pub struct DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { |
| 496 |
pub SnapshotId: ::windows_sys::core::GUID, |
| 497 |
} |
| 498 |
impl ::core::marker::Copy for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {} |
| 499 |
impl ::core::clone::Clone for DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { |
| 500 |
fn clone(&self) -> Self { |
| 501 |
*self |
| 502 |
} |
| 503 |
} |
| 504 |
#[repr(C)] |
| 505 |
pub struct EXPAND_VIRTUAL_DISK_PARAMETERS { |
| 506 |
pub Version: EXPAND_VIRTUAL_DISK_VERSION, |
| 507 |
pub Anonymous: EXPAND_VIRTUAL_DISK_PARAMETERS_0, |
| 508 |
} |
| 509 |
impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS {} |
| 510 |
impl ::core::clone::Clone for EXPAND_VIRTUAL_DISK_PARAMETERS { |
| 511 |
fn clone(&self) -> Self { |
| 512 |
*self |
| 513 |
} |
| 514 |
} |
| 515 |
#[repr(C)] |
| 516 |
pub union EXPAND_VIRTUAL_DISK_PARAMETERS_0 { |
| 517 |
pub Version1: EXPAND_VIRTUAL_DISK_PARAMETERS_0_0, |
| 518 |
} |
| 519 |
impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS_0 {} |
| 520 |
impl ::core::clone::Clone for EXPAND_VIRTUAL_DISK_PARAMETERS_0 { |
| 521 |
fn clone(&self) -> Self { |
| 522 |
*self |
| 523 |
} |
| 524 |
} |
| 525 |
#[repr(C)] |
| 526 |
pub struct EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 527 |
pub NewSize: u64, |
| 528 |
} |
| 529 |
impl ::core::marker::Copy for EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 530 |
impl ::core::clone::Clone for EXPAND_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 531 |
fn clone(&self) -> Self { |
| 532 |
*self |
| 533 |
} |
| 534 |
} |
| 535 |
#[repr(C)] |
| 536 |
pub struct FORK_VIRTUAL_DISK_PARAMETERS { |
| 537 |
pub Version: FORK_VIRTUAL_DISK_VERSION, |
| 538 |
pub Anonymous: FORK_VIRTUAL_DISK_PARAMETERS_0, |
| 539 |
} |
| 540 |
impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS {} |
| 541 |
impl ::core::clone::Clone for FORK_VIRTUAL_DISK_PARAMETERS { |
| 542 |
fn clone(&self) -> Self { |
| 543 |
*self |
| 544 |
} |
| 545 |
} |
| 546 |
#[repr(C)] |
| 547 |
pub union FORK_VIRTUAL_DISK_PARAMETERS_0 { |
| 548 |
pub Version1: FORK_VIRTUAL_DISK_PARAMETERS_0_0, |
| 549 |
} |
| 550 |
impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS_0 {} |
| 551 |
impl ::core::clone::Clone for FORK_VIRTUAL_DISK_PARAMETERS_0 { |
| 552 |
fn clone(&self) -> Self { |
| 553 |
*self |
| 554 |
} |
| 555 |
} |
| 556 |
#[repr(C)] |
| 557 |
pub struct FORK_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 558 |
pub ForkedVirtualDiskPath: ::windows_sys::core::PCWSTR, |
| 559 |
} |
| 560 |
impl ::core::marker::Copy for FORK_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 561 |
impl ::core::clone::Clone for FORK_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 562 |
fn clone(&self) -> Self { |
| 563 |
*self |
| 564 |
} |
| 565 |
} |
| 566 |
#[repr(C)] |
| 567 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 568 |
#[cfg(feature = "Win32_Foundation")] |
| 569 |
pub struct GET_VIRTUAL_DISK_INFO { |
| 570 |
pub Version: GET_VIRTUAL_DISK_INFO_VERSION, |
| 571 |
pub Anonymous: GET_VIRTUAL_DISK_INFO_0, |
| 572 |
} |
| 573 |
#[cfg(feature = "Win32_Foundation")] |
| 574 |
impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO {} |
| 575 |
#[cfg(feature = "Win32_Foundation")] |
| 576 |
impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO { |
| 577 |
fn clone(&self) -> Self { |
| 578 |
*self |
| 579 |
} |
| 580 |
} |
| 581 |
#[repr(C)] |
| 582 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 583 |
#[cfg(feature = "Win32_Foundation")] |
| 584 |
pub union GET_VIRTUAL_DISK_INFO_0 { |
| 585 |
pub Size: GET_VIRTUAL_DISK_INFO_0_3, |
| 586 |
pub Identifier: ::windows_sys::core::GUID, |
| 587 |
pub ParentLocation: GET_VIRTUAL_DISK_INFO_0_1, |
| 588 |
pub ParentIdentifier: ::windows_sys::core::GUID, |
| 589 |
pub ParentTimestamp: u32, |
| 590 |
pub VirtualStorageType: VIRTUAL_STORAGE_TYPE, |
| 591 |
pub ProviderSubtype: u32, |
| 592 |
pub Is4kAligned: super::super::Foundation::BOOL, |
| 593 |
pub IsLoaded: super::super::Foundation::BOOL, |
| 594 |
pub PhysicalDisk: GET_VIRTUAL_DISK_INFO_0_2, |
| 595 |
pub VhdPhysicalSectorSize: u32, |
| 596 |
pub SmallestSafeVirtualSize: u64, |
| 597 |
pub FragmentationPercentage: u32, |
| 598 |
pub VirtualDiskId: ::windows_sys::core::GUID, |
| 599 |
pub ChangeTrackingState: GET_VIRTUAL_DISK_INFO_0_0, |
| 600 |
} |
| 601 |
#[cfg(feature = "Win32_Foundation")] |
| 602 |
impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0 {} |
| 603 |
#[cfg(feature = "Win32_Foundation")] |
| 604 |
impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0 { |
| 605 |
fn clone(&self) -> Self { |
| 606 |
*self |
| 607 |
} |
| 608 |
} |
| 609 |
#[repr(C)] |
| 610 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 611 |
#[cfg(feature = "Win32_Foundation")] |
| 612 |
pub struct GET_VIRTUAL_DISK_INFO_0_0 { |
| 613 |
pub Enabled: super::super::Foundation::BOOL, |
| 614 |
pub NewerChanges: super::super::Foundation::BOOL, |
| 615 |
pub MostRecentId: [u16; 1], |
| 616 |
} |
| 617 |
#[cfg(feature = "Win32_Foundation")] |
| 618 |
impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_0 {} |
| 619 |
#[cfg(feature = "Win32_Foundation")] |
| 620 |
impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_0 { |
| 621 |
fn clone(&self) -> Self { |
| 622 |
*self |
| 623 |
} |
| 624 |
} |
| 625 |
#[repr(C)] |
| 626 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 627 |
#[cfg(feature = "Win32_Foundation")] |
| 628 |
pub struct GET_VIRTUAL_DISK_INFO_0_1 { |
| 629 |
pub ParentResolved: super::super::Foundation::BOOL, |
| 630 |
pub ParentLocationBuffer: [u16; 1], |
| 631 |
} |
| 632 |
#[cfg(feature = "Win32_Foundation")] |
| 633 |
impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_1 {} |
| 634 |
#[cfg(feature = "Win32_Foundation")] |
| 635 |
impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_1 { |
| 636 |
fn clone(&self) -> Self { |
| 637 |
*self |
| 638 |
} |
| 639 |
} |
| 640 |
#[repr(C)] |
| 641 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 642 |
#[cfg(feature = "Win32_Foundation")] |
| 643 |
pub struct GET_VIRTUAL_DISK_INFO_0_2 { |
| 644 |
pub LogicalSectorSize: u32, |
| 645 |
pub PhysicalSectorSize: u32, |
| 646 |
pub IsRemote: super::super::Foundation::BOOL, |
| 647 |
} |
| 648 |
#[cfg(feature = "Win32_Foundation")] |
| 649 |
impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_2 {} |
| 650 |
#[cfg(feature = "Win32_Foundation")] |
| 651 |
impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_2 { |
| 652 |
fn clone(&self) -> Self { |
| 653 |
*self |
| 654 |
} |
| 655 |
} |
| 656 |
#[repr(C)] |
| 657 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 658 |
#[cfg(feature = "Win32_Foundation")] |
| 659 |
pub struct GET_VIRTUAL_DISK_INFO_0_3 { |
| 660 |
pub VirtualSize: u64, |
| 661 |
pub PhysicalSize: u64, |
| 662 |
pub BlockSize: u32, |
| 663 |
pub SectorSize: u32, |
| 664 |
} |
| 665 |
#[cfg(feature = "Win32_Foundation")] |
| 666 |
impl ::core::marker::Copy for GET_VIRTUAL_DISK_INFO_0_3 {} |
| 667 |
#[cfg(feature = "Win32_Foundation")] |
| 668 |
impl ::core::clone::Clone for GET_VIRTUAL_DISK_INFO_0_3 { |
| 669 |
fn clone(&self) -> Self { |
| 670 |
*self |
| 671 |
} |
| 672 |
} |
| 673 |
#[repr(C)] |
| 674 |
pub struct MERGE_VIRTUAL_DISK_PARAMETERS { |
| 675 |
pub Version: MERGE_VIRTUAL_DISK_VERSION, |
| 676 |
pub Anonymous: MERGE_VIRTUAL_DISK_PARAMETERS_0, |
| 677 |
} |
| 678 |
impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS {} |
| 679 |
impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS { |
| 680 |
fn clone(&self) -> Self { |
| 681 |
*self |
| 682 |
} |
| 683 |
} |
| 684 |
#[repr(C)] |
| 685 |
pub union MERGE_VIRTUAL_DISK_PARAMETERS_0 { |
| 686 |
pub Version1: MERGE_VIRTUAL_DISK_PARAMETERS_0_0, |
| 687 |
pub Version2: MERGE_VIRTUAL_DISK_PARAMETERS_0_1, |
| 688 |
} |
| 689 |
impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0 {} |
| 690 |
impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS_0 { |
| 691 |
fn clone(&self) -> Self { |
| 692 |
*self |
| 693 |
} |
| 694 |
} |
| 695 |
#[repr(C)] |
| 696 |
pub struct MERGE_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 697 |
pub MergeDepth: u32, |
| 698 |
} |
| 699 |
impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 700 |
impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 701 |
fn clone(&self) -> Self { |
| 702 |
*self |
| 703 |
} |
| 704 |
} |
| 705 |
#[repr(C)] |
| 706 |
pub struct MERGE_VIRTUAL_DISK_PARAMETERS_0_1 { |
| 707 |
pub MergeSourceDepth: u32, |
| 708 |
pub MergeTargetDepth: u32, |
| 709 |
} |
| 710 |
impl ::core::marker::Copy for MERGE_VIRTUAL_DISK_PARAMETERS_0_1 {} |
| 711 |
impl ::core::clone::Clone for MERGE_VIRTUAL_DISK_PARAMETERS_0_1 { |
| 712 |
fn clone(&self) -> Self { |
| 713 |
*self |
| 714 |
} |
| 715 |
} |
| 716 |
#[repr(C)] |
| 717 |
pub struct MIRROR_VIRTUAL_DISK_PARAMETERS { |
| 718 |
pub Version: MIRROR_VIRTUAL_DISK_VERSION, |
| 719 |
pub Anonymous: MIRROR_VIRTUAL_DISK_PARAMETERS_0, |
| 720 |
} |
| 721 |
impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS {} |
| 722 |
impl ::core::clone::Clone for MIRROR_VIRTUAL_DISK_PARAMETERS { |
| 723 |
fn clone(&self) -> Self { |
| 724 |
*self |
| 725 |
} |
| 726 |
} |
| 727 |
#[repr(C)] |
| 728 |
pub union MIRROR_VIRTUAL_DISK_PARAMETERS_0 { |
| 729 |
pub Version1: MIRROR_VIRTUAL_DISK_PARAMETERS_0_0, |
| 730 |
} |
| 731 |
impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS_0 {} |
| 732 |
impl ::core::clone::Clone for MIRROR_VIRTUAL_DISK_PARAMETERS_0 { |
| 733 |
fn clone(&self) -> Self { |
| 734 |
*self |
| 735 |
} |
| 736 |
} |
| 737 |
#[repr(C)] |
| 738 |
pub struct MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 739 |
pub MirrorVirtualDiskPath: ::windows_sys::core::PCWSTR, |
| 740 |
} |
| 741 |
impl ::core::marker::Copy for MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 742 |
impl ::core::clone::Clone for MIRROR_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 743 |
fn clone(&self) -> Self { |
| 744 |
*self |
| 745 |
} |
| 746 |
} |
| 747 |
#[repr(C)] |
| 748 |
pub struct MODIFY_VHDSET_PARAMETERS { |
| 749 |
pub Version: MODIFY_VHDSET_VERSION, |
| 750 |
pub Anonymous: MODIFY_VHDSET_PARAMETERS_0, |
| 751 |
} |
| 752 |
impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS {} |
| 753 |
impl ::core::clone::Clone for MODIFY_VHDSET_PARAMETERS { |
| 754 |
fn clone(&self) -> Self { |
| 755 |
*self |
| 756 |
} |
| 757 |
} |
| 758 |
#[repr(C)] |
| 759 |
pub union MODIFY_VHDSET_PARAMETERS_0 { |
| 760 |
pub SnapshotPath: MODIFY_VHDSET_PARAMETERS_0_0, |
| 761 |
pub SnapshotId: ::windows_sys::core::GUID, |
| 762 |
pub DefaultFilePath: ::windows_sys::core::PCWSTR, |
| 763 |
} |
| 764 |
impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS_0 {} |
| 765 |
impl ::core::clone::Clone for MODIFY_VHDSET_PARAMETERS_0 { |
| 766 |
fn clone(&self) -> Self { |
| 767 |
*self |
| 768 |
} |
| 769 |
} |
| 770 |
#[repr(C)] |
| 771 |
pub struct MODIFY_VHDSET_PARAMETERS_0_0 { |
| 772 |
pub SnapshotId: ::windows_sys::core::GUID, |
| 773 |
pub SnapshotFilePath: ::windows_sys::core::PCWSTR, |
| 774 |
} |
| 775 |
impl ::core::marker::Copy for MODIFY_VHDSET_PARAMETERS_0_0 {} |
| 776 |
impl ::core::clone::Clone for MODIFY_VHDSET_PARAMETERS_0_0 { |
| 777 |
fn clone(&self) -> Self { |
| 778 |
*self |
| 779 |
} |
| 780 |
} |
| 781 |
#[repr(C)] |
| 782 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 783 |
#[cfg(feature = "Win32_Foundation")] |
| 784 |
pub struct OPEN_VIRTUAL_DISK_PARAMETERS { |
| 785 |
pub Version: OPEN_VIRTUAL_DISK_VERSION, |
| 786 |
pub Anonymous: OPEN_VIRTUAL_DISK_PARAMETERS_0, |
| 787 |
} |
| 788 |
#[cfg(feature = "Win32_Foundation")] |
| 789 |
impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS {} |
| 790 |
#[cfg(feature = "Win32_Foundation")] |
| 791 |
impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS { |
| 792 |
fn clone(&self) -> Self { |
| 793 |
*self |
| 794 |
} |
| 795 |
} |
| 796 |
#[repr(C)] |
| 797 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 798 |
#[cfg(feature = "Win32_Foundation")] |
| 799 |
pub union OPEN_VIRTUAL_DISK_PARAMETERS_0 { |
| 800 |
pub Version1: OPEN_VIRTUAL_DISK_PARAMETERS_0_0, |
| 801 |
pub Version2: OPEN_VIRTUAL_DISK_PARAMETERS_0_1, |
| 802 |
pub Version3: OPEN_VIRTUAL_DISK_PARAMETERS_0_2, |
| 803 |
} |
| 804 |
#[cfg(feature = "Win32_Foundation")] |
| 805 |
impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0 {} |
| 806 |
#[cfg(feature = "Win32_Foundation")] |
| 807 |
impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0 { |
| 808 |
fn clone(&self) -> Self { |
| 809 |
*self |
| 810 |
} |
| 811 |
} |
| 812 |
#[repr(C)] |
| 813 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 814 |
#[cfg(feature = "Win32_Foundation")] |
| 815 |
pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 816 |
pub RWDepth: u32, |
| 817 |
} |
| 818 |
#[cfg(feature = "Win32_Foundation")] |
| 819 |
impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 820 |
#[cfg(feature = "Win32_Foundation")] |
| 821 |
impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 822 |
fn clone(&self) -> Self { |
| 823 |
*self |
| 824 |
} |
| 825 |
} |
| 826 |
#[repr(C)] |
| 827 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 828 |
#[cfg(feature = "Win32_Foundation")] |
| 829 |
pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_1 { |
| 830 |
pub GetInfoOnly: super::super::Foundation::BOOL, |
| 831 |
pub ReadOnly: super::super::Foundation::BOOL, |
| 832 |
pub ResiliencyGuid: ::windows_sys::core::GUID, |
| 833 |
} |
| 834 |
#[cfg(feature = "Win32_Foundation")] |
| 835 |
impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_1 {} |
| 836 |
#[cfg(feature = "Win32_Foundation")] |
| 837 |
impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0_1 { |
| 838 |
fn clone(&self) -> Self { |
| 839 |
*self |
| 840 |
} |
| 841 |
} |
| 842 |
#[repr(C)] |
| 843 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 844 |
#[cfg(feature = "Win32_Foundation")] |
| 845 |
pub struct OPEN_VIRTUAL_DISK_PARAMETERS_0_2 { |
| 846 |
pub GetInfoOnly: super::super::Foundation::BOOL, |
| 847 |
pub ReadOnly: super::super::Foundation::BOOL, |
| 848 |
pub ResiliencyGuid: ::windows_sys::core::GUID, |
| 849 |
pub SnapshotId: ::windows_sys::core::GUID, |
| 850 |
} |
| 851 |
#[cfg(feature = "Win32_Foundation")] |
| 852 |
impl ::core::marker::Copy for OPEN_VIRTUAL_DISK_PARAMETERS_0_2 {} |
| 853 |
#[cfg(feature = "Win32_Foundation")] |
| 854 |
impl ::core::clone::Clone for OPEN_VIRTUAL_DISK_PARAMETERS_0_2 { |
| 855 |
fn clone(&self) -> Self { |
| 856 |
*self |
| 857 |
} |
| 858 |
} |
| 859 |
#[repr(C)] |
| 860 |
pub struct QUERY_CHANGES_VIRTUAL_DISK_RANGE { |
| 861 |
pub ByteOffset: u64, |
| 862 |
pub ByteLength: u64, |
| 863 |
pub Reserved: u64, |
| 864 |
} |
| 865 |
impl ::core::marker::Copy for QUERY_CHANGES_VIRTUAL_DISK_RANGE {} |
| 866 |
impl ::core::clone::Clone for QUERY_CHANGES_VIRTUAL_DISK_RANGE { |
| 867 |
fn clone(&self) -> Self { |
| 868 |
*self |
| 869 |
} |
| 870 |
} |
| 871 |
#[repr(C)] |
| 872 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 873 |
#[cfg(feature = "Win32_Foundation")] |
| 874 |
pub struct RAW_SCSI_VIRTUAL_DISK_PARAMETERS { |
| 875 |
pub Version: RAW_SCSI_VIRTUAL_DISK_VERSION, |
| 876 |
pub Anonymous: RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0, |
| 877 |
} |
| 878 |
#[cfg(feature = "Win32_Foundation")] |
| 879 |
impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS {} |
| 880 |
#[cfg(feature = "Win32_Foundation")] |
| 881 |
impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_PARAMETERS { |
| 882 |
fn clone(&self) -> Self { |
| 883 |
*self |
| 884 |
} |
| 885 |
} |
| 886 |
#[repr(C)] |
| 887 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 888 |
#[cfg(feature = "Win32_Foundation")] |
| 889 |
pub union RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 { |
| 890 |
pub Version1: RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0, |
| 891 |
} |
| 892 |
#[cfg(feature = "Win32_Foundation")] |
| 893 |
impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 {} |
| 894 |
#[cfg(feature = "Win32_Foundation")] |
| 895 |
impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0 { |
| 896 |
fn clone(&self) -> Self { |
| 897 |
*self |
| 898 |
} |
| 899 |
} |
| 900 |
#[repr(C)] |
| 901 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 902 |
#[cfg(feature = "Win32_Foundation")] |
| 903 |
pub struct RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 904 |
pub RSVDHandle: super::super::Foundation::BOOL, |
| 905 |
pub DataIn: u8, |
| 906 |
pub CdbLength: u8, |
| 907 |
pub SenseInfoLength: u8, |
| 908 |
pub SrbFlags: u32, |
| 909 |
pub DataTransferLength: u32, |
| 910 |
pub DataBuffer: *mut ::core::ffi::c_void, |
| 911 |
pub SenseInfo: *mut u8, |
| 912 |
pub Cdb: *mut u8, |
| 913 |
} |
| 914 |
#[cfg(feature = "Win32_Foundation")] |
| 915 |
impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 916 |
#[cfg(feature = "Win32_Foundation")] |
| 917 |
impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 918 |
fn clone(&self) -> Self { |
| 919 |
*self |
| 920 |
} |
| 921 |
} |
| 922 |
#[repr(C)] |
| 923 |
pub struct RAW_SCSI_VIRTUAL_DISK_RESPONSE { |
| 924 |
pub Version: RAW_SCSI_VIRTUAL_DISK_VERSION, |
| 925 |
pub Anonymous: RAW_SCSI_VIRTUAL_DISK_RESPONSE_0, |
| 926 |
} |
| 927 |
impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE {} |
| 928 |
impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_RESPONSE { |
| 929 |
fn clone(&self) -> Self { |
| 930 |
*self |
| 931 |
} |
| 932 |
} |
| 933 |
#[repr(C)] |
| 934 |
pub union RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 { |
| 935 |
pub Version1: RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0, |
| 936 |
} |
| 937 |
impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 {} |
| 938 |
impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0 { |
| 939 |
fn clone(&self) -> Self { |
| 940 |
*self |
| 941 |
} |
| 942 |
} |
| 943 |
#[repr(C)] |
| 944 |
pub struct RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 { |
| 945 |
pub ScsiStatus: u8, |
| 946 |
pub SenseInfoLength: u8, |
| 947 |
pub DataTransferLength: u32, |
| 948 |
} |
| 949 |
impl ::core::marker::Copy for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 {} |
| 950 |
impl ::core::clone::Clone for RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0 { |
| 951 |
fn clone(&self) -> Self { |
| 952 |
*self |
| 953 |
} |
| 954 |
} |
| 955 |
#[repr(C)] |
| 956 |
pub struct RESIZE_VIRTUAL_DISK_PARAMETERS { |
| 957 |
pub Version: RESIZE_VIRTUAL_DISK_VERSION, |
| 958 |
pub Anonymous: RESIZE_VIRTUAL_DISK_PARAMETERS_0, |
| 959 |
} |
| 960 |
impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS {} |
| 961 |
impl ::core::clone::Clone for RESIZE_VIRTUAL_DISK_PARAMETERS { |
| 962 |
fn clone(&self) -> Self { |
| 963 |
*self |
| 964 |
} |
| 965 |
} |
| 966 |
#[repr(C)] |
| 967 |
pub union RESIZE_VIRTUAL_DISK_PARAMETERS_0 { |
| 968 |
pub Version1: RESIZE_VIRTUAL_DISK_PARAMETERS_0_0, |
| 969 |
} |
| 970 |
impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS_0 {} |
| 971 |
impl ::core::clone::Clone for RESIZE_VIRTUAL_DISK_PARAMETERS_0 { |
| 972 |
fn clone(&self) -> Self { |
| 973 |
*self |
| 974 |
} |
| 975 |
} |
| 976 |
#[repr(C)] |
| 977 |
pub struct RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 978 |
pub NewSize: u64, |
| 979 |
} |
| 980 |
impl ::core::marker::Copy for RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 {} |
| 981 |
impl ::core::clone::Clone for RESIZE_VIRTUAL_DISK_PARAMETERS_0_0 { |
| 982 |
fn clone(&self) -> Self { |
| 983 |
*self |
| 984 |
} |
| 985 |
} |
| 986 |
#[repr(C)] |
| 987 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 988 |
#[cfg(feature = "Win32_Foundation")] |
| 989 |
pub struct SET_VIRTUAL_DISK_INFO { |
| 990 |
pub Version: SET_VIRTUAL_DISK_INFO_VERSION, |
| 991 |
pub Anonymous: SET_VIRTUAL_DISK_INFO_0, |
| 992 |
} |
| 993 |
#[cfg(feature = "Win32_Foundation")] |
| 994 |
impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO {} |
| 995 |
#[cfg(feature = "Win32_Foundation")] |
| 996 |
impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO { |
| 997 |
fn clone(&self) -> Self { |
| 998 |
*self |
| 999 |
} |
| 1000 |
} |
| 1001 |
#[repr(C)] |
| 1002 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1003 |
#[cfg(feature = "Win32_Foundation")] |
| 1004 |
pub union SET_VIRTUAL_DISK_INFO_0 { |
| 1005 |
pub ParentFilePath: ::windows_sys::core::PCWSTR, |
| 1006 |
pub UniqueIdentifier: ::windows_sys::core::GUID, |
| 1007 |
pub ParentPathWithDepthInfo: SET_VIRTUAL_DISK_INFO_0_1, |
| 1008 |
pub VhdPhysicalSectorSize: u32, |
| 1009 |
pub VirtualDiskId: ::windows_sys::core::GUID, |
| 1010 |
pub ChangeTrackingEnabled: super::super::Foundation::BOOL, |
| 1011 |
pub ParentLocator: SET_VIRTUAL_DISK_INFO_0_0, |
| 1012 |
} |
| 1013 |
#[cfg(feature = "Win32_Foundation")] |
| 1014 |
impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0 {} |
| 1015 |
#[cfg(feature = "Win32_Foundation")] |
| 1016 |
impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO_0 { |
| 1017 |
fn clone(&self) -> Self { |
| 1018 |
*self |
| 1019 |
} |
| 1020 |
} |
| 1021 |
#[repr(C)] |
| 1022 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1023 |
#[cfg(feature = "Win32_Foundation")] |
| 1024 |
pub struct SET_VIRTUAL_DISK_INFO_0_0 { |
| 1025 |
pub LinkageId: ::windows_sys::core::GUID, |
| 1026 |
pub ParentFilePath: ::windows_sys::core::PCWSTR, |
| 1027 |
} |
| 1028 |
#[cfg(feature = "Win32_Foundation")] |
| 1029 |
impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0_0 {} |
| 1030 |
#[cfg(feature = "Win32_Foundation")] |
| 1031 |
impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO_0_0 { |
| 1032 |
fn clone(&self) -> Self { |
| 1033 |
*self |
| 1034 |
} |
| 1035 |
} |
| 1036 |
#[repr(C)] |
| 1037 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1038 |
#[cfg(feature = "Win32_Foundation")] |
| 1039 |
pub struct SET_VIRTUAL_DISK_INFO_0_1 { |
| 1040 |
pub ChildDepth: u32, |
| 1041 |
pub ParentFilePath: ::windows_sys::core::PCWSTR, |
| 1042 |
} |
| 1043 |
#[cfg(feature = "Win32_Foundation")] |
| 1044 |
impl ::core::marker::Copy for SET_VIRTUAL_DISK_INFO_0_1 {} |
| 1045 |
#[cfg(feature = "Win32_Foundation")] |
| 1046 |
impl ::core::clone::Clone for SET_VIRTUAL_DISK_INFO_0_1 { |
| 1047 |
fn clone(&self) -> Self { |
| 1048 |
*self |
| 1049 |
} |
| 1050 |
} |
| 1051 |
#[repr(C)] |
| 1052 |
pub struct STORAGE_DEPENDENCY_INFO { |
| 1053 |
pub Version: STORAGE_DEPENDENCY_INFO_VERSION, |
| 1054 |
pub NumberEntries: u32, |
| 1055 |
pub Anonymous: STORAGE_DEPENDENCY_INFO_0, |
| 1056 |
} |
| 1057 |
impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO {} |
| 1058 |
impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO { |
| 1059 |
fn clone(&self) -> Self { |
| 1060 |
*self |
| 1061 |
} |
| 1062 |
} |
| 1063 |
#[repr(C)] |
| 1064 |
pub union STORAGE_DEPENDENCY_INFO_0 { |
| 1065 |
pub Version1Entries: [STORAGE_DEPENDENCY_INFO_TYPE_1; 1], |
| 1066 |
pub Version2Entries: [STORAGE_DEPENDENCY_INFO_TYPE_2; 1], |
| 1067 |
} |
| 1068 |
impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_0 {} |
| 1069 |
impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO_0 { |
| 1070 |
fn clone(&self) -> Self { |
| 1071 |
*self |
| 1072 |
} |
| 1073 |
} |
| 1074 |
#[repr(C)] |
| 1075 |
pub struct STORAGE_DEPENDENCY_INFO_TYPE_1 { |
| 1076 |
pub DependencyTypeFlags: DEPENDENT_DISK_FLAG, |
| 1077 |
pub ProviderSpecificFlags: u32, |
| 1078 |
pub VirtualStorageType: VIRTUAL_STORAGE_TYPE, |
| 1079 |
} |
| 1080 |
impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_TYPE_1 {} |
| 1081 |
impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO_TYPE_1 { |
| 1082 |
fn clone(&self) -> Self { |
| 1083 |
*self |
| 1084 |
} |
| 1085 |
} |
| 1086 |
#[repr(C)] |
| 1087 |
pub struct STORAGE_DEPENDENCY_INFO_TYPE_2 { |
| 1088 |
pub DependencyTypeFlags: DEPENDENT_DISK_FLAG, |
| 1089 |
pub ProviderSpecificFlags: u32, |
| 1090 |
pub VirtualStorageType: VIRTUAL_STORAGE_TYPE, |
| 1091 |
pub AncestorLevel: u32, |
| 1092 |
pub DependencyDeviceName: ::windows_sys::core::PWSTR, |
| 1093 |
pub HostVolumeName: ::windows_sys::core::PWSTR, |
| 1094 |
pub DependentVolumeName: ::windows_sys::core::PWSTR, |
| 1095 |
pub DependentVolumeRelativePath: ::windows_sys::core::PWSTR, |
| 1096 |
} |
| 1097 |
impl ::core::marker::Copy for STORAGE_DEPENDENCY_INFO_TYPE_2 {} |
| 1098 |
impl ::core::clone::Clone for STORAGE_DEPENDENCY_INFO_TYPE_2 { |
| 1099 |
fn clone(&self) -> Self { |
| 1100 |
*self |
| 1101 |
} |
| 1102 |
} |
| 1103 |
#[repr(C)] |
| 1104 |
pub struct TAKE_SNAPSHOT_VHDSET_PARAMETERS { |
| 1105 |
pub Version: TAKE_SNAPSHOT_VHDSET_VERSION, |
| 1106 |
pub Anonymous: TAKE_SNAPSHOT_VHDSET_PARAMETERS_0, |
| 1107 |
} |
| 1108 |
impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS {} |
| 1109 |
impl ::core::clone::Clone for TAKE_SNAPSHOT_VHDSET_PARAMETERS { |
| 1110 |
fn clone(&self) -> Self { |
| 1111 |
*self |
| 1112 |
} |
| 1113 |
} |
| 1114 |
#[repr(C)] |
| 1115 |
pub union TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 { |
| 1116 |
pub Version1: TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0, |
| 1117 |
} |
| 1118 |
impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 {} |
| 1119 |
impl ::core::clone::Clone for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0 { |
| 1120 |
fn clone(&self) -> Self { |
| 1121 |
*self |
| 1122 |
} |
| 1123 |
} |
| 1124 |
#[repr(C)] |
| 1125 |
pub struct TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { |
| 1126 |
pub SnapshotId: ::windows_sys::core::GUID, |
| 1127 |
} |
| 1128 |
impl ::core::marker::Copy for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 {} |
| 1129 |
impl ::core::clone::Clone for TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0 { |
| 1130 |
fn clone(&self) -> Self { |
| 1131 |
*self |
| 1132 |
} |
| 1133 |
} |
| 1134 |
#[repr(C)] |
| 1135 |
pub struct VIRTUAL_DISK_PROGRESS { |
| 1136 |
pub OperationStatus: u32, |
| 1137 |
pub CurrentValue: u64, |
| 1138 |
pub CompletionValue: u64, |
| 1139 |
} |
| 1140 |
impl ::core::marker::Copy for VIRTUAL_DISK_PROGRESS {} |
| 1141 |
impl ::core::clone::Clone for VIRTUAL_DISK_PROGRESS { |
| 1142 |
fn clone(&self) -> Self { |
| 1143 |
*self |
| 1144 |
} |
| 1145 |
} |
| 1146 |
#[repr(C)] |
| 1147 |
pub struct VIRTUAL_STORAGE_TYPE { |
| 1148 |
pub DeviceId: u32, |
| 1149 |
pub VendorId: ::windows_sys::core::GUID, |
| 1150 |
} |
| 1151 |
impl ::core::marker::Copy for VIRTUAL_STORAGE_TYPE {} |
| 1152 |
impl ::core::clone::Clone for VIRTUAL_STORAGE_TYPE { |
| 1153 |
fn clone(&self) -> Self { |
| 1154 |
*self |
| 1155 |
} |
| 1156 |
} |