共用方式為


CBaseVideoRenderer::SetSink

 
Microsoft DirectShow 9.0

CBaseVideoRenderer::SetSink

The SetSink method sets the IQualityControl object that will receive quality messages.

Syntax

  HRESULT SetSink(
    IQualityControl *piqc
);

Parameters

piqc

Pointer to the IQualityControl object to which the notifications should be sent.

Return Value

Returns an HRESULT value.

Remarks

This member function implements the IQualityControl::SetSink method on the video renderer.

Requirements

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

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

See Also