共用方式為


CBindStatusCallback::OnStopBinding

Releases the IBinding pointer in the data member m_spBinding.

STDMETHOD(OnStopBinding)( 
   HRESULT hresult,
   LPCWSTR /* szError */  
);

Parameters

  • hresult
    Status code returned from the bind operation.

  • szStatusText
    Address of a string value Unused.

Remarks

Called by the system-supplied asynchronous moniker to indicate the end of the bind operation.

Requirements

Header: atlctl.h

See Also

Reference

CBindStatusCallback Class

CBindStatusCallback::OnStartBinding