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.

MFCreateASFMediaSink function

Creates the ASF media sink.

Syntax


HRESULT MFCreateASFMediaSink(
   IMFByteStream *pIByteStream,
   IMFMediaSink  **ppIMediaSink
);

Parameters

pIByteStream

Pointer to a byte stream that will be used to write the ASF stream.

ppIMediaSink

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

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The function succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wmcontainer.h

Library

Mf.lib

DLL

Mf.dll

See also

IMFByteStream
IMFMediaSink
Media Foundation Functions

 

 

Show:
© 2017 Microsoft