Compartir a través de


CRendererInputPin::SetMediaType

 
Microsoft DirectShow 9.0

CRendererInputPin::SetMediaType

The SetMediaType method sets the media type for the connection. This method overrides the CBasePin::SetMediaType method.

Syntax

  HRESULT SetMediaType(
    const CMediaType *pmt
);

Parameters

pmt

Pointer to a CMediaType object that specifies the media type.

Return Value

Returns an HRESULT value.

Requirements

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

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

See Also