Resource Type Control Codes
- Applications use external control codes as ClusterResourceTypeControl parameters to initiate operations on a resource type.
- The Cluster service uses internal resource type control codes to notify resource DLLs of changes to the cluster environment.
- Resource DLLs receive internal and external resource type control codes as parameters to the ResourceTypeControl 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 resource type it manages. For more information, see Implementing ResourceTypeControl.
For more information, refer to the following topics:
Resource type control codes use the CLUS_OBJECT_RESOURCE_TYPE value of the CLUSTER_CONTROL_OBJECT enumeration to indicate that the control code applies to cluster resource types. For more information about control codes, see Control Code Architecture.
Resource type control codes are enumerated by the CLUSCTL_RESOURCE_TYPE_CODES enumeration.