Docs.rs
windows-sys-0.59.0
windows-sys 0.59.0
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
kennykerr
Dependencies
windows-targets ^0.52.6
normal
Versions
100%
of the crate is documented
Platform
x86_64-pc-windows-msvc
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
windows_sys
0.59.0
Module Vhd
Structs
Constants
Functions
Type Aliases
Unions
In windows_sys::Win32::Storage
Module
windows_sys
::
Win32
::
Storage
::
Vhd
Copy item path
[
−
]
Structs
§
APPLY_SNAPSHOT_VHDSET_PARAMETERS
APPLY_SNAPSHOT_VHDSET_PARAMETERS_0_0
ATTACH_VIRTUAL_DISK_PARAMETERS
ATTACH_VIRTUAL_DISK_PARAMETERS_0_0
ATTACH_VIRTUAL_DISK_PARAMETERS_0_1
COMPACT_VIRTUAL_DISK_PARAMETERS
COMPACT_VIRTUAL_DISK_PARAMETERS_0_0
CREATE_VIRTUAL_DISK_PARAMETERS
CREATE_VIRTUAL_DISK_PARAMETERS_0_0
CREATE_VIRTUAL_DISK_PARAMETERS_0_1
CREATE_VIRTUAL_DISK_PARAMETERS_0_2
CREATE_VIRTUAL_DISK_PARAMETERS_0_3
DELETE_SNAPSHOT_VHDSET_PARAMETERS
DELETE_SNAPSHOT_VHDSET_PARAMETERS_0_0
EXPAND_VIRTUAL_DISK_PARAMETERS
EXPAND_VIRTUAL_DISK_PARAMETERS_0_0
FORK_VIRTUAL_DISK_PARAMETERS
FORK_VIRTUAL_DISK_PARAMETERS_0_0
GET_VIRTUAL_DISK_INFO
GET_VIRTUAL_DISK_INFO_0_0
GET_VIRTUAL_DISK_INFO_0_1
GET_VIRTUAL_DISK_INFO_0_2
GET_VIRTUAL_DISK_INFO_0_3
MERGE_VIRTUAL_DISK_PARAMETERS
MERGE_VIRTUAL_DISK_PARAMETERS_0_0
MERGE_VIRTUAL_DISK_PARAMETERS_0_1
MIRROR_VIRTUAL_DISK_PARAMETERS
MIRROR_VIRTUAL_DISK_PARAMETERS_0_0
MODIFY_VHDSET_PARAMETERS
MODIFY_VHDSET_PARAMETERS_0_0
OPEN_VIRTUAL_DISK_PARAMETERS
OPEN_VIRTUAL_DISK_PARAMETERS_0_0
OPEN_VIRTUAL_DISK_PARAMETERS_0_1
OPEN_VIRTUAL_DISK_PARAMETERS_0_2
QUERY_CHANGES_VIRTUAL_DISK_RANGE
RAW_SCSI_VIRTUAL_DISK_PARAMETERS
RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0_0
RAW_SCSI_VIRTUAL_DISK_RESPONSE
RAW_SCSI_VIRTUAL_DISK_RESPONSE_0_0
RESIZE_VIRTUAL_DISK_PARAMETERS
RESIZE_VIRTUAL_DISK_PARAMETERS_0_0
SET_VIRTUAL_DISK_INFO
SET_VIRTUAL_DISK_INFO_0_0
SET_VIRTUAL_DISK_INFO_0_1
STORAGE_DEPENDENCY_INFO
STORAGE_DEPENDENCY_INFO_TYPE_1
STORAGE_DEPENDENCY_INFO_TYPE_2
TAKE_SNAPSHOT_VHDSET_PARAMETERS
TAKE_SNAPSHOT_VHDSET_PARAMETERS_0_0
VIRTUAL_DISK_PROGRESS
VIRTUAL_STORAGE_TYPE
Constants
§
APPLY_SNAPSHOT_VHDSET_FLAG_NONE
APPLY_SNAPSHOT_VHDSET_FLAG_WRITEABLE
APPLY_SNAPSHOT_VHDSET_VERSION_1
APPLY_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED
ATTACH_VIRTUAL_DISK_FLAG_AT_BOOT
ATTACH_VIRTUAL_DISK_FLAG_BYPASS_DEFAULT_ENCRYPTION_POLICY
ATTACH_VIRTUAL_DISK_FLAG_NONE
ATTACH_VIRTUAL_DISK_FLAG_NON_PNP
ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER
ATTACH_VIRTUAL_DISK_FLAG_NO_LOCAL_HOST
ATTACH_VIRTUAL_DISK_FLAG_NO_SECURITY_DESCRIPTOR
ATTACH_VIRTUAL_DISK_FLAG_PERMANENT_LIFETIME
ATTACH_VIRTUAL_DISK_FLAG_READ_ONLY
ATTACH_VIRTUAL_DISK_FLAG_REGISTER_VOLUME
ATTACH_VIRTUAL_DISK_FLAG_RESTRICTED_RANGE
ATTACH_VIRTUAL_DISK_FLAG_SINGLE_PARTITION
ATTACH_VIRTUAL_DISK_VERSION_1
ATTACH_VIRTUAL_DISK_VERSION_2
ATTACH_VIRTUAL_DISK_VERSION_UNSPECIFIED
COMPACT_VIRTUAL_DISK_FLAG_NONE
COMPACT_VIRTUAL_DISK_FLAG_NO_BLOCK_MOVES
COMPACT_VIRTUAL_DISK_FLAG_NO_ZERO_SCAN
COMPACT_VIRTUAL_DISK_VERSION_1
COMPACT_VIRTUAL_DISK_VERSION_UNSPECIFIED
CREATE_VIRTUAL_DISK_FLAG_CREATE_BACKING_STORAGE
CREATE_VIRTUAL_DISK_FLAG_DO_NOT_COPY_METADATA_FROM_PARENT
CREATE_VIRTUAL_DISK_FLAG_FULL_PHYSICAL_ALLOCATION
CREATE_VIRTUAL_DISK_FLAG_NONE
CREATE_VIRTUAL_DISK_FLAG_PMEM_COMPATIBLE
CREATE_VIRTUAL_DISK_FLAG_PRESERVE_PARENT_CHANGE_TRACKING_STATE
CREATE_VIRTUAL_DISK_FLAG_PREVENT_WRITES_TO_SOURCE_DISK
CREATE_VIRTUAL_DISK_FLAG_SPARSE_FILE
CREATE_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES
CREATE_VIRTUAL_DISK_FLAG_SUPPORT_SPARSE_FILES_ANY_FS
CREATE_VIRTUAL_DISK_FLAG_USE_CHANGE_TRACKING_SOURCE_LIMIT
CREATE_VIRTUAL_DISK_FLAG_VHD_SET_USE_ORIGINAL_BACKING_STORAGE
CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_BLOCK_SIZE
CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_SECTOR_SIZE
CREATE_VIRTUAL_DISK_VERSION_1
CREATE_VIRTUAL_DISK_VERSION_2
CREATE_VIRTUAL_DISK_VERSION_3
CREATE_VIRTUAL_DISK_VERSION_4
CREATE_VIRTUAL_DISK_VERSION_UNSPECIFIED
DELETE_SNAPSHOT_VHDSET_FLAG_NONE
DELETE_SNAPSHOT_VHDSET_FLAG_PERSIST_RCT
DELETE_SNAPSHOT_VHDSET_VERSION_1
DELETE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED
DEPENDENT_DISK_FLAG_ALWAYS_ALLOW_SPARSE
DEPENDENT_DISK_FLAG_FULLY_ALLOCATED
DEPENDENT_DISK_FLAG_MULT_BACKING_FILES
DEPENDENT_DISK_FLAG_NONE
DEPENDENT_DISK_FLAG_NO_DRIVE_LETTER
DEPENDENT_DISK_FLAG_NO_HOST_DISK
DEPENDENT_DISK_FLAG_PARENT
DEPENDENT_DISK_FLAG_PERMANENT_LIFETIME
DEPENDENT_DISK_FLAG_READ_ONLY
DEPENDENT_DISK_FLAG_REMOTE
DEPENDENT_DISK_FLAG_REMOVABLE
DEPENDENT_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES
DEPENDENT_DISK_FLAG_SUPPORT_ENCRYPTED_FILES
DEPENDENT_DISK_FLAG_SYSTEM_VOLUME
DEPENDENT_DISK_FLAG_SYSTEM_VOLUME_PARENT
DETACH_VIRTUAL_DISK_FLAG_NONE
EXPAND_VIRTUAL_DISK_FLAG_NONE
EXPAND_VIRTUAL_DISK_FLAG_NOTIFY_CHANGE
EXPAND_VIRTUAL_DISK_VERSION_1
EXPAND_VIRTUAL_DISK_VERSION_UNSPECIFIED
FORK_VIRTUAL_DISK_FLAG_EXISTING_FILE
FORK_VIRTUAL_DISK_FLAG_NONE
FORK_VIRTUAL_DISK_VERSION_1
FORK_VIRTUAL_DISK_VERSION_UNSPECIFIED
GET_STORAGE_DEPENDENCY_FLAG_DISK_HANDLE
GET_STORAGE_DEPENDENCY_FLAG_HOST_VOLUMES
GET_STORAGE_DEPENDENCY_FLAG_NONE
GET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE
GET_VIRTUAL_DISK_INFO_FRAGMENTATION
GET_VIRTUAL_DISK_INFO_IDENTIFIER
GET_VIRTUAL_DISK_INFO_IS_4K_ALIGNED
GET_VIRTUAL_DISK_INFO_IS_LOADED
GET_VIRTUAL_DISK_INFO_PARENT_IDENTIFIER
GET_VIRTUAL_DISK_INFO_PARENT_LOCATION
GET_VIRTUAL_DISK_INFO_PARENT_TIMESTAMP
GET_VIRTUAL_DISK_INFO_PHYSICAL_DISK
GET_VIRTUAL_DISK_INFO_PROVIDER_SUBTYPE
GET_VIRTUAL_DISK_INFO_SIZE
GET_VIRTUAL_DISK_INFO_SMALLEST_SAFE_VIRTUAL_SIZE
GET_VIRTUAL_DISK_INFO_UNSPECIFIED
GET_VIRTUAL_DISK_INFO_VHD_PHYSICAL_SECTOR_SIZE
GET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID
GET_VIRTUAL_DISK_INFO_VIRTUAL_STORAGE_TYPE
MERGE_VIRTUAL_DISK_DEFAULT_MERGE_DEPTH
MERGE_VIRTUAL_DISK_FLAG_NONE
MERGE_VIRTUAL_DISK_VERSION_1
MERGE_VIRTUAL_DISK_VERSION_2
MERGE_VIRTUAL_DISK_VERSION_UNSPECIFIED
MIRROR_VIRTUAL_DISK_FLAG_ENABLE_SMB_COMPRESSION
MIRROR_VIRTUAL_DISK_FLAG_EXISTING_FILE
MIRROR_VIRTUAL_DISK_FLAG_IS_LIVE_MIGRATION
MIRROR_VIRTUAL_DISK_FLAG_NONE
MIRROR_VIRTUAL_DISK_FLAG_SKIP_MIRROR_ACTIVATION
MIRROR_VIRTUAL_DISK_VERSION_1
MIRROR_VIRTUAL_DISK_VERSION_UNSPECIFIED
MODIFY_VHDSET_DEFAULT_SNAPSHOT_PATH
MODIFY_VHDSET_FLAG_NONE
MODIFY_VHDSET_FLAG_WRITEABLE_SNAPSHOT
MODIFY_VHDSET_REMOVE_SNAPSHOT
MODIFY_VHDSET_SNAPSHOT_PATH
MODIFY_VHDSET_UNSPECIFIED
OPEN_VIRTUAL_DISK_FLAG_BLANK_FILE
OPEN_VIRTUAL_DISK_FLAG_BOOT_DRIVE
OPEN_VIRTUAL_DISK_FLAG_CACHED_IO
OPEN_VIRTUAL_DISK_FLAG_CUSTOM_DIFF_CHAIN
OPEN_VIRTUAL_DISK_FLAG_IGNORE_RELATIVE_PARENT_LOCATOR
OPEN_VIRTUAL_DISK_FLAG_NONE
OPEN_VIRTUAL_DISK_FLAG_NO_PARENTS
OPEN_VIRTUAL_DISK_FLAG_NO_WRITE_HARDENING
OPEN_VIRTUAL_DISK_FLAG_PARENT_CACHED_IO
OPEN_VIRTUAL_DISK_FLAG_SUPPORT_COMPRESSED_VOLUMES
OPEN_VIRTUAL_DISK_FLAG_SUPPORT_ENCRYPTED_FILES
OPEN_VIRTUAL_DISK_FLAG_SUPPORT_SPARSE_FILES_ANY_FS
OPEN_VIRTUAL_DISK_FLAG_VHDSET_FILE_ONLY
OPEN_VIRTUAL_DISK_RW_DEPTH_DEFAULT
OPEN_VIRTUAL_DISK_VERSION_1
OPEN_VIRTUAL_DISK_VERSION_2
OPEN_VIRTUAL_DISK_VERSION_3
OPEN_VIRTUAL_DISK_VERSION_UNSPECIFIED
QUERY_CHANGES_VIRTUAL_DISK_FLAG_NONE
RAW_SCSI_VIRTUAL_DISK_FLAG_NONE
RAW_SCSI_VIRTUAL_DISK_VERSION_1
RAW_SCSI_VIRTUAL_DISK_VERSION_UNSPECIFIED
RESIZE_VIRTUAL_DISK_FLAG_ALLOW_UNSAFE_VIRTUAL_SIZE
RESIZE_VIRTUAL_DISK_FLAG_NONE
RESIZE_VIRTUAL_DISK_FLAG_RESIZE_TO_SMALLEST_SAFE_VIRTUAL_SIZE
RESIZE_VIRTUAL_DISK_VERSION_1
RESIZE_VIRTUAL_DISK_VERSION_UNSPECIFIED
SET_VIRTUAL_DISK_INFO_CHANGE_TRACKING_STATE
SET_VIRTUAL_DISK_INFO_IDENTIFIER
SET_VIRTUAL_DISK_INFO_PARENT_LOCATOR
SET_VIRTUAL_DISK_INFO_PARENT_PATH
SET_VIRTUAL_DISK_INFO_PARENT_PATH_WITH_DEPTH
SET_VIRTUAL_DISK_INFO_PHYSICAL_SECTOR_SIZE
SET_VIRTUAL_DISK_INFO_UNSPECIFIED
SET_VIRTUAL_DISK_INFO_VIRTUAL_DISK_ID
STORAGE_DEPENDENCY_INFO_VERSION_1
STORAGE_DEPENDENCY_INFO_VERSION_2
STORAGE_DEPENDENCY_INFO_VERSION_UNSPECIFIED
TAKE_SNAPSHOT_VHDSET_FLAG_NONE
TAKE_SNAPSHOT_VHDSET_FLAG_WRITEABLE
TAKE_SNAPSHOT_VHDSET_VERSION_1
TAKE_SNAPSHOT_VHDSET_VERSION_UNSPECIFIED
VIRTUAL_DISK_ACCESS_ALL
VIRTUAL_DISK_ACCESS_ATTACH_RO
VIRTUAL_DISK_ACCESS_ATTACH_RW
VIRTUAL_DISK_ACCESS_CREATE
VIRTUAL_DISK_ACCESS_DETACH
VIRTUAL_DISK_ACCESS_GET_INFO
VIRTUAL_DISK_ACCESS_METAOPS
VIRTUAL_DISK_ACCESS_NONE
VIRTUAL_DISK_ACCESS_READ
VIRTUAL_DISK_ACCESS_WRITABLE
VIRTUAL_DISK_MAXIMUM_CHANGE_TRACKING_ID_LENGTH
VIRTUAL_STORAGE_TYPE_DEVICE_ISO
VIRTUAL_STORAGE_TYPE_DEVICE_UNKNOWN
VIRTUAL_STORAGE_TYPE_DEVICE_VHD
VIRTUAL_STORAGE_TYPE_DEVICE_VHDSET
VIRTUAL_STORAGE_TYPE_DEVICE_VHDX
VIRTUAL_STORAGE_TYPE_VENDOR_MICROSOFT
VIRTUAL_STORAGE_TYPE_VENDOR_UNKNOWN
Functions
§
AddVirtualDiskParent
⚠
ApplySnapshotVhdSet
⚠
AttachVirtualDisk
⚠
BreakMirrorVirtualDisk
⚠
CompactVirtualDisk
⚠
CompleteForkVirtualDisk
⚠
CreateVirtualDisk
⚠
DeleteSnapshotVhdSet
⚠
DeleteVirtualDiskMetadata
⚠
DetachVirtualDisk
⚠
EnumerateVirtualDiskMetadata
⚠
ExpandVirtualDisk
⚠
ForkVirtualDisk
⚠
GetAllAttachedVirtualDiskPhysicalPaths
⚠
GetStorageDependencyInformation
⚠
GetVirtualDiskInformation
⚠
GetVirtualDiskMetadata
⚠
GetVirtualDiskOperationProgress
⚠
GetVirtualDiskPhysicalPath
⚠
MergeVirtualDisk
⚠
MirrorVirtualDisk
⚠
ModifyVhdSet
⚠
OpenVirtualDisk
⚠
QueryChangesVirtualDisk
⚠
RawSCSIVirtualDisk
⚠
ResizeVirtualDisk
⚠
SetVirtualDiskInformation
⚠
SetVirtualDiskMetadata
⚠
TakeSnapshotVhdSet
⚠
Type Aliases
§
APPLY_SNAPSHOT_VHDSET_FLAG
APPLY_SNAPSHOT_VHDSET_VERSION
ATTACH_VIRTUAL_DISK_FLAG
ATTACH_VIRTUAL_DISK_VERSION
COMPACT_VIRTUAL_DISK_FLAG
COMPACT_VIRTUAL_DISK_VERSION
CREATE_VIRTUAL_DISK_FLAG
CREATE_VIRTUAL_DISK_VERSION
DELETE_SNAPSHOT_VHDSET_FLAG
DELETE_SNAPSHOT_VHDSET_VERSION
DEPENDENT_DISK_FLAG
DETACH_VIRTUAL_DISK_FLAG
EXPAND_VIRTUAL_DISK_FLAG
EXPAND_VIRTUAL_DISK_VERSION
FORK_VIRTUAL_DISK_FLAG
FORK_VIRTUAL_DISK_VERSION
GET_STORAGE_DEPENDENCY_FLAG
GET_VIRTUAL_DISK_INFO_VERSION
MERGE_VIRTUAL_DISK_FLAG
MERGE_VIRTUAL_DISK_VERSION
MIRROR_VIRTUAL_DISK_FLAG
MIRROR_VIRTUAL_DISK_VERSION
MODIFY_VHDSET_FLAG
MODIFY_VHDSET_VERSION
OPEN_VIRTUAL_DISK_FLAG
OPEN_VIRTUAL_DISK_VERSION
QUERY_CHANGES_VIRTUAL_DISK_FLAG
RAW_SCSI_VIRTUAL_DISK_FLAG
RAW_SCSI_VIRTUAL_DISK_VERSION
RESIZE_VIRTUAL_DISK_FLAG
RESIZE_VIRTUAL_DISK_VERSION
SET_VIRTUAL_DISK_INFO_VERSION
STORAGE_DEPENDENCY_INFO_VERSION
TAKE_SNAPSHOT_VHDSET_FLAG
TAKE_SNAPSHOT_VHDSET_VERSION
VIRTUAL_DISK_ACCESS_MASK
Unions
§
APPLY_SNAPSHOT_VHDSET_PARAMETERS_0
ATTACH_VIRTUAL_DISK_PARAMETERS_0
COMPACT_VIRTUAL_DISK_PARAMETERS_0
CREATE_VIRTUAL_DISK_PARAMETERS_0
DELETE_SNAPSHOT_VHDSET_PARAMETERS_0
EXPAND_VIRTUAL_DISK_PARAMETERS_0
FORK_VIRTUAL_DISK_PARAMETERS_0
GET_VIRTUAL_DISK_INFO_0
MERGE_VIRTUAL_DISK_PARAMETERS_0
MIRROR_VIRTUAL_DISK_PARAMETERS_0
MODIFY_VHDSET_PARAMETERS_0
OPEN_VIRTUAL_DISK_PARAMETERS_0
RAW_SCSI_VIRTUAL_DISK_PARAMETERS_0
RAW_SCSI_VIRTUAL_DISK_RESPONSE_0
RESIZE_VIRTUAL_DISK_PARAMETERS_0
SET_VIRTUAL_DISK_INFO_0
STORAGE_DEPENDENCY_INFO_0
TAKE_SNAPSHOT_VHDSET_PARAMETERS_0