The GetThreads method of the IRemoteThreadGroup interface returns an IJavaEnumRemoteThread enumerator for the threads in this thread group.
HRESULT GetThreads(IJavaEnumRemoteThread **ppEnum)
[out] **ppEnum | Returns an enumerator for the threads in this thread group. |
S_OK Success.
E_NOLONGERVALID The underlying object is no longer valid.
E_OUTOFMEMORY Insufficient memory.