CLUSCTL_RESOURCE_TYPE_GET_FLAGS

The CLUSCTL_RESOURCE_TYPE_GET_FLAGS control code is used to request the flags that are set for a resource type.

Quick Info

Type: External
Access: CLUS_ACCESS_READ
Input: None
Output: DWORD bitmask
Global: CLUS_NOT_GLOBAL
Modify: CLUS_NO_MODIFY
Code: CLCTL_GET_FLAGS

Notes to Callers

ClusterResourceTypeControl returns a bitmask that describes the extrinsic attributes of the resource type. Currently, Cluster Server does not define any flags for resource types. However, because only the lower 16 bits of the bitmask are reserved for Microsoft's internal use, third-party developers can define and return their own flags.

Notes to Resource DLL Writers

Resource DLLs can define their own resource type-specific flags in the upper 16 bits of the bitmask returned with CLUSCTL_RESOURCE_TYPE_GET_FLAGS. The lower 16 bits of the bitmask are reserved for Microsoft's internal use. If your resource DLL needs to define a flag, handle the CLUSCTL_RESOURCE_TYPE_GET_FLAGS control code in your ResourceTypeControl entry point function. Otherwise, return ERROR_INVALID_FUNCTION to let the Resource Monitor handle it.