typedef enum CLUSTER_PROPERTY_SYNTAX {
CLUSPROP_SYNTAX_ENDMARK = 0xFFFFFFFF,
CLUSPROP_SYNTAX_NAME = 0x00000001,
CLUSPROP_SYNTAX_RESCLASS = 0x00000002,
CLUSPROP_SYNTAX_RESNAME = 0x00000003,
CLUSPROP_SYNTAX_RESTYPE = 0x00000004,
CLUSPROP_SYNTAX_PARTIAL_INFO = 0x00000005,
CLUSPROP_SYNTAX_MESSAGETYPE = 0x00000006,
CLUSPROP_SYNTAX_OWNER = 0x00000007,
CLUSPROP_SYNTAX_SD = 0x00000008,
CLUSPROP_SYNTAX_SECURITY_DESCRIPTOR = 0x00000008,
CLUSPROP_SYNTAX_CNAME = 0x00000009,
CLUSPROP_SYNTAX_MSDTC = 0x0000000A,
CLUSPROP_SYNTAX_NETNAME = 0x0000000B,
CLUSPROP_SYNTAX_DISK_SIGNATURE = 0x0000000C,
CLUSPROP_SYNTAX_FTSET = 0x0000000D,
CLUSPROP_SYNTAX_VALUE = 0x0000000E,
CLUSPROP_SYNTAX_LIST_VALUE = 0x0000000F,
CLUSPROP_SYNTAX_LIST = 0x00000010,
CLUSPROP_SYNTAX_LIST_HEADER = 0x00000011,
CLUSPROP_SYNTAX_LIST_ENTRY = 0x00000012,
CLUSPROP_SYNTAX_PROPERTY_NAME = 0x00000013,
CLUSPROP_SYNTAX_JOIN_INFO = 0x00000014,
CLUSPROP_SYNTAX_DEPENDS_ON = 0x00000015,
CLUSPROP_SYNTAX_PROVIDER_NAME = 0x00000016,
CLUSPROP_SYNTAX_HOST_RECORD = 0x00000017,
CLUSPROP_SYNTAX_DWORD = 0x00000018,
CLUSPROP_SYNTAX_SDWORD = 0x00000019,
CLUSPROP_SYNTAX_LONGLONG = 0x0000001A,
CLUSPROP_SYNTAX_WORD = 0x0000001B,
CLUSPROP_SYNTAX_FILETIME = 0x0000001C,
CLUSPROP_SYNTAX_BINARY = 0x0000001D,
CLUSPROP_SYNTAX_STRING = 0x0000001E,
CLUSPROP_SYNTAX_EXPAND_SZ = 0x0000001F,
CLUSPROP_SYNTAX_MULTI_SZ = 0x00000020,
CLUSPROP_SYNTAX_LIST_VALUE_EXPAND_SZ = 0x00000021,
CLUSPROP_SYNTAX_SECURITY_DESCRIPTOR_1 = 0x00000022,
CLUSPROP_SYNTAX_SECURITY_DESCRIPTOR_2 = 0x00000023,
CLUSPROP_SYNTAX_VALUE_EXPAND_SZ = 0x00000024,
CLUSPROP_SYNTAX_LOGICAL_DISK_SIZE = 0x00000025,
CLUSPROP_SYNTAX_DISK_NUMBER = 0x00000026,
CLUSPROP_SYNTAX_PARTITION_INFO = 0x00000027,
CLUSPROP_SYNTAX_FTSET_INFO = 0x00000028,
CLUSPROP_SYNTAX_USER_NAME = 0x00000029,
CLUSPROP_SYNTAX_BYTE_ARRAY = 0x0000002A,
CLUSPROP_SYNTAX_LONG = 0x0000002B,
CLUSPROP_SYNTAX_SBYTE = 0x0000002C,
CLUSPROP_SYNTAX_DWORD_BE = 0x0000002D,
CLUSPROP_SYNTAX_WORD_BE = 0x0000002E,
CLUSPROP_SYNTAX_SECURITY_DESCRIPTOR_3 = 0x0000002F,
CLUSPROP_SYNTAX_LARGE_INTEGER_1 = 0x00000030,
CLUSPROP_SYNTAX_UNICODE_STRING = 0x00000031,
CLUSPROP_SYNTAX_LONG_BE = 0x00000032,
CLUSPROP_SYNTAX_EXPAND_SZ_BE = 0x00000033,
CLUSPROP_SYNTAX_BINARY_BE = 0x00000034,
CLUSPROP_SYNTAX_LINK_VALUE = 0x00000035,
CLUSPROP_SYNTAX_RES_DEPENDS_ON = 0x00000036,
CLUSPROP_SYNTAX_END_OF_LIST = 0x00000037,
CLUSPROP_SYNTAX_LIST_ENTRY_REPLICA = 0x00000038,
CLUSPROP_SYNTAX_MAX = 0x00000038
} CLUSTER_PROPERTY_SYNTAX;
这个枚举包含了一系列常量,每个常量代表了一个集群属性的语法。例如,CLUSPROP_SYNTAX_DWORD 表示属性的语法是 DWORD 类型,CLUSPROP_SYNTAX_STRING 表示属性的语法是字符串类型,等等。
这些常量通常用于指定集群属性结构中的属性值的类型和格式。在使用集群属性 API 时,您可能会使用这些常量来指定和解析属性的语法。
请注意,这只是一个枚举类型的定义,具体的 API 调用和使用可能涉及到更多的集群编程细节。
转载请注明出处:http://www.zyzy.cn/article/detail/24508/Win32 API/Clusapi.h/CLUSTER_PROPERTY_SYNTAX