IWMDRMEventGenerator::CancelAsyncOperation method

The CancelAsyncOperation method cancels an asynchronous operation.

Syntax

HRESULT CancelAsyncOperation(
  [in] IUnknown *punkCancelationCookie
);

Parameters

punkCancelationCookie [in]

Pointer to the cancellation cookie that identifies the asynchronous operation to be canceled. This cookie is provided by the method used to start the operation.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

None.

Requirements

Requirement Value
Header
Wmdrmsdk.h
Library
Wmdrmsdk.lib

See also

IWMDRMEventGenerator Interface