Microsoft DirectX 8.0 (C++)

IDirectPlay8Server::GetGroupContext

Retrieves the group context value for a group.

HRESULT GetGroupContext(
const DPNID dpnid,
PVOID *const ppvGroupContext,
const DWORD dwFlags
);

Parameters

dpnid
Variable of type DPNID that specifies the identifier of the group to get context data for.
ppvGroupContext
Pointer to the context value of the group.
dwFlags
Reserved. Must be 0.

Return Values

Returns S_OK if successful, or one of the following error values.

DPNERR_INVALIDGROUP
DPNERR_INVALIDPARAM

Remarks

Group context values are set by pointing the pvGroupContext member of the DPN_MSGID_CREATE_GROUP system message to the context value data.

Requirements

  Windows NT/2000: Available as a redistributable for Windows 2000 and later.
  Windows 95/98: Available as a redistributable for Windows 95 and later.
  Header: Declared in Dplay8.h.