Bagikan melalui


CRendererInputPin::CheckMediaType

 
Microsoft DirectShow 9.0

CRendererInputPin::CheckMediaType

The CheckMediaType method determines if the pin accepts a specific media type. This method overrides the CBasePin::CheckMediaType method.

Syntax

  HRESULT CheckMediaType(
    const CMediaType *pmt
);

Parameters

pmt

Pointer to a media type object that contains the proposed 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