CLUSCTL_RESOURCE_TYPE_GET_RO_COMMON_PROPERTIES

The CLUSCTL_RESOURCE_TYPE_GET_RO_COMMON_PROPERTIES control code is used to request the read-only common properties for a resource type.

Quick Info

Type: External
Access: CLUS_ACCESS_READ
Input: None
Output: Property list
Global: CLUS_NOT_GLOBAL
Modify: CLUS_NO_MODIFY
Code: CLCTL_GET_RO_COMMON_PROPERTIES

Notes to Callers

When you call ClusterResourceTypeControl with the CLUSCTL_RESOURCE_TYPE_GET_RO_COMMON_PROPERTIES control code, it returns a property list with the names and values of the properties that apply to all resource types and cannot be modified using the CLUSCTL_RESOURCE_TYPE_SET_COMMON_PROPERTIES control code.

The DllName property is the only read-only common property for resource types.

For an overall description of the common resource type properties, see Common Resource Type Properties.

To parse the property list returned by ClusterResourceTypeControl, use the property list utility functions.

Notes to Resource DLL Writers

Do not handle the CLUSCTL_RESOURCE_GET_TYPE_RO_COMMON_PROPERTIES control code in your ResourceTypeControl entry point function. Instead, have ResourceTypeControl return ERROR_INVALID_FUNCTION. CLUSCTL_RESOURCE_TYPE_GET_RO_COMMON_PROPERTIES should be handled by the Resource Monitor because it is aware of the valid formats and values for these properties.