Microsoft DirectX 8.1 (C++)

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.

See Also