The CLUSPROP_RESOURCE_CLASS_INFO structure describes a resource class information value used in a value list and consists of:
To promote clarity, the individual members of these two structures are shown in the CLUSPROP_RESOURCE_CLASS_INFO definition.
The CLUSPROP_RESOURCE_CLASS_INFO structure is defined in CLUSAPI.H.
typedef struct _CLUSPROP_RESOURCE_CLASS_INFO {
CLUSPROP_SYNTAX Syntax;
DWORD cbLength;
union {
struct {
union {
DWORD dw;
CLUSTER_RESOURCE_CLASS rc;
};
DWORD SubClass;
};
ULARGE_INTEGER li;
};
} CLUSPROP_RESOURCE_CLASS_INFO, *PCLUSPROP_RESOURCE_CLASS_INFO;
Resource class value | Description |
---|---|
CLUS_RESCLASS_UNKNOWN | Resource class is unknown. |
CLUS_RESCLASS_STORAGE | Resource is a storage device, such as a Physical Disk resource. |
CLUS_RESCLASS_USER | Resource belongs to a user-defined class. CLUS_RESCLASS_USER specifies the beginning of the range for user-defined resource classes. |
CLUS_RESSUBCLASS_SHARED
Setting SubClass to CLUS_RESSUBCLASS_SHARED indicates that the resource manages a shared resource such as a disk on a shared SCSI bus.
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. To obtain a resource class identifier from Microsoft that is guaranteed to be unique, resource DLL writers send mail to resclass@microsoft.com with the following information:
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.