IBindCtx::RevokeObjectBound

HRESULT IBindCtx::RevokeObjectBound(punk)

This function undoes the effect of IBindCtx::RegisterObjectBound: it removes the object from the set that will be released when the bind context in IBindCtx::ReleaseBoundObjects (actually removes one occurrence of it). This function is likely to be rarely called, but is included for completeness.

Argument

Type

Description

punk

IUnknown*

The object which no longer needs to be released.

return value

HRESULT

S_OK, MK_E_NOTBOUND, E_OUTOFMEMORY