次の方法で共有


CBaseRenderer::CompleteConnect (Compact 2013)

3/26/2014

Called as part of the connection protocol.

Syntax

virtual HRESULT CompleteConnect(
  IPin* pReceivePin
);

Parameters

  • pReceivePin
    Connecting pin.

Return Value

Returns an HRESULT value (NOERROR by default).

Remarks

This member function calls the SetRepaintStatus member function to set the m_bRepaintStatus data member to TRUE so EC_REPAINT notifications can be sent in the future.

(To prevent unnecessary EC_REPAINT notifications from being sent, m_bRepaintStatus is set to FALSE when an end-of-stream notification arrives.)

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseRenderer Class