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. |
|
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 |
|
|
|
|
|
|
Retrieves a sample from the Advanced Systems Format (ASF) splitter after the data has been parsed.
Receives one of the following values.
Value | Meaning |
---|---|
|
More samples are ready to be retrieved. Call GetNextSample in a loop until the pdwStatusFlags parameter receives the value zero. |
|
No additional samples are ready. Call IMFASFSplitter::ParseData to give more input data to the splitter. |
If the method returns a sample in the ppISample parameter, this parameter receives the number of the stream to which the sample belongs.
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.
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 data in the buffer is invalid. |
|
There is a gap in the ASF data. |
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.