VDS_STORAGE_BUS_TYPE enumeration (vdslun.h)
[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]
Defines the set of valid bus types of a storage device.
Syntax
typedef enum _VDS_STORAGE_BUS_TYPE {
VDSBusTypeUnknown = 0,
VDSBusTypeScsi = 0x1,
VDSBusTypeAtapi = 0x2,
VDSBusTypeAta = 0x3,
VDSBusType1394 = 0x4,
VDSBusTypeSsa = 0x5,
VDSBusTypeFibre = 0x6,
VDSBusTypeUsb = 0x7,
VDSBusTypeRAID = 0x8,
VDSBusTypeiScsi = 0x9,
VDSBusTypeSas = 0xa,
VDSBusTypeSata = 0xb,
VDSBusTypeSd = 0xc,
VDSBusTypeMmc = 0xd,
VDSBusTypeMax = 0xe,
VDSBusTypeVirtual = 0xe,
VDSBusTypeFileBackedVirtual = 0xf,
VDSBusTypeSpaces = 0x10,
VDSBusTypeNVMe = 0x11,
VDSBusTypeScm = 0x12,
VDSBusTypeUfs = 0x13,
VDSBusTypeMaxReserved = 0x7f
} VDS_STORAGE_BUS_TYPE;
Constants
VDSBusTypeUnknown Value: 0 This value is reserved. |
VDSBusTypeScsi Value: 0x1 The storage bus type is SCSI. |
VDSBusTypeAtapi Value: 0x2 The storage bus type is ATAPI. |
VDSBusTypeAta Value: 0x3 The storage bus type is ATA. |
VDSBusType1394 Value: 0x4 The storage bus type is IEEE 1394. |
VDSBusTypeSsa Value: 0x5 The storage bus type is SSA. |
VDSBusTypeFibre Value: 0x6 The storage bus type is Fibre Channel. |
VDSBusTypeUsb Value: 0x7 The storage bus type is USB. |
VDSBusTypeRAID Value: 0x8 The storage bus type is RAID. |
VDSBusTypeiScsi Value: 0x9 The storage bus type is iSCSI. |
VDSBusTypeSas Value: 0xa The storage bus type is Serial Attached SCSI (SAS). |
VDSBusTypeSata Value: 0xb The storage bus type is SATA. |
VDSBusTypeSd Value: 0xc The storage bus type is Secure Digital (SD). Windows Server 2008, Windows Vista and Windows Server 2003: Not supported. |
VDSBusTypeMmc Value: 0xd The storage bus type is MultiMedia Card (MMC). Windows Server 2008, Windows Vista and Windows Server 2003: Not supported. |
VDSBusTypeMax Value: 0xe This value is reserved for system use. Windows Server 2008, Windows Vista and Windows Server 2003: Not supported. |
VDSBusTypeVirtual Value: 0xe |
VDSBusTypeFileBackedVirtual Value: 0xf The storage bus type is file-backed virtual. Windows Server 2008, Windows Vista and Windows Server 2003: Not supported. |
VDSBusTypeSpaces Value: 0x10 |
VDSBusTypeNVMe Value: 0x11 |
VDSBusTypeScm Value: 0x12 |
VDSBusTypeUfs Value: 0x13 |
VDSBusTypeMaxReserved Value: 0x7f The maximum value of the storage bus type range. |
Remarks
The VDS_LUN_INFORMATION, VDS_DISK_PROP, VDS_DISK_PROP2, and VDS_DRIVE_PROP2 structures include a VDS_STORAGE_BUS_TYPE value as a member to specify the bus type of a LUN, disk, or drive.
Note The type specified in these structures matches the type that the driver or drivers reported and may not exactly match the hardware.
Note Additional constants might be added to the VDS_STORAGE_BUS_TYPE enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_STORAGE_BUS_TYPE enumeration constant.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | vdslun.h (include Vds.h, VdsHwPrv.h for hardware providers) |