VDS_QUERY_PROVIDER_FLAG 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 flags for provider query operations. Callers can query for hardware providers, software providers, or both.
Syntax
typedef enum _VDS_QUERY_PROVIDER_FLAG {
VDS_QUERY_SOFTWARE_PROVIDERS = 0x1,
VDS_QUERY_HARDWARE_PROVIDERS = 0x2,
VDS_QUERY_VIRTUALDISK_PROVIDERS = 0x4
} VDS_QUERY_PROVIDER_FLAG;
Constants
VDS_QUERY_SOFTWARE_PROVIDERS Value: 0x1 If set, the operation queries for software providers. |
VDS_QUERY_HARDWARE_PROVIDERS Value: 0x2 If set, the operation queries for hardware providers. |
VDS_QUERY_VIRTUALDISK_PROVIDERS Value: 0x4 If set, the operation queries for virtual disk providers. Windows Server 2008, Windows Vista and Windows Server 2003: Not supported. |
Remarks
This enumeration provides the value for the masks parameter of the IVdsService::QueryProviders method. You can specify more than one value in the same query. For example, to query for software and hardware providers, specify both VDS_QUERY_SOFTWARE_PROVIDERS and VDS_QUERY_HARDWARE_PROVIDERS in the masks parameter.
Note Additional constants might be added to the VDS_QUERY_PROVIDER_FLAG enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_QUERY_PROVIDER_FLAG 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 |