This is a method of the IDirectPlay2 Interface.
public void addPlayerToGroup(int groupId, int playerId);