VDS_OBJECT_TYPE enumeration (vds.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 types of a VDS object.

Syntax

typedef enum _VDS_OBJECT_TYPE {
  VDS_OT_UNKNOWN = 0,
  VDS_OT_PROVIDER = 1,
  VDS_OT_PACK = 10,
  VDS_OT_VOLUME = 11,
  VDS_OT_VOLUME_PLEX = 12,
  VDS_OT_DISK = 13,
  VDS_OT_SUB_SYSTEM = 30,
  VDS_OT_CONTROLLER = 31,
  VDS_OT_DRIVE = 32,
  VDS_OT_LUN = 33,
  VDS_OT_LUN_PLEX = 34,
  VDS_OT_PORT = 35,
  VDS_OT_PORTAL = 36,
  VDS_OT_TARGET = 37,
  VDS_OT_PORTAL_GROUP = 38,
  VDS_OT_STORAGE_POOL = 39,
  VDS_OT_HBAPORT = 90,
  VDS_OT_INIT_ADAPTER = 91,
  VDS_OT_INIT_PORTAL = 92,
  VDS_OT_ASYNC = 100,
  VDS_OT_ENUM = 101,
  VDS_OT_VDISK = 200,
  VDS_OT_OPEN_VDISK = 201
} VDS_OBJECT_TYPE;

Constants

 
VDS_OT_UNKNOWN
Value: 0
This value is reserved.
VDS_OT_PROVIDER
Value: 1
The object is a provider.
VDS_OT_PACK
Value: 10
The object is a disk pack.
VDS_OT_VOLUME
Value: 11
The object is a volume.
VDS_OT_VOLUME_PLEX
Value: 12
The object is a volume plex.
VDS_OT_DISK
Value: 13
The object is a disk.
VDS_OT_SUB_SYSTEM
Value: 30
The object is a subsystem.
VDS_OT_CONTROLLER
Value: 31
The object is a controller.
VDS_OT_DRIVE
Value: 32
The object is a drive.
VDS_OT_LUN
Value: 33
The object is a LUN.
VDS_OT_LUN_PLEX
Value: 34
The object is a LUN plex.
VDS_OT_PORT
Value: 35
The object is a controller port.
VDS_OT_PORTAL
Value: 36
The object is an iSCSI portal.
VDS_OT_TARGET
Value: 37
The object is an iSCSI target.
VDS_OT_PORTAL_GROUP
Value: 38
The object is an iSCSI portal group.
VDS_OT_STORAGE_POOL
Value: 39
The object is a storage pool.

Windows Server 2008, Windows Vista and Windows Server 2003:  Not supported.
VDS_OT_HBAPORT
Value: 90
The object is an HBA port.
VDS_OT_INIT_ADAPTER
Value: 91
The object is an iSCSI initiator adapter.
VDS_OT_INIT_PORTAL
Value: 92
The object is an iSCSI initiator portal.
VDS_OT_ASYNC
Value: 100
This value is reserved.
VDS_OT_ENUM
Value: 101
This value is reserved.
VDS_OT_VDISK
Value: 200
The object is a virtual disk.

Windows Server 2008, Windows Vista and Windows Server 2003:  Not supported.
VDS_OT_OPEN_VDISK
Value: 201
This value is reserved.

Windows Server 2008, Windows Vista and Windows Server 2003:  Not supported.

Remarks

The IVdsProviderPrivate::GetObject and IVdsService::GetObject methods pass a VDS_OBJECT_TYPE value as an argument to indicate an object type.

Note  Additional constants might be added to the VDS_OBJECT_TYPE enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_OBJECT_TYPE enumeration constant.
 

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header vds.h

See also

IVdsProviderPrivate::GetObject

IVdsService::GetObject

VDS Enumerations