DirectX SDK

DirectPlay4.GetGroupFlags

The DirectPlay4.GetGroupFlags method retrieves the flags describing the specified group.

object.GetGroupFlags(GroupId As Long) As Long 

Parameters

object
Object expression that resolves to a DirectPlay4 object.
GroupId
ID of the group whose flag settings are to be retrieved.

Return Values

If it succeeds, the method returns a value set to the group flag settings. This can be one or both of the following members of the CONST_DPGROUPFLAGS enumeration:

DPGROUP_LOCAL
The group was created by this application. If this flag is not specified, the group is a remote group.
DPGROUP_STAGINGAREA
The group is a staging area.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following values:

DPERR_INVALIDGROUP
DPERR_INVALIDPARAMS.

See Also

DirectPlay4.CreateGroup