Compartilhar via


CTransInPlaceOutputPin::EnumMediaTypes

 
Microsoft DirectShow 9.0

CTransInPlaceOutputPin::EnumMediaTypes

The EnumMediaTypes method enumerates the pin's preferred media types. This method implements the IPin::EnumMediaTypes method.

Syntax

  HRESULT EnumMediaTypes(
    IEnumMediaTypes **ppEnum
);

Parameters

ppEnum

Receives a pointer to the IEnumMediaTypes interface.

Return Value

Returns an HRESULT value. Possible values include those shown in the following table.

Value Description
S_OK Success.
E_OUTOFMEMORY Insufficient memory.
E_POINTER NULL pointer.
VFW_E_NOT_CONNECTED The filter's input pin is not connected.

Remarks

This method returns the IEnumMediaTypes interface from the upstream output pin.

Requirements

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

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

See Also