The CLUSCTL_RESOURCE_TYPE_GET_CHARACTERISTICS control code is used to request the intrinsic characteristics of a resource type.
Type: | External |
Access: | CLUS_ACCESS_READ |
Input: | None |
Output: | DWORD bitmask |
Global: | CLUS_NOT_GLOBAL |
Modify: | CLUS_NO_MODIFY |
Code: | CLCTL_GET_CHARACTERISTICS |
The lpOutBuffer parameter of ClusterResourceTypeControl points to a bitmask that describes the resource type's characteristics. The bits can be set to one or more of the following values:
CHARACTERISTICS value | Description |
---|---|
CLUS_CHAR_UNKNOWN | Resource type has no known characteristics. |
CLUS_CHAR_QUORUM | Resources of this type are capable of being the quorum resources for a cluster. |
CLUS_CHAR_DELETE_ REQUIRES_ALL_NODES |
Resources of this type require delete notification on all nodes. |
Cluster Server's Physical Disk resources return CLUS_CHAR_QUORUM and CLUS_CHAR_DELETE_REQUIRES_ALL_NODES from a CLUSCTL_RESOURCE_TYPE_GET_CHARACTERISTICS control code request.
If you do not support the CLUSCTL_RESOURCE_TYPE_GET_CHARACTERISTICS control code, return ERROR_INVALID_FUNCTION. The Resource Monitor provides default functionality by setting the CLUS_CHAR_QUORUM bit if your resource DLL provides the Arbitrate and Release entry points in the function table that Startup returns.