PRELEASE_ROUTINE callback function (resapi.h)

Releases the quorum resource from arbitration. The PCLOSE_ROUTINE type defines a pointer to this function.

Syntax

PRELEASE_ROUTINE PreleaseRoutine;

DWORD PreleaseRoutine(
  [in] RESID Resource
)
{...}

Parameters

[in] Resource

Resource identifier for the quorum resource to be released.

Return value

Return code/value Description
ERROR_SUCCESS
0
The quorum resource was successfully released and is no longer being defended.
Error code
The quorum resource was not successfully released.

Remarks

The Release entry-point function is implemented for quorum resources only. A quorum resource might have to be released when the Cluster service is shut down or when the quorum resource has to be physically moved to a different node in the cluster.

Note  All disk resources must explicitly call their own Release in their implementation of the Offline callback, since one is not made by the Cluster service Resource Monitor.
 

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header resapi.h

See also

Resource DLL Entry-Point Functions