Microsoft DirectX 8.1 (C++) |
The SetMediaType method is called when the pin's media type is set.
Syntax
virtual HRESULT SetMediaType(
const CMediaType *pmt
);
Parameters
pmt
Pointer to a CMediaType object that specifies the media type.
Return Value
Returns S_OK.
Remarks
The input pin calls this method from its own CRendererInputPin::SetMediaType method. This method does nothing in the base class.
See Also