?/TD>
Microsoft DirectX 9.0

DPN_MSGID_DESTROY_GROUP Message


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

The DPNMSG_DESTROY_GROUP structure contains information for the DPN_MSGID_DESTROY_GROUP system message.

Syntax

typedef struct _DPNMSG_DESTROY_GROUP {
    DWORD dwSize;
    DPNID dpnidGroup;
    PVOID pvGroupContext;
    DWORD dwReason;
}  DPNMSG_DESTROY_GROUP, *PDPNMSG_DESTROY_GROUP;

Members

dwSize
Size of this structure.
dpnidGroup
DPNID of the group deleted from the session.
pvGroupContext
Group context value.
dwReason
The following flag can be set to indicate why the player was destroyed.
DPNDESTROYGROUPREASON_SESSIONTERMINATED
The group is being destroyed because the session was terminated.

Remarks

Return from the message callback function with DPN_OK.

Message Information

Headerdplay8.h
Minimum operating systems Windows 98, Pocket PC 2002


© 2002 Microsoft Corporation. All rights reserved.