IMFMediaEngineExtension::EndCreateObject method (mfmediaengine.h)
Completes an asynchronous request to create a byte stream or media source.
Syntax
HRESULT EndCreateObject(
[in] IMFAsyncResult *pResult,
[out] IUnknown **ppObject
);
Parameters
[in] pResult
A pointer to the IMFAsyncResult interface.
[out] ppObject
Receives a pointer to the IUnknown interface of the byte stream or media source. The caller must release the interface
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The Media Engine calls this method to complete the IMFMediaEngineExtension::BeginCreateObject method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfmediaengine.h |