VDS_PROVIDER_TYPE enumeration (vdshwprv.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 for a provider.

Syntax

typedef enum _VDS_PROVIDER_TYPE {
  VDS_PT_UNKNOWN = 0,
  VDS_PT_SOFTWARE = 1,
  VDS_PT_HARDWARE = 2,
  VDS_PT_VIRTUALDISK = 3,
  VDS_PT_MAX = 4
} VDS_PROVIDER_TYPE;

Constants

 
VDS_PT_UNKNOWN
Value: 0
The provider type is unknown.
VDS_PT_SOFTWARE
Value: 1
The provider is a software provider.
VDS_PT_HARDWARE
Value: 2
The provider is a hardware provider.
VDS_PT_VIRTUALDISK
Value: 3
The provider is a virtual disk provider.

Windows Server 2008, Windows Vista and Windows Server 2003:  Not supported.
VDS_PT_MAX
Value: 4
This value is reserved for system use.

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

Remarks

The VDS_PROVIDER_PROP structure includes a VDS_PROVIDER_TYPE value as a member to report the provider type. The IVdsAdmin::RegisterProvider method passes a VDS_PROVIDER_TYPE value as an argument to indicate the provider type during registration with VDS.

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

Requirements

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

See also

VDS Enumerations

VDS_PROVIDER_PROP