MFCreateMuxSinkActivate function

Applies to: desktop apps only

Creates an activation object for a generic media sink that wraps a multiplexer Microsoft Media Foundation transform (MFT).


HRESULT MFCreateMuxSinkActivate(
  _In_   GUID guidOutputSubType,
  _In_   IMFAttributes *pOutputAttributes,
  _In_   IMFByteStream *pOutputByteStream,
  _Out_  IMFActivate **ppMuxSinkActivate


guidOutputSubType [in]

The subtype GUID of the output type for the MFT.

pOutputAttributes [in]

A list of format attributes for the MFT output type. This parameter is optional and can be NULL.

pOutputByteStream [in]

A pointer to the IMFByteStream interface of a byte stream. The output from the MFT is written to this byte stream. This parameter can be NULL.

ppMuxSinkActivate [out]

Receives a pointer to the IMFActivate interface.

Return value

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


Minimum supported client

Windows 8 Release Preview

Minimum supported server

None supported





Send comments about this topic to Microsoft

Build date: 7/18/2012