IMFAsyncCallback::Invoke Method

Called when an asynchronous operation is completed.

Syntax

public:
HRESULT Invoke(
         IMFAsyncResult *pAsyncResult
)  

Parameters

pAsyncResult
Type: IMFAsyncResult *

[in, optional]

Pointer to the IMFAsyncResult interface. Pass this pointer to the asynchronous End... method to complete the asynchronous call.

Return value

Type: HRESULT 

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

Return codes
Return code Description
S_OK The method succeeded.

Refer to Media Foundation return codes.

Remarks

Within your implementation of Invoke, call the corresponding End... method.

Requirements

Header: Declared in mfobjects.h (include mfidl.h).

Library: Use mfuuid.lib.