CLUSPROP_RESOURCE_CLASS

The CLUSPROP_RESOURCE_CLASS structure describes a resource class value used in a value list. The CLUSPROP_RESOURCE_CLASS structure is defined in CLUSAPI.H.

typedef struct _CLUSPROP_RESOURCE_CLASS {
    CLUSPROP_SYNTAX           Syntax;
    DWORD                     cbLength;
    CLUSTER_RESOURCE_CLASS    rc;
} CLUSPROP_RESOURCE_CLASS, *PCLUSPROP_RESOURCE_CLASS;
 

Members

Syntax
Member of the CLUSPROP_VALUE structure describing the format and type of the resource class.
cbLength
Member of the CLUSPROP_VALUE structure indicating the count of bytes in the rc member. Padding bytes are not included in the count.
rc
Resource class described with one of these 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.
CLUS_RESCLASS_USER 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. 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.