Internal Resource Control Codes
The following lists all of the internal control codes for resources.
In this section
-
Used by the Cluster service to notify a resource DLL that a node is TBD. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
TBD. Because the control code is internal, applications cannot use it in a control code function.
-
Used by the Cluster service to notify a resource DLL that a rolling upgrade of the operating system on a cluster is complete. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Used by the Cluster service to notify a resource DLL that a rolling upgrade of the operating systems on a cluster has started. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Internal. Notifies a resource DLL that a dependency being added to a resource managed by the DLL. Resource DLLs receive this control code as a parameter to the ResourceControl callback function. Because the control code is internal, applications cannot use it in a control code function.
-
Internal. Notifies a resource DLL that a node has been added to the list of possible owner nodes for a resource managed by the DLL. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Internal. The CLUSCTL_RESOURCE_CLUSTER_NAME_CHANGED control code is reserved for internal use only. It informs the core network name resource that the name of the cluster has changed.
-
Internal. Used by the Cluster service to notify a resource DLL that the cluster version has changed. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Internal. Used by the Cluster service to notify a resource DLL that a resource it is managing is about to be deleted from the cluster. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Used by the Cluster service to notify a resource DLL that a node is being permanently removed from the cluster. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Establishes the set of nodes that are sufficient to force quorum in a majority-of-nodes cluster. (For more information, see Quorum Resource.) Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Retrieves the epoch information from the witness file stored on a remote file share.
-
Releases the lock on the witness file.
-
Stores the epoch information in the witness file stored on a remote file share.
-
Used by the Cluster service to notify a resource DLL that an operation context is being retrieved.
Resource DLLs receive this control code as a parameter to the ResourceControl callback function. Because the control code is internal, applications cannot use it in a control code function.
-
Used by the resource to initialize any state after it has been created for the first time. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Used by the Cluster service to notify a resource DLL that a node is being added to the cluster. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Tells a resource when it is joining a group.
-
Tells a resource when it is leaving a group.
-
The CLUSCTL_RESOURCE_NETNAME_CREDS_NOTIFYCAM control code is reserved for internal use only.
-
Used by the Cluster service to notify a resource DLL about the status of a quorum resource.
Resource DLLs receive this control code as a parameter to the ResourceControl callback function. Because the control code is internal, applications cannot use it in a control code function.
-
TBD. Resource DLLs receive this control code as a parameter to the ResourceControl callback function. Because the control code is internal, applications cannot use it in a control code function.
-
The CLUSCTL_RESOURCE_QUERY_CSV_MAINTENANCE_MODE control code is reserved for internal use only.
-
Used by the Cluster service to notify a resource DLL that a dependency is being removed from a resource managed by the DLL. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
Used by the Cluster service to notify a resource DLL that a node is being removed from the list of possible owner nodes for a resource managed by the DLL. Resource DLLs receive this control code as a ResourceControl parameter. Because the control code is internal, applications cannot use it in a control code function.
-
TBD.
Resource DLLs receive this control code as a parameter to the ResourceControl callback function. Because the control code is internal, applications cannot use it in a control code function.
-
The CLUSCTL_RESOURCE_SET_CLUSTER_MEMBERSHIP control code is reserved for internal use only.
-
Used by the Cluster service to notify a resource DLL that the name of a resource has been changed. Because the control code is internal, applications cannot use it in a control code function.
-
The CLUSCTL_RESOURCE_SET_SHARED_PR_KEY control code is reserved for internal use only.
-
Under certain circumstances, the cluster sends the CLUSCTL_RESOURCE_STATE_CHANGE_REASON control code to a resource DLL immediately before calling the Offline or Terminate entry-point function, providing the DLL with the reason for the state change. Because the control code is internal, applications cannot use it in a control code function.
-
The CLUSCTL_RESOURCE_STORAGE_GET_CSV_DISK_INFO control code is reserved for internal use only.
-
The CLUSCTL_RESOURCE_STORAGE_GET_DISK_NUMBER control code is reserved for internal use only.
Related topics