CTransInPlaceInputPin.EnumMediaTypes method

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.

Return codeDescription
S_OK

Success.

E_OUTOFMEMORY

Insufficient memory.

E_POINTER

NULL pointer.

VFW_E_NOT_CONNECTED

The output pin is not connected.

 

Remarks

This method returns the IEnumMediaTypes interface from downstream input pin.

Requirements

Header

Transip.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CTransInPlaceInputPin Class

 

 

Community Additions

ADD
Show:
© 2014 Microsoft