PCANCEL_ROUTINE callback function (resapi.h)

Cancels an operation on a resource.

Syntax

PCANCEL_ROUTINE PcancelRoutine;

DWORD PcancelRoutine(
  [in] RESID Resource,
  [in] DWORD CancelFlags_RESERVED
)
{...}

Parameters

[in] Resource

The resource ID of the resource.

[in] CancelFlags_RESERVED

Reserved.

Return value

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

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header resapi.h

See also

Resource DLL Entry-Point Functions