Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

 

Show:
© 2017 Microsoft