VDS_CREATE_VDISK_PARAMETERS structure (vds.h)
[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]
Contains the parameters to be used when a virtual disk is created.
Syntax
typedef struct _VDS_CREATE_VDISK_PARAMETERS {
GUID UniqueId;
ULONGLONG MaximumSize;
ULONG BlockSizeInBytes;
ULONG SectorSizeInBytes;
LPWSTR pParentPath;
LPWSTR pSourcePath;
} VDS_CREATE_VDISK_PARAMETERS, *PVDS_CREATE_VDISK_PARAMETERS;
Members
UniqueId
A unique GUID value to be assigned to the virtual disk.
MaximumSize
The maximum virtual size, in bytes, of the virtual disk object.
BlockSizeInBytes
The internal block size, in bytes, of the virtual disk object.
SectorSizeInBytes
Internal sector size, in bytes, of the virtual disk object.
pParentPath
A NULL-terminated wide-character string that contains an optional path to a parent virtual disk object. This member associates the new virtual disk with an existing virtual disk.
pSourcePath
A NULL-terminated wide-character string that contains an optional path to a source of data to be copied to the new virtual disk.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | vds.h |