13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.2.2.9.1 Structures2.2.2.9.1.1 <strong>VDS</strong>_DISK_PROPThe <strong>VDS</strong>_DISK_PROP structure provides the properties of a disk.typedef struct _<strong>VDS</strong>_DISK_PROP {<strong>VDS</strong>_OBJECT_ID id;<strong>VDS</strong>_DISK_STATUS status;<strong>VDS</strong>_LUN_RESERVE_MODE ReserveMode;<strong>VDS</strong>_HEALTH health;DWORD dwDeviceType;DWORD dwMediaType;ULONGLONG ullSize;unsigned long ulBytesPerSector;unsigned long ulSectorsPerTrack;unsigned long ulTracksPerCylinder;unsigned long ulFlags;<strong>VDS</strong>_STORAGE_BUS_TYPE BusType;<strong>VDS</strong>_PARTITION_STYLE PartitionStyle;[switch_is(PartitionStyle)] union {[case(<strong>VDS</strong>_PST_MBR)]DWORD dwSignature;[case(<strong>VDS</strong>_PST_GPT)]GUID <strong>Disk</strong>Guid;[default] ;};[string] WCHAR* pwsz<strong>Disk</strong>Address;[string] WCHAR* pwszName;[string] WCHAR* pwszFriendlyName;[string] WCHAR* pwszAdaptorName;[string] WCHAR* pwszDevicePath;} <strong>VDS</strong>_DISK_PROP,*P<strong>VDS</strong>_DISK_PROP;id: The <strong>VDS</strong> object ID of the disk object.status: The value from the <strong>VDS</strong>_DISK_STATUS enumeration that indicates the disk status.ReserveMode: The value from the <strong>VDS</strong>_LUN_RESERVE_MODE enumeration that indicatesthe sharing mode of the disk.health: The value from the <strong>VDS</strong>_HEALTH enumeration that indicates the health of the disk.dwDeviceType: The device type of the disk. Note that this value refers to the disk type andnot the drive type. Thus, if there is CD media in a DVD/CD drive, it is identified asFILE_DEVICE_CD_ROM; however, DVD media in the same drive is identified asFILE_DEVICE_DVD. This field can have the following values.ValueFILE_DEVICE_CD_ROM0x00000002FILE_DEVICE_DISKMeaningThe device is a CD-ROM.The device is a hard disk or removable device.72 / 360[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!