CLUSPROP_RESOURCE_CLASS_INFO

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;
 

Members

Syntax
Member of the CLUSPROP_VALUE structure describing the format and type of the data in the CLUS_RESOURCE_CLASS_INFO structure.
cbLength
Member of the CLUSPROP_VALUE structure indicating the count of bytes in the CLUS_RESOURCE_CLASS_INFO structure. Padding bytes are not included in the count.
dw
Member of the CLUS_RESOURCE_CLASS_INFO structure that describes the resource class as a numeric value.
rc
Member of the CLUS_RESOURCE_CLASS_INFO structure that describes the resource class with one of the following values:
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.
SubClass
Member of the CLUS_RESOURCE_CLASS_INFO structure that further describes the resource class. The following value is valid for Physical Disk resources:

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.

li
Member of the CLUS_RESOURCE_CLASS_INFO structure that describes the resource class and subclass as a ULARGE_INTEGER value with a low DWORD and a high DWORD.

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. 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:

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.