Microsoft DirectX 8.1 (C++)

DPN_MSGID_DESTROY_GROUP

Microsoft® DirectPlay® generates the DPN_MSGID_DESTROY_GROUP message when a group is destroyed from a peer-to-peer or client/server session.

DPNMSG_DESTROY_GROUP

The DPNMSG_DESTROY_GROUP structure contains information for the DPN_MSGID_DESTROY_GROUP system message.

typedef struct _DPNMSG_DESTROY_GROUP{
    DWORD  dwSize;
    DPNID  dpnidGroup;
    PVOID  pvGroupContext;
    DWORD  dwReason;
} DPNMSG_DESTROY_GROUP, *PDPNMSG_DESTROY_GROUP;
dwSize
Size of this structure.
dpnidGroup
DPNID of the group deleted from the session.
pvGroupContext
Group context value.
dwReason
One of the following flags indicating why the player was destroyed.
DPNDESTROYGROUPREASON_SESSIONTERMINATED
The group is being destroyed because the session was terminated.

Return Values

Return DPN_OK.

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.