CEnumMediaTypes::Next (Windows CE 5.0)
Retrieves the specified number of items in the enumeration sequence.
HRESULTNext(ULONGcMediaTypes,AM_MEDIA_TYPE** ppMediaTypes,ULONG* pcFetched );
Parameters
- cMediaTypes
Number of media types to place. - ppMediaTypes
Array in which to place the next media type or types. - pcFetched
Actual count passed.
Return Values
Returns an HRESULT value.
Remarks
This member function implements the IEnumMediaTypes::Next method.
To call this method, pass a pointer's address to a media type.
The base class implementation relies on the existence of an overridden CBasePin::GetMediaType member function in the derived class that will provide the next media type.
Free each media type acquired by calling DeleteMediaType, which will free the format block and the media type itself.
Requirements
DirectShow applications and DirectShow filters have different include file and link library requirements.
For more information, see Setting Up the Build Environment.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:
Send Feedback on this topic to the authors