Skip to content

Latest commit

 

History

History
99 lines (80 loc) · 3.1 KB

nf-mfobjects-imfsample-gettotallength.md

File metadata and controls

99 lines (80 loc) · 3.1 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:mfobjects.IMFSample.GetTotalLength
IMFSample::GetTotalLength (mfobjects.h)
Retrieves the total length of the valid data in all of the buffers in the sample. The length is calculated as the sum of the values retrieved by the IMFMediaBuffer::GetCurrentLength method.
GetTotalLength
GetTotalLength method [Media Foundation]
GetTotalLength method [Media Foundation]
IMFSample interface
IMFSample interface [Media Foundation]
GetTotalLength method
IMFSample.GetTotalLength
IMFSample::GetTotalLength
e0dfc1d2-ec78-4d1c-992d-3a876b600ca6
mf.imfsample_gettotallength
mfobjects/IMFSample::GetTotalLength
mf\imfsample_gettotallength.htm
mf
e0dfc1d2-ec78-4d1c-992d-3a876b600ca6
12/05/2018
GetTotalLength, GetTotalLength method [Media Foundation], GetTotalLength method [Media Foundation],IMFSample interface, IMFSample interface [Media Foundation],GetTotalLength method, IMFSample.GetTotalLength, IMFSample::GetTotalLength, e0dfc1d2-ec78-4d1c-992d-3a876b600ca6, mf.imfsample_gettotallength, mfobjects/IMFSample::GetTotalLength
mfobjects.h
Mfidl.h
Windows
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Mfuuid.lib
Windows
19H1
IMFSample::GetTotalLength
mfobjects/IMFSample::GetTotalLength
c++
APIRef
kbSyntax
COM
mfuuid.lib
mfuuid.dll
IMFSample.GetTotalLength

IMFSample::GetTotalLength

-description

Retrieves the total length of the valid data in all of the buffers in the sample. The length is calculated as the sum of the values retrieved by the IMFMediaBuffer::GetCurrentLength method.

-parameters

-param pcbTotalLength [out]

Receives the total length of the valid data, in bytes.

-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.

-remarks

This interface is available on the following platforms if the Windows Media Format 11 SDK redistributable components are installed:

  • Windows XP with Service Pack 2 (SP2) and later.
  • Windows XP Media Center Edition 2005 with KB900325 (Windows XP Media Center Edition 2005) and KB925766 (October 2006 Update Rollup for Windows XP Media Center Edition) installed.

-see-also

IMFSample

Media Samples