Microsoft DirectX 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.

See Also