typedef enum CLUSTER_OBJECT_TYPE {
CLUSTER_OBJECT_INVALID = 0x00000000,
CLUSTER_OBJECT_PHYSICAL_NODE = 0x00000001,
CLUSTER_OBJECT_NODE = 0x00000002,
CLUSTER_OBJECT_RESTYPE = 0x00000003,
CLUSTER_OBJECT_RESOURCE = 0x00000004,
CLUSTER_OBJECT_RESOURCE_TYPE = 0x00000005,
CLUSTER_OBJECT_GROUP = 0x00000006,
CLUSTER_OBJECT_NETWORK = 0x00000007,
CLUSTER_OBJECT_NETINTERFACE = 0x00000008,
CLUSTER_OBJECT_SHARED_VOLUME = 0x00000009,
CLUSTER_OBJECT_RESERVED1 = 0x0000000A,
CLUSTER_OBJECT_RESERVED2 = 0x0000000B,
CLUSTER_OBJECT_RESERVED3 = 0x0000000C,
CLUSTER_OBJECT_RESERVED4 = 0x0000000D,
CLUSTER_OBJECT_RESERVED5 = 0x0000000E,
CLUSTER_OBJECT_RESERVED6 = 0x0000000F,
CLUSTER_OBJECT_RESERVED7 = 0x00000010,
CLUSTER_OBJECT_RESERVED8 = 0x00000011,
CLUSTER_OBJECT_RESERVED9 = 0x00000012,
CLUSTER_OBJECT_RESERVED10 = 0x00000013,
CLUSTER_OBJECT_CLUSTER = 0x00000014,
CLUSTER_OBJECT_MAXIMUM = 0x00000015
} CLUSTER_OBJECT_TYPE;
这个枚举包含了表示集群中不同对象的类型的常量。例如,CLUSTER_OBJECT_RESOURCE 表示一个资源,CLUSTER_OBJECT_GROUP 表示一个组,CLUSTER_OBJECT_NETWORK 表示一个网络,等等。您可以使用这些常量来标识和操作集群中的不同对象。
请注意,这只是一个枚举类型的定义,具体的 API 调用和使用可能涉及到更多的集群编程细节。
转载请注明出处:http://www.zyzy.cn/article/detail/24506/Win32 API/Clusapi.h/CLUSTER_OBJECT_TYPE