The GetContainer method of the IRemoteObjectEx interface returns an IRemoteObject interface representing the container of this object.
HRESULT GetContainer(IRemoteObject **ppContainer)
[out] **ppContainer | Returns the container of this object. |
S_OK Success.
**ppContainer will be NULL if the object has no container.