This method of the IBindCtx interface releases the IUnknown pointer to the specified object and removes that pointer from the bind context's internal list of pointers. This undoes a previous call to RegisterObjectBound for the same object.
public void RevokeObjectBound(IUnknown punk);
S_OK -- The object was released successfully.
MK_E_NOTBOUND -- Indicates that punk was not previously registered with a call to RegisterObjectBound.
[in] punk | The pointer to the IUnknown interface on the object to be released. |