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

MFCreateStreamOnMFByteStream function

Returns an IStream pointer that wraps a Microsoft Media Foundation byte stream.

Syntax


HRESULT MFCreateStreamOnMFByteStream(
  _In_   IMFByteStream *pByteStream,
  _Out_  IStream **ppStream
);

Parameters

pByteStream [in]

A pointer to the IMFByteStream interface of the Media Foundation byte stream.

ppStream [out]

Receives a pointer to the IStream interface. The caller must release the interface.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This function enables an application to pass a Media Foundation byte stream to an API that takes an IStream pointer.

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mfidl.h

DLL

Mfplat.lib

See also

MFCreateMFByteStreamOnStream

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.