IBindCtx::RevokeObjectBound  _CI8TC

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 IBindCtx::RegisterObjectBound11B4_PV for the same object.

HRESULT RevokeObjectBound(

    IUnknown *punk

//Pointer to the object whose registration is being revoked

   );

 

 

Parameter

punk

[in] Pointer to the IUnknown interface on the object to be released.

 

Return Values

S_OK

The object was released successfully.

MK_E_NOTBOUND

Indicates that punk was not previously registered with a call to IBindCtx::RegisterObjectBound11B4_PV.

 

Remarks

You rarely call this method. This method is included for completeness.

See Also

IBindCtx::RegisterObjectBound