CBasePin::SetSink (Windows Embedded CE 6.0)
1/6/2010
Sets the object containing the IQualityControl interface that will receive quality-control messages.
Syntax
HRESULT SetSink(
IQualityControl* piqc
);
Parameters
- piqc
Pointer to the IQualityControl interface that notifications should be sent to.
Return Value
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
Windows Embedded CE | Windows CE 2.12 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |