CBasePin::SetSink (Windows CE 5.0)

Send Feedback

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

HRESULT SetSink(IQualityControl* piqc);

Parameters

  • piqc
    Pointer to the IQualityControl interface that notifications should be sent to.

Return Values

Base class returns NOERROR by default.

The overriding member function should return an HRESULT value.

Remarks

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.

Requirements

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.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.