Microsoft SDK for Java

setGroupName

This method of the DirectPlay2 Class sets the name of a group after it has been created. A DPSYS_SETPLAYERORGROUPNAME system message will be sent to all the other players notifying them of the change, unless DPSESSION_NODATAMESSAGES is set in the session description.

Syntax

public void setGroupName(int groupId, String friendlyName, String formalName, int flags);

Parameters

groupId The ID of the group for which the name is being set.
friendlyName The friendly name of the group.
formalName The formal name of the group.
flags If this parameter is set to 0, the name will be propagated to all the remote systems by using nonguaranteed message passing. See also:

DPSET_GUARANTEED


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