IMFMediaEngineExtension::EndCreateObject method

Completes an asynchronous request to create a byte stream or media source.

Syntax


HRESULT EndCreateObject(
  [in]   IMFAsyncResult *pResult,
  [out]  IUnknown **ppObject
);

Parameters

pResult [in]

A pointer to the IMFAsyncResult interface.

ppObject [out]

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaEngineExtension

 

 

Community Additions

ADD
Show:
© 2015 Microsoft