VDS_VERSION_SUPPORT_FLAG 枚举 (vdshwprv.h)

[从 Windows 8 和 Windows Server 2012 开始,虚拟磁盘服务 COM 接口由 Windows 存储管理 API 取代。]

用于指示支持哪些版本的 VDS 接口。

语法

typedef enum _VDS_VERSION_SUPPORT_FLAG {
  VDS_VSF_1_0 = 0x1,
  VDS_VSF_1_1 = 0x2,
  VDS_VSF_2_0 = 0x4,
  VDS_VSF_2_1 = 0x8,
  VDS_VSF_3_0 = 0x10
} VDS_VERSION_SUPPORT_FLAG;

常量

 
VDS_VSF_1_0
值: 0x1
指示支持 VDS 1.0 接口。 支持 VDS 1.0
Windows Server 2003 及更高版本。
VDS_VSF_1_1
值: 0x2
指示支持 VDS 1.1 接口。 在 上支持 VDS 1.1
Windows Server 2003 R2 及更高版本。
VDS_VSF_2_0
值: 0x4
指示支持 VDS 2.0 接口。 Windows Vista 支持 VDS 2.0,
稍后。


Windows Server 2008、Windows Vista 和 Windows Server 2003 R2: 不支持此值。
VDS_VSF_2_1
值: 0x8
指示支持 VDS 2.1 接口。 具有 SP1 的 Windows Vista 支持 VDS 2.1,
Windows Server 2008 及更高版本。


Windows Server 2008、Windows Vista 和 Windows Server 2003 R2: 不支持此值。
VDS_VSF_3_0
值: 0x10
指示支持 VDS 3.0 接口。 Windows 7 支持 VDS 3.0,
Windows Server 2008 R2 及更高版本。


Windows Server 2008、Windows Vista 和 Windows Server 2003 R2: 不支持此值。

注解

注意 将来的 Windows 版本中,可能会向 VDS_VERSION_SUPPORT_FLAG 枚举添加其他常量。 因此,必须将应用程序设计为正常处理无法识别 的VDS_VERSION_SUPPORT_FLAG 枚举常量。
 

要求

要求
最低受支持的客户端 Windows Vista [仅限桌面应用]
最低受支持的服务器 Windows Server 2003 R2 [仅限桌面应用]
标头 vdshwprv.h

另请参阅

IVdsProviderSupport::GetVersionSupport

VDS 枚举