CLUSPROP_RESOURCE_CLASS structure (clusapi.h)
Describes a resource class. It is used as an entry in a value list and consists of:
- A CLUSPROP_VALUE structure describing the format, type, and length of the resource class value.
- A CLUSTER_RESOURCE_CLASS value describing the resource class. CLUSTER_RESOURCE_CLASS is an enumeration defined in ClusAPI.h.
Syntax
typedef struct CLUSPROP_RESOURCE_CLASS : CLUSPROP_VALUE {
CLUSTER_RESOURCE_CLASS rc;
} CLUSPROP_RESOURCE_CLASS, *PCLUSPROP_RESOURCE_CLASS;
Inheritance
The CLUSPROP_RESOURCE_CLASS structure implements CLUSPROP_VALUE.
Members
rc
Resource class described with one of these values enumerated by the CLUSTER_RESOURCE_CLASS enumeration.
CLUS_RESCLASS_UNKNOWN (0)
Resource class is unknown.
CLUS_RESCLASS_STORAGE (1)
Resource is a storage device, such as a Physical Disk resource.
CLUS_RESCLASS_NETWORK (2)
CLUS_RESCLASS_USER (32768)
Resource belongs to a user-defined class. CLUS_RESCLASS_USER specifies the beginning of the range for user-defined resource classes.
Remarks
A resource class identifies resources of similar capability. A resource DLL that defines its own resource class should provide a unique identifier for the class that is set to a value greater than CLUS_RESCLASS_USER. CLUS_RESCLASS_USER specifies the beginning for user-defined resource class identifiers.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
Header | clusapi.h |