The GetThreadGroup method of the IRemoteThread interface returns an IRemoteThreadGroup interface representing the thread group that contains this thread.
HRESULT GetThreadGroup(IRemoteThreadGroup **ppThreadGroup)
[out] **ppThreadGroup | Returns the thread group containing this thread. |
S_OK Success.
E_OUTOFMEMORY Insufficient memory.
If this thread does not belong to a thread group, S_OK is returned with a NULL *ppThreadGroup.