The CLUSCTL_RESOURCE_VALIDATE_COMMON_PROPERTIES control code is used to check whether or not specific properties and property values are valid as common resource properties.
Type: | External |
Access: | CLUS_ACCESS_READ |
Input: | Property list |
Output: | None |
Global: | CLUS_NOT_GLOBAL |
Modify: | CLUS_NO_MODIFY |
Code: | CLCTL_VALIDATE_COMMON_PROPERTIES |
When you call ClusterResourceControl with the CLUSCTL_RESOURCE_VALIDATE_COMMON_PROPERTIES control code, pass a property list with the names and values of all of the common read/write properties that you want to validate. A common property is a property that applies to all resources regardless of their type.
For an overall description of the common resource properties, see Common Resource Properties.
To build a property list, use the property list utility functions.
Do not handle the CLUSCTL_RESOURCE_VALIDATE_COMMON_PROPERTIES control code. Instead, return ERROR_INVALID_FUNCTION from your ResourceControl entry point function. CLUSCTL_RESOURCE_VALIDATE_COMMON_PROPERTIES is handled by the Resource Monitor because it is aware of the valid formats and values for these properties.