Creates a Microsoft Media Foundation byte stream that wraps an IStream pointer.
HRESULT MFCreateMFByteStreamOnStream(
IUnknown *punkStream,
_Outptr_ IMFByteStream **ppByteStream
)
punkStream
Type: IUnknown *
A pointer to the IStream interface.
ppByteStream
Type: Outptr IMFByteStream **
Receives a pointer to the IMFByteStream interface. The caller must release the interface.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Refer to Media Foundation return codes.
For IStream implementation details, refer to IStream interface.
Header: Declared in mfidl.h.
Library: Use Mfplat.lib.