Compartilhar via


CBasePin::SetSink

 
Microsoft DirectShow 9.0

CBasePin::SetSink

The SetSink method sets an external quality manager. This method implements the IQualityControl::SetSink method.

Syntax

  HRESULT SetSink(
    IQualityControl *piqc
);

Parameters

piqc

Pointer to the IQualityControl interface of the quality manager.

Return Value

Returns S_OK.

Remarks

Call this method to redirect quality-control messages to an external quality manager. For more information, see Quality-Control Management.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also