Skip to content

Latest commit

 

History

History
153 lines (125 loc) · 4.54 KB

nf-wmcontainer-imfasfsplitter-getnextsample.md

File metadata and controls

153 lines (125 loc) · 4.54 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.IMFASFSplitter.GetNextSample
IMFASFSplitter::GetNextSample (wmcontainer.h)
Retrieves a sample from the Advanced Systems Format (ASF) splitter after the data has been parsed.
85133059-6710-4fb2-b42b-f54747816f9c
ASF_STATUSFLAGS_INCOMPLETE
GetNextSample
GetNextSample method [Media Foundation]
GetNextSample method [Media Foundation]
IMFASFSplitter interface
IMFASFSplitter interface [Media Foundation]
GetNextSample method
IMFASFSplitter.GetNextSample
IMFASFSplitter::GetNextSample
Zero
mf.imfasfsplitter_getnextsample
wmcontainer/IMFASFSplitter::GetNextSample
mf\imfasfsplitter_getnextsample.htm
mf
85133059-6710-4fb2-b42b-f54747816f9c
12/05/2018
85133059-6710-4fb2-b42b-f54747816f9c, ASF_STATUSFLAGS_INCOMPLETE, GetNextSample, GetNextSample method [Media Foundation], GetNextSample method [Media Foundation],IMFASFSplitter interface, IMFASFSplitter interface [Media Foundation],GetNextSample method, IMFASFSplitter.GetNextSample, IMFASFSplitter::GetNextSample, Zero, mf.imfasfsplitter_getnextsample, wmcontainer/IMFASFSplitter::GetNextSample
wmcontainer.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Mfuuid.lib
Windows
19H1
IMFASFSplitter::GetNextSample
wmcontainer/IMFASFSplitter::GetNextSample
c++
APIRef
kbSyntax
COM
mfuuid.lib
mfuuid.dll
IMFASFSplitter.GetNextSample

IMFASFSplitter::GetNextSample

-description

Retrieves a sample from the Advanced Systems Format (ASF) splitter after the data has been parsed.

-parameters

-param pdwStatusFlags [out]

Receives one of the following values.

Value Meaning
ASF_STATUSFLAGS_INCOMPLETE
More samples are ready to be retrieved. Call GetNextSample in a loop until the pdwStatusFlags parameter receives the value zero.
Zero
No additional samples are ready. Call IMFASFSplitter::ParseData to give more input data to the splitter.

-param pwStreamNumber [out]

If the method returns a sample in the ppISample parameter, this parameter receives the number of the stream to which the sample belongs.

-param ppISample [out]

Receives a pointer to the IMFSample interface of the parsed sample. The caller must release the interface. If no samples are ready, this parameter receives the value NULL.

-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 ASF data in the buffer is invalid.
MF_E_ASF_MISSINGDATA
There is a gap in the ASF data.

-remarks

Before calling this method, call IMFASFSplitter::ParseData to give input data to the splitter. If the input does not contain enough data for a complete sample, the GetNextSample method succeeds but returns NULL in the ppISample parameter.

The ASF splitter skips samples for unselected streams. To select streams, call IMFASFSplitter::SelectStreams.

-see-also

ASF Splitter

IMFASFSplitter