Expand Minimize
0 out of 1 rated this helpful - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.