DirectX SDK

IDirectPlay4::GetGroupFlags

The IDirectPlay4::GetGroupFlags method returns the flags describing the group.

HRESULT GetGroupFlags(
  DPID idGroup,
  LPDWORD lpdwFlags
);

Parameters

idGroup
ID of the group whose flag settings are to be retrieved.
lpdwFlags
Pointer to a DWORD to be set to the group flag settings. Can be one or more of the following:
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.

Return Values

Returns DP_OK if successful, or one of the following error values otherwise:

DPERR_INVALIDGROUP
DPERR_INVALIDPARAMS

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dplay.h.
  Import Library: Use dplayx.lib.

See Also

IDirectPlay4::CreateGroup