UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wmcontainer.IMFASFContentInfo.GenerateHeader |
IMFASFContentInfo::GenerateHeader (wmcontainer.h) |
Encodes the data in the MFASFContentInfo object into a binary Advanced Systems Format (ASF) header. |
|
mf\imfasfcontentinfo_generateheader.htm |
mf |
972f5ae7-ad00-4c3b-8ec4-2cef4ce03c4e |
12/05/2018 |
972f5ae7-ad00-4c3b-8ec4-2cef4ce03c4e, GenerateHeader, GenerateHeader method [Media Foundation], GenerateHeader method [Media Foundation],IMFASFContentInfo interface, IMFASFContentInfo interface [Media Foundation],GenerateHeader method, IMFASFContentInfo.GenerateHeader, IMFASFContentInfo::GenerateHeader, mf.imfasfcontentinfo_generateheader, wmcontainer/IMFASFContentInfo::GenerateHeader |
wmcontainer.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Mfuuid.lib |
Windows |
19H1 |
|
|
|
|
|
|
Encodes the data in the MFASFContentInfo object into a binary Advanced Systems Format (ASF) header.
A pointer to the IMFMediaBuffer interface of the buffer object that will receive the encoded header. Set to NULL to retrieve the size of the header.
Size of the encoded ASF header in bytes. If pIHeader is NULL, this value is set to the buffer size required to hold the encoded header.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The ASF Header Objects do not exist for the media that the ContentInfo object holds reference to. |
|
The ASF Header Object size exceeds 10 MB. |
|
The buffer passed in pIHeader is not large enough to hold the ASF Header Object information. |
The size received in the pcbHeader parameter includes the padding size. The content information shrinks or expands the padding data depending on the size of the ASF Header Objects.
During this call, the stream properties are set based on the encoding properties of the profile. These properties are available through the IMFMetadata interface.