Export (0) Print
Expand All

Release callback function

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

Syntax


DWORD WINAPI Release(
  _In_  RESID Resource
);

typedef DWORD (WINAPI *PCLOSE_ROUTINE)(
    _In_  RESID Resource
);

Parameters

Resource [in]

Resource identifier for the quorum resource to be released.

Return value

Return code/valueDescription
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

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 Enterprise, Windows Server 2003 Datacenter

Header

ResApi.h

See also

Resource DLL Entry-Point Functions

 

 

Show:
© 2014 Microsoft