This is a method of the IDirectPlay2 Interface.
public void setGroupName(int groupId, String friendlyName, String formalName, int flags);