CEnumMediaTypes::CEnumMediaTypes

 
Microsoft DirectShow 9.0

CEnumMediaTypes::CEnumMediaTypes

Constructor method.

Syntax

  CEnumMediaTypes(
    CBasePin *pPin,
    CEnumMediaTypes *pEnumMediaTypes
);

Parameters

pPin

Pointer to the pin on which the enumeration is to be performed.

pEnumMediaTypes

Pointer to the IEnumMediaTypes interface of an enumerator to clone, or NULL.

Remarks

If pEnumMediaTypes is NULL, this method initializes the enumerator to the beginning of the enumeration sequence. Otherwise, it duplicates the internal state of the enumerator specified by pEnumMediaTypes.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also