DirectX SDK |
The DirectPlay4.GetGroupOwner method retrieves the ID of the current owner of the group. This method is only valid in a lobby session.
object.GetGroupOwner(GroupId As Long) As Long
The method returns the DirectPlay ID of the group's owner, as set by the DirectPlay4.SetGroupOwner method.
If the method fails, an error is raised and Err.Number will be set.