Partager via


Resource DLL Entry-Point Functions

The resource DLL entry point functions are used by the Cluster service to indirectly initiate operations on cluster resources. These functions are implemented in resource DLLs.

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

In this section

Arbitrate

Allows a node to attempt to regain ownership of a quorum resource.

BeginResourceControl

Starts a call to a resource control code. The PBEGIN_RESCALL_ROUTINE type defines a pointer to this callback function.

BeginResourceControlAsUser

The PBEGIN_RESCALL_AS_USER_ROUTINE type defines a pointer to this callback function.

BeginResourceTypeControl

Starts a call to a resource control code. The PBEGIN_RESTYPECALL_ROUTINE type defines a pointer to this callback function.

BeginResourceTypeControlAsUser

The PBEGIN_RESTYPECALL_AS_USER_ROUTINE type defines a pointer to this callback function.

Cancel

Cancels an operation on a resource.

PCLOSE_ROUTINE

Closes a resource.

IsAlive

Determines whether a resource is available for use.

LooksAlive

Determines whether a resource appears to be available for use.

Offline

Marks a resource as unavailable for use after cleanup processing is complete.

OfflineV2

Marks a resource as unavailable for use after cleanup processing is complete.

Online

Marks a resource as available for use.

OnlineV2

Marks a resource as available for use.

Open

Opens a resource.

OpenV2

Opens a resource.

PRELEASE_ROUTINE

Releases the quorum resource from arbitration.

ResourceControl

Performs an operation that applies to a resource.

ResourceTypeControl

Performs an operation that applies to a resource type.

Startup

Loads a resource DLL, returning a structure containing a function table and a version number.

StartupEx

Loads a resource DLL, returning a structure that contains a function table and a version number.

Terminate

Immediately marks a resource as unavailable for use without waiting for cleanup processing to be completed.

Failover Cluster Functions