Resource Control Codes
Resource control codes are used in the following ways:
- Applications use external control codes as ClusterResourceControl parameters to initiate operations on a resource.
- Resource DLLs receive both external and internal control codes as parameters to the ResourceControl entry point function. A resource DLL may implement special procedures in response to a control code, depending on the control code and the needs of the resources it manages.
To support both application and DLL developers, each resource control code presents information on how to use the code in a control code function and how to support it in a resource DLL.
For more information, refer to the following topics:
Resource control codes use the CLUS_OBJECT_RESOURCE value of the CLUSTER_CONTROL_OBJECT enumeration to indicate that the control code applies to cluster resources. For more information about control codes, see Control Code Architecture.
Resource control codes are enumerated by the CLUSCTL_RESOURCE_CODES enumeration.
Related topics