Win32 API 日本語リファレンス
ホームStorage.VirtualDiskService › VDS_VERSION_SUPPORT_FLAG

VDS_VERSION_SUPPORT_FLAG

列挙型
基底型i4

メンバー 5

名前10進16進説明
VDS_VSF_1_010x1VDS 1.0 インターフェイスがサポートされていることを示します。VDS 1.0 は Windows Server 2003 以降でサポートされます。
VDS_VSF_1_120x2VDS 1.1 インターフェイスがサポートされていることを示します。VDS 1.1 は Windows Server 2003 R2 以降でサポートされます。
VDS_VSF_2_040x4

VDS 2.0 インターフェイスがサポートされていることを示します。VDS 2.0 は Windows Vista 以降で サポートされます。

Windows Server 2008、Windows Vista および Windows Server 2003 R2: この値はサポートされていません。

VDS_VSF_2_180x8

VDS 2.1 インターフェイスがサポートされていることを示します。VDS 2.1 は Windows Vista with SP1、 Windows Server 2008 以降でサポートされます。

Windows Server 2008、Windows Vista および Windows Server 2003 R2: この値はサポートされていません。

VDS_VSF_3_0160x10

VDS 3.0 インターフェイスがサポートされていることを示します。VDS 3.0 は Windows 7、 Windows Server 2008 R2 以降でサポートされます。

Windows Server 2008、Windows Vista および Windows Server 2003 R2: この値はサポートされていません。

公式ドキュメント

[Windows 8 および Windows Server 2012 以降、Virtual Disk Service COM インターフェイスは Windows Storage Management API に置き換えられました。]

どのバージョンの VDS インターフェイスがサポートされているかを示すために使用します。

解説(Remarks)

将来の Windows バージョンでは、 VDS_VERSION_SUPPORT_FLAG 列挙型に定数が追加される可能性があります。そのため、アプリケーションは認識できない VDS_VERSION_SUPPORT_FLAG 列挙型の定数を適切に処理できるように 設計する必要があります。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum VDS_VERSION_SUPPORT_FLAG : int {
    VDS_VSF_1_0 = 1,
    VDS_VSF_1_1 = 2,
    VDS_VSF_2_0 = 4,
    VDS_VSF_2_1 = 8,
    VDS_VSF_3_0 = 16
} VDS_VERSION_SUPPORT_FLAG;
public enum VDS_VERSION_SUPPORT_FLAG : int
{
    VDS_VSF_1_0 = 1,
    VDS_VSF_1_1 = 2,
    VDS_VSF_2_0 = 4,
    VDS_VSF_2_1 = 8,
    VDS_VSF_3_0 = 16,
}
Public Enum VDS_VERSION_SUPPORT_FLAG As Integer
    VDS_VSF_1_0 = 1
    VDS_VSF_1_1 = 2
    VDS_VSF_2_0 = 4
    VDS_VSF_2_1 = 8
    VDS_VSF_3_0 = 16
End Enum
import enum

class VDS_VERSION_SUPPORT_FLAG(enum.IntEnum):
    VDS_VSF_1_0 = 1
    VDS_VSF_1_1 = 2
    VDS_VSF_2_0 = 4
    VDS_VSF_2_1 = 8
    VDS_VSF_3_0 = 16
// VDS_VERSION_SUPPORT_FLAG
pub const VDS_VSF_1_0: i32 = 1;
pub const VDS_VSF_1_1: i32 = 2;
pub const VDS_VSF_2_0: i32 = 4;
pub const VDS_VSF_2_1: i32 = 8;
pub const VDS_VSF_3_0: i32 = 16;
// VDS_VERSION_SUPPORT_FLAG
const (
	VDS_VSF_1_0 int32 = 1
	VDS_VSF_1_1 int32 = 2
	VDS_VSF_2_0 int32 = 4
	VDS_VSF_2_1 int32 = 8
	VDS_VSF_3_0 int32 = 16
)
const
  VDS_VSF_1_0 = 1;
  VDS_VSF_1_1 = 2;
  VDS_VSF_2_0 = 4;
  VDS_VSF_2_1 = 8;
  VDS_VSF_3_0 = 16;
// VDS_VERSION_SUPPORT_FLAG
pub const VDS_VSF_1_0: i32 = 1;
pub const VDS_VSF_1_1: i32 = 2;
pub const VDS_VSF_2_0: i32 = 4;
pub const VDS_VSF_2_1: i32 = 8;
pub const VDS_VSF_3_0: i32 = 16;
const
  VDS_VSF_1_0* = 1
  VDS_VSF_1_1* = 2
  VDS_VSF_2_0* = 4
  VDS_VSF_2_1* = 8
  VDS_VSF_3_0* = 16
enum VDS_VERSION_SUPPORT_FLAG : int {
    VDS_VSF_1_0 = 1,
    VDS_VSF_1_1 = 2,
    VDS_VSF_2_0 = 4,
    VDS_VSF_2_1 = 8,
    VDS_VSF_3_0 = 16,
}
#define global VDS_VSF_1_0 0x1
#define global VDS_VSF_1_1 0x2
#define global VDS_VSF_2_0 0x4
#define global VDS_VSF_2_1 0x8
#define global VDS_VSF_3_0 0x10