VIRTUAL_STORAGE_TYPE structure

Contains the type and provider (vendor) of the virtual storage device.

Syntax


typedef struct _VIRTUAL_STORAGE_TYPE {
  ULONG DeviceId;
  GUID  VendorId;
} VIRTUAL_STORAGE_TYPE, *PVIRTUAL_STORAGE_TYPE;

Members

DeviceId

Device type identifier.

ValueMeaning
VIRTUAL_STORAGE_TYPE_DEVICE_UNKNOWN
0

Device type is unknown or not valid.

VIRTUAL_STORAGE_TYPE_DEVICE_ISO
1

CD or DVD image file device type. (.iso file)

Windows 7 and Windows Server 2008 R2:  This value is not supported before Windows 8 and Windows Server 2012.
VIRTUAL_STORAGE_TYPE_DEVICE_VHD
2

Virtual hard disk device type. (.vhd file)

VIRTUAL_STORAGE_TYPE_DEVICE_VHDX
3

VHDX format virtual hard disk device type. (.vhdx file)

Windows 7 and Windows Server 2008 R2:  This value is not supported before Windows 8 and Windows Server 2012.

 

VendorId

Vendor-unique identifier.

VIRTUAL_STORAGE_TYPE_VENDOR_MICROSOFT (EC984AEC-A0F9-47e9-901F-71415A66345B)
VIRTUAL_STORAGE_TYPE_VENDOR_UNKNOWN (0)

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Header

VirtDisk.h (include Windows.h)

See also

About VHD
VHD Reference
IVdsVdProvider::CreateVDisk
VDS_VDISK_PROPERTIES

 

 

Build date: 10/26/2012

Community Additions

ADD
Show:
© 2014 Microsoft