IBindCtx::RevokeObjectBound method

Removes the object from the bind context, undoing a previous call to RegisterObjectBound.

Syntax

HRESULT RevokeObjectBound(
  IUnknown *punk
);

Parameters

punk

A pointer to the IUnknown interface on the object to be removed.

Return Value

This method can return the following values.

Return code Description
S_OK
The object was released successfully.
MK_E_NOTBOUND
The object was not previously registered.

Remarks

You would rarely call this method. It is documented primarily for completeness.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header objidl.h

See Also

IBindCtx