IBinding::Abort

Permanently ends the bind operation.

HRESULT Abort(void);
 

Return Values

S_OK
The bind operation was successfully aborted.
S_FALSE
The bind operation was already aborted.
E_FAIL
The bind operation could not be aborted.

Remarks

When a bind operation is aborted, it calls IBindStatusCallback::OnStopBinding with a corresponding error code or failure of the IMoniker::BindToObject or the IMoniker::BindToStorage call in case this call did not previously return.

After aborting the bind operation, the client must still release any pointers obtained during the binding. No other IBindStatusCallback notifications will be called except IBindStatusCallback::OnStopBinding.

Note  Releasing the last IBinding interface does not terminate the bind operation.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in urlmon.h.

See Also

IBindStatusCallback::OnStopBinding