Platform SDK: DirectX

DirectPlay4.GetGroupShortName

The DirectPlay4.GetGroupShortName method retrieves the short name associated with a group.

object.GetGroupShortName(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 short name of the group. This is equivalent to the value passed as the friendlyName 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.