Called when an asynchronous operation is completed.
public:
HRESULT Invoke(
IMFAsyncResult *pAsyncResult
)
pAsyncResult
Type: IMFAsyncResult *
[in, optional]
Pointer to the IMFAsyncResult interface. Pass this pointer to the asynchronous End... method to complete the asynchronous call.
Type: HRESULT
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. |
Refer to Media Foundation return codes.
Within your implementation of Invoke, call the corresponding End... method.
Header: Declared in mfobjects.h (include mfidl.h).
Library: Use mfuuid.lib.