Share via


Resource DLL Callback Functions

The resource DLL callback functions allow a resource DLL to report status and event information to a Resource Monitor, which then provides the information to the Cluster service. These callback functions are implemented by a Resource Monitor and invoked by a resource DLL.

For information about create resource DLLs, see Creating Resource Types.

In this section

ChangeResourceProcessForDumps

The PCHANGE_RESOURCE_PROCESS_FOR_DUMPS type defines a pointer to this function.

ChangeResTypeProcessForDumps

The PCHANGE_RES_TYPE_PROCESS_FOR_DUMPS type defines a pointer to this function.

EndControlCall

Called when a resource control code operation completes. The PEND_CONTROL_CALL type defines a pointer to this function.

EndTypeControlCall

Called when a resource type control code operation completes. The PEND_TYPE_CONTROL_CALL type defines a pointer to this function.

ExtendControlCall

Extends the timeout for a call to a resource control code. The PEXTEND_RES_CONTROL_CALL type defines a pointer to this function.

ExtendResTypeControlCall

Extends the timeout for a call to a resource type control code. The PEXTEND_RES_TYPE_CONTROL_CALL type defines a pointer to this function.

LogEvent

Records an event in the cluster log.

QuorumResourceLost

Called when control of the quorum resource has been lost.

RaiseResTypeNotification

TBD. The PRAISE_RES_TYPE_NOTIFICATION type is a pointer to this function.

ResourceCallback

TBD

ResourceCallbackEx

TBD

SetInternalState

Sets the internal state of a resource

SetResourceInMemoryNodeLocalProperties

TBD

SetResourceLockedMode

Reports that locked mode was configured for a resource.

SetResourceStatus

Called to update the status of a resource.

SetResourceStatusEx

Called to update the status of a resource.

SignalFailure

Reports that there was a failure in a resource instance. The PSIGNAL_FAILURE_ROUTINE type defines a pointer to this function.

WorkerStartRoutine

Initializes a worker thread with the specified callback routine. The PWORKER_START_ROUTINE type defines a pointer to this function.

Failover Cluster Functions