共用方式為


CBindStatusCallback::OnStartBinding

Sets the data member m_spBinding to the IBinding pointer in pBinding.

STDMETHOD(OnStartBinding)( 
   DWORD /* dwReserved */,
   IBinding* pBinding  
);

Parameters

  • dwReserved
    Reserved for future use.

  • pBinding
    [in] Address of the IBinding interface of the current bind operation. This cannot be NULL. The client should call AddRef on this pointer to keep a reference to the binding object.

Requirements

Header: atlctl.h

See Also

Reference

CBindStatusCallback Class

CBindStatusCallback::OnStopBinding