Microsoft DirectX 8.1 (C++)

DPN_MSGID_CREATE_GROUP

Microsoft® DirectPlay® generates the DPN_MSGID_CREATE_GROUP message when a group is created.

DPNMSG_CREATE_GROUP

The DPNMSG_CREATE_GROUP structure contains information for the DPN_MSGID_CREATE_GROUP system message.

typedef struct _DPNMSG_CREATE_GROUP{
    DWORD  dwSize;
    DPNID  dpnidGroup;
    DPNID  dpnidOwner;
    PVOID  pvGroupContext;
} DPNMSG_CREATE_GROUP, *PDPNMSG_CREATE_GROUP;
dwSize
Size of this structure.
dpnidGroup
DPNID of the of the created group.
dpnidOwner
DPNID of the of the group's owner. This value is only set for groups that have the DPNGROUP_AUTODESTRUCT flag set in the dwGroupFlags member of the DPN_GROUP_INFO structure.
pvGroupContext
Group context value.

Return Values

Return DPN_OK.

Remarks

The only method of setting the group context value is through this system message. Group context values once set cannot be changed.

Requirements

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