Skip to content

Latest commit

 

History

History
127 lines (99 loc) · 3.8 KB

nf-wmcontainer-imfasfcontentinfo-getheadersize.md

File metadata and controls

127 lines (99 loc) · 3.8 KB
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.GetHeaderSize
IMFASFContentInfo::GetHeaderSize (wmcontainer.h)
Retrieves the size of the header section of an Advanced Systems Format (ASF) file.
GetHeaderSize
GetHeaderSize method [Media Foundation]
GetHeaderSize method [Media Foundation]
IMFASFContentInfo interface
IMFASFContentInfo interface [Media Foundation]
GetHeaderSize method
IMFASFContentInfo.GetHeaderSize
IMFASFContentInfo::GetHeaderSize
c13ee7e6-df59-448f-80c4-04ac7c8c98ed
mf.imfasfcontentinfo_getheadersize
wmcontainer/IMFASFContentInfo::GetHeaderSize
mf\imfasfcontentinfo_getheadersize.htm
mf
c13ee7e6-df59-448f-80c4-04ac7c8c98ed
12/05/2018
GetHeaderSize, GetHeaderSize method [Media Foundation], GetHeaderSize method [Media Foundation],IMFASFContentInfo interface, IMFASFContentInfo interface [Media Foundation],GetHeaderSize method, IMFASFContentInfo.GetHeaderSize, IMFASFContentInfo::GetHeaderSize, c13ee7e6-df59-448f-80c4-04ac7c8c98ed, mf.imfasfcontentinfo_getheadersize, wmcontainer/IMFASFContentInfo::GetHeaderSize
wmcontainer.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Mfuuid.lib
Windows
19H1
IMFASFContentInfo::GetHeaderSize
wmcontainer/IMFASFContentInfo::GetHeaderSize
c++
APIRef
kbSyntax
COM
mfuuid.lib
mfuuid.dll
IMFASFContentInfo.GetHeaderSize

IMFASFContentInfo::GetHeaderSize

-description

Retrieves the size of the header section of an Advanced Systems Format (ASF) file.

-parameters

-param pIStartOfContent [in]

The IMFMediaBuffer interface of a buffer object containing the beginning of ASF content. The size of the valid data in the buffer must be at least MFASF_MIN_HEADER_BYTES in bytes.

-param cbHeaderSize [out]

Receives the size, in bytes, of the header section of the content. The value includes the size of the ASF Header Object plus the size of the header section of the Data Object. Therefore, the resulting value is the offset to the start of the data packets in the ASF Data Object.

-returns

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

Return code Description
S_OK
The method succeeded.
MF_E_ASF_INVALIDDATA
The buffer does not contain valid ASF data.
MF_E_BUFFERTOOSMALL
The buffer does not contain enough valid data.

-remarks

The header of an ASF file or stream can be passed to the IMFASFContentInfo::ParseHeader method to populate the ContentInfo object with the header information.

-see-also

ASF ContentInfo Object

IMFASFContentInfo

Initializing the ContentInfo Object of a New ASF File