Microsoft DirectX 9.0 |
The CEnumMediaTypes class implements an enumerator for preferred media types.
This class implements the IEnumMediaTypes interface. It calls the following CBasePin methods:
Whenever a pin alters its list of preferred media types, the pin increments the media-type version number. When this happens, the enumerator object is no longer synchronized with the pin, and the class methods return VFW_E_ENUM_OUT_OF_SYNC. Call the CEnumMediaTypes::Reset method to resynchronize the enumerator.
Requirements
Header: Declared in Amfilter.h; include Streams.h.
Library: Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
Public Methods | |
CEnumMediaTypes | Constructor method. |
~CEnumMediaTypes | Destructor method. Virtual. |
IEnumMediaTypes Methods | |
Clone | Makes a copy of the enumerator with the same enumeration state. |
Next | Retrieves a specified number of media types. |
Reset | Resets the enumeration sequence to the beginning. |
Skip | Skips over a specified number of media types. |