CBasePin::SetSink (Windows CE 5.0)
Sets the object containing the IQualityControl interface that will receive quality-control messages.
HRESULT SetSink(IQualityControl* piqc);
Pointer to the IQualityControl interface that notifications should be sent to.
Base class returns NOERROR by default.
The overriding member function should return an HRESULT value.
This member function implements the IQualityControl::SetSink method.
The default implementation sets the m_pQSink data member to the piqc parameter passed in.
The IQualityControl::SetSink method tells a filter where to send quality-control messages it receives.
When no sink has explicitly been set or if the last call to CBasePin::SetSink set the sink to NULL, the message should go upstream.
The derived output pin class typically overrides CBasePin::Notify to enable this.
DirectShow applications and DirectShow filters have different include file and link library requirements.
For more information, see Setting Up the Build Environment.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Send Feedback on this topic to the authors