CLUSTER_RESOURCE_TYPE_ENUM enumeration (clusapi.h)

Describes the type of cluster object being enumerated by the ClusterResourceTypeEnum and ClusterResourceTypeOpenEnum functions.

Syntax

typedef enum CLUSTER_RESOURCE_TYPE_ENUM {
  CLUSTER_RESOURCE_TYPE_ENUM_NODES = 0x00000001,
  CLUSTER_RESOURCE_TYPE_ENUM_RESOURCES = 0x00000002,
  CLUSTER_RESOURCE_TYPE_ENUM_ALL
} ;

Constants

 
CLUSTER_RESOURCE_TYPE_ENUM_NODES
Value: 0x00000001
The object is a node that can be a possible owner of the resource type.
CLUSTER_RESOURCE_TYPE_ENUM_RESOURCES
Value: 0x00000002
The object is a resource that is an instance of the resource type.

Windows Server 2008:  This value is not supported before Windows Server 2008 R2. To emulate this on earlier platforms,
enumerate all resources in the cluster (see the
ClusterOpenEnum function) and filter the results
using the ResUtilResourceTypesEqual
function. If the call is made on a system without ResUtils.dll, then use the steps mentioned in the Remarks
section of the ResUtilResourceTypesEqual
function.
CLUSTER_RESOURCE_TYPE_ENUM_ALL
All cluster objects identified by the
ClusterResourceTypeEnum and
ClusterResourceTypeOpenEnum
functions.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header clusapi.h

See also

ClusterResourceTypeEnum

ClusterResourceTypeOpenEnum

Failover Cluster Enumerations