PARBITRATE_ROUTINE callback function (resapi.h)

Allows a node to attempt to regain ownership of a quorum resource. The PARBITRATE_ROUTINE type defines a pointer to this function.



DWORD ParbitrateRoutine(
  [in] RESID Resource,
  [in] PQUORUM_RESOURCE_LOST LostQuorumResource


[in] Resource

Resource identifier for the quorum resource to be owned.

[in] LostQuorumResource

Address of a QuorumResourceLost callback function that should be called if control of the quorum resource is lost after being successfully gained.

Return value

Return code/value Description
The arbitration was successful and the quorum resource remains defended.
Error code
The arbitration was not successful.


The Arbitrate entry-point function is implemented for quorum resources only. Expect this function to be called only after both Startup and Open have been called.

Implementations of Arbitrate should take less than 300 milliseconds to complete.

If Arbitrate is successful, make sure that only the current node can successfully arbitrate for the quorum resource represented by ResourceId. For example, a disk resource can implement a defense by continually replacing the reservation made on it once per second.


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