次の方法で共有


CAsyncMonikerFile::OnStopBinding

Called by the moniker at the end of the bind operation.

virtual void OnStopBinding( 
   HRESULT hresult,
   LPCTSTR szError  
);

Parameters

  • hresult
    An HRESULT that is the error or warning value.

  • szErrort
    A character string describing the error.

Remarks

Override this function to perform actions when the transfer is stopped. By default, the function releases IBinding.

For a description of the IBinding interface, see the Windows SDK.

Requirements

Header: afxole.h

See Also

Reference

CAsyncMonikerFile Class

Hierarchy Chart

CAsyncMonikerFile::OnStartBinding