Microsoft SDK for Java

IRemoteThreadGroupEx::
GetParent

The GetParent method of the IRemoteThreadGroupEx interface returns the parent thread group of this thread group.

Syntax

HRESULT GetParent(IRemoteThreadGroupEx **ppParentGroup)

Parameters

[out] **ppParentGroup Returns the parent thread group of this thread group. 

Return Value

S_OK Success.

E_NOLONGERVALID The underlying object is no longer valid.

Remarks

If this thread group has no parent thread group, S_OK will be returned and ppParentGroup will be NULL.

The GetParent method returns S_OK and NULL for the system thread group to indicate that this thread group does not have a parent thread group. The system thread group is the only thread group without a parent.

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