Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

MFEndCreateFile function

Completes an asynchronous request to create a byte stream from a file.

Syntax


HRESULT MFEndCreateFile(
  _In_   IMFAsyncResult *pResult,
  _Out_  IMFByteStream **ppFile
);

Parameters

pResult [in]

Pointer to the IMFAsyncResult interface. Pass in the same pointer that your callback object received in the Invoke method.

ppFile [out]

Receives a pointer to the IMFByteStream interface of the byte stream. The caller must release the interface.

Return value

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

Return codeDescription
S_OK

The function succeeded.

 

Remarks

Call this function when the MFBeginCreateFile function completes asynchronously.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfapi.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

Media Foundation Functions
MFBeginCreateFile

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.