共用方式為


Internal Control Codes

Internal control codes are used exclusively by the Cluster service to notify resource DLLs of certain events. Applications cannot use internal control codes in control code functions.

If you are implementing a resource DLL, you can choose to support any internal control code that indicates an event with implications for your resources. However, note the following behavior:

For example, suppose a resource DLL supports three resource types and is currently managing five resource instances in the cluster. The administrator evicts a node. The resource DLL will receive the CLUSCTL_RESOURCE_TYPE_EVICT_NODE control code three times (one call per resource type) through the ResourceTypeControl entry point, and will receive the CLUSCTL_RESOURCE_EVICT_NODE control code five times (one call per resource instance) through the ResourceControl entry point.