Platform SDK: DirectX |
The DirectPlay4.GetGroupParent method retrieves the ID of the group containing a group.
object.GetGroupParent(GroupId As Long) As Long
The method returns the DirectPlay ID of the parent, if the group was created within another group by using DirectPlay4.CreateGroupInGroup. If the group was not created in another group, the method returns 0.
If the method fails, an error is raised and Err.Number will be set.