Export (0) Print
Expand All
Expand Minimize

MFCreateMFByteStreamOnStream function

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

Syntax


HRESULT MFCreateMFByteStreamOnStream(
  _In_   IStream *pStream,
  _Out_  IMFByteStream **ppByteStream
);

Parameters

pStream [in]

A pointer to the IStream interface.

ppByteStream [out]

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

Return value

Returns an HRESULT value.

Remarks

This function enables applications to pass an IStream object to a Media Foundation API that takes an IMFByteStream pointer.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfidl.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

Media Foundation Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft