次の方法で共有


Internal Resource Control Codes

The following lists all of the internal control codes for resources.

In this section

CLUSCTL_RESOURCE_NOTIFY_OWNER_CHANGE

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.

CLUSCTL_RESOURCE_VALIDATE_CHANGE_GROUP

TBD. Because the control code is internal, applications cannot use it in a control code function.

CLUSCTL_RESOURCE_UPGRADE_COMPLETED

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.

CLUSCTL_RESOURCE_PREPARE_UPGRADE

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.

CLUSCTL_RESOURCE_ADD_DEPENDENCY

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.

CLUSCTL_RESOURCE_ADD_OWNER

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.

CLUSCTL_RESOURCE_CLUSTER_NAME_CHANGED

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.

CLUSCTL_RESOURCE_CLUSTER_VERSION_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.

CLUSCTL_RESOURCE_DELETE

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.

CLUSCTL_RESOURCE_EVICT_NODE

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.

CLUSCTL_RESOURCE_FORCE_QUORUM

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.

CLUSCTL_RESOURCE_FSWITNESS_GET_EPOCH_INFO

Retrieves the epoch information from the witness file stored on a remote file share.

CLUSCTL_RESOURCE_FSWITNESS_RELEASE_LOCK

Releases the lock on the witness file.

CLUSCTL_RESOURCE_FSWITNESS_SET_EPOCH_INFO

Stores the epoch information in the witness file stored on a remote file share.

CLUSCTL_RESOURCE_GET_OPERATION_CONTEXT

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.

CLUSCTL_RESOURCE_INITIALIZE

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.

CLUSCTL_RESOURCE_INSTALL_NODE

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.

CLUSCTL_RESOURCE_JOINING_GROUP

Tells a resource when it is joining a group.

CLUSCTL_RESOURCE_LEAVING_GROUP

Tells a resource when it is leaving a group.

CLUSCTL_RESOURCE_NETNAME_CREDS_NOTIFYCAM

The CLUSCTL_RESOURCE_NETNAME_CREDS_NOTIFYCAM control code is reserved for internal use only.

CLUSCTL_RESOURCE_NOTIFY_QUORUM_STATUS

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.

CLUSCTL_RESOURCE_PROVIDER_STATE_CHANGE

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.

CLUSCTL_RESOURCE_QUERY_CSV_MAINTENANCE_MODE

The CLUSCTL_RESOURCE_QUERY_CSV_MAINTENANCE_MODE control code is reserved for internal use only.

CLUSCTL_RESOURCE_REMOVE_DEPENDENCY

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.

CLUSCTL_RESOURCE_REMOVE_OWNER

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.

CLUSCTL_RESOURCE_RW_MODIFY_NOOP

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.

CLUSCTL_RESOURCE_SET_CLUSTER_MEMBERSHIP

The CLUSCTL_RESOURCE_SET_CLUSTER_MEMBERSHIP control code is reserved for internal use only.

CLUSCTL_RESOURCE_SET_NAME

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.

CLUSCTL_RESOURCE_SET_SHARED_PR_KEY

The CLUSCTL_RESOURCE_SET_SHARED_PR_KEY control code is reserved for internal use only.

CLUSCTL_RESOURCE_STATE_CHANGE_REASON

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.

CLUSCTL_RESOURCE_STORAGE_GET_CSV_DISK_INFO

The CLUSCTL_RESOURCE_STORAGE_GET_CSV_DISK_INFO control code is reserved for internal use only.

CLUSCTL_RESOURCE_STORAGE_GET_DISK_NUMBER

The CLUSCTL_RESOURCE_STORAGE_GET_DISK_NUMBER control code is reserved for internal use only.

Resource Control Codes

ResourceControl

ClusterResourceControl