DirectX SDK

DirectPlay4.GetGroupLongName

The DirectPlay4.GetGroupLongName method retrieves the long name associated with a group.

object.GetGroupLongName(GroupId As Long) As String

Parameters

object
Object expression that resolves to a DirectPlay4 object.
GroupId
ID of the group whose name is being requested.

Return Values

The method returns the long name of the group. This is equivalent to the value passed as the formalName parameter of the DirectPlay4.CreateGroup, DirectPlay4.CreateGroupInGroup, or DirectPlay4.SetGroupName method.

Error Codes

If the method fails, an error is raised and Err.Number will be set.