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.

IMFMediaEngineEx::SetSourceFromByteStream method

Opens a media resource from a byte stream.

Syntax


HRESULT SetSourceFromByteStream(
  [in] IMFByteStream *pByteStream,
  [in] BSTR          pURL
);

Parameters

pByteStream [in]

A pointer to the IMFByteStream interface of the byte stream.

pURL [in]

The URL of the byte stream.

Return value

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

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Mfmediaengine.h

See also

IMFMediaEngineEx

 

 

Show:
© 2017 Microsoft