Microsoft Windows CE 3.0  

CBasePin::SetSink

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Sets the object containing the IQualityControlinterface that will receive quality-control messages.

HRESULT SetSink(
IQualityControl *
piqc
);

Parameters

piqc
Pointer to the IQualityControlinterface to which the notifications should be sent.

Return Values

Base class returns NOERROR by default. The overriding member function should return an HRESULTvalue.

Remarks

This member function implements the IQualityControl::SetSinkmethod. The default implementation sets the m_pQSinkdata member to the piqcparameter passed in.

The IQualityControl::SetSinkmethod tells a filter where to send quality-control messages it receives. When no sink has been explicitly set or if the last call to CBasePin::SetSinkset the sink to NULL, the message should go upstream. The derived output pin class typically overrides CBasePin::Notifyto enable this.