2.2.3.7 CLUS_RESOURCE_CLASS_INFO

The CLUS_RESOURCE_CLASS_INFO structure identifies the class of a cluster resource. A resource class is a collection of resources that share a similar trait. For example, resources that represent a disk are placed in a class that identifies storage devices.

CLUS_RESOURCE_CLASS_INFO is a custom-marshaled structure as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Class

SubClass

Class (4 bytes): An unsigned 32-bit integer. Identifies the resource class of the designated resource . On successful completion of the method, the server MUST set this field to one of the following values.

Value

Meaning

CLUS_RESCLASS_UNKNOWN

0x00000000

The resource is not identified with a class.

CLUS_RESCLASS_STORAGE

0x00000001

The resource represents a physical or logical entity on which data can be persistently written.

CLUS_RESCLASS_NETWORK

0x00000002

The resource represents a physical or logical entity that pertains to networks.

SubClass (4 bytes): An unsigned 32-bit integer. Identifies the subclass, within the class, of the designated resource. On successful completion of the method, the server MUST set this field to one of the following values.

Value

Meaning

0x00000000

The resource is not identified with a subclass.

0x80000000

For resources of class CLUS_RESCLASS_STORAGE, the storage entity is shared; that is, it can potentially be accessed by more than one computer.

For resources of class CLUS_RESCLASS_NETWORK, the resource represents an IP address.