Cancel callback function

Cancels an operation on a resource.

Syntax


DWORD WINAPI Cancel(
  _In_ RESID Resource,
  _In_ DWORD CancelFlags_RESERVED
);

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

Parameters

Resource [in]

The resource ID of the resource.

CancelFlags_RESERVED [in]

Reserved.

Return value

ERROR_SUCCESS

0

The quorum resource was successfully released and is no longer being defended.

Error code

The operation was not successfully canceled.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Header

ResApi.h

See also

Resource DLL Entry-Point Functions

 

 

Show: