IBindCtx::RevokeObjectBound method (objidl.h)

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

Syntax

HRESULT RevokeObjectBound(
  [in] IUnknown *punk
);

Parameters

[in] 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

Requirement Value
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