Microsoft SDK for Java

IRemoteThread::
GetThreadGroup

The GetThreadGroup method of the IRemoteThread interface returns an IRemoteThreadGroup interface representing the thread group that contains this thread.

Syntax

HRESULT GetThreadGroup(IRemoteThreadGroup **ppThreadGroup)

Parameters

[out] **ppThreadGroup Returns the thread group containing this thread. 

Return Value

S_OK Success. 

E_OUTOFMEMORY Insufficient memory.

Remarks

If this thread does not belong to a thread group, S_OK is returned with a NULL *ppThreadGroup.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.