IMFASFMultiplexer::Initialize method

Initializes the multiplexer with the data from an ASF ContentInfo object.

Syntax


HRESULT Initialize(
  [in]  IMFASFContentInfo *pIContentInfo
);

Parameters

pIContentInfo [in]

Pointer to the IMFASFContentInfo interface of the MFASFContentInfo object that contains the header information of the new ASF file. The multiplexer will generate data packets for this file.

Return value

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

Return codeDescription
S_OK

The method succeeded.

 

Remarks

This call must be made once at the beginning of encoding, with pIContentInfo pointing to the ASF ContentInfo object that describes the content to be encoded. This enables the ASF multiplexer to see, among other things, which streams will be present in the encoding session. This call typically does not affect the data in the ASF ContentInfo object.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wmcontainer.h

Library

Mfuuid.lib

See also

IMFASFMultiplexer
IMFASFContentInfo
Creating the Multiplexer Object

 

 

Community Additions

ADD
Show:
© 2014 Microsoft