The GetIdentity method of the IRemoteObjectEx interface returns a new IRemoteObjectEx interface that is detached from any container. This method is typically used for data breakpoints, and allows a debugger to retain an object reference across debuggee execution.
HRESULT GetIdentity(IRemoteObjectEx **ppIdentity)
[out] **ppIdentity | Returns a new object representing the current object detached from all containers. |
S_OK Success.
E_FAIL This object is not a data object.
E_OUTOFMEMORY Insufficient memory.