Platform SDK: DirectX |
The DirectPlay4.GetGroupData method retrieves an application-specific string associated with a group.
object.GetGroupData(GroupId As Long, _ flags As CONST_DPGETFLAGS) As String
If it succeeds, the method returns a string containing the data associated with the group by using the DirectPlay4.SetGroupData method.
If the method fails, an error is raised and Err.Number may be set to one of the following values:
DPERR_INVALIDGROUP |
DPERR_INVALIDOBJECT |
DPERR_INVALIDPARAMS |
DPERR_INVALIDPLAYER |
DirectPlay can maintain two types of group data: local and remote. The application must specify which type of data to retrieve. Local data was set by this DirectPlay object by using the DPSET_LOCAL flag. Remote data might have been set by any application in the session by using the DPSET_REMOTE flag.