IMFASFMultiplexer::Initialize method (wmcontainer.h)
Initializes the multiplexer with the data from an ASF ContentInfo object.
Syntax
HRESULT Initialize(
[in] IMFASFContentInfo *pIContentInfo
);
Parameters
[in] pIContentInfo
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 code | Description |
---|---|
|
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wmcontainer.h |
Library | Mfuuid.lib |