?/TD>
Microsoft DirectX 9.0

DPN_MSGID_CREATE_GROUP Message


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

The DPNMSG_CREATE_GROUP structure contains information for the DPN_MSGID_CREATE_GROUP system message.

Syntax

typedef struct _DPNMSG_CREATE_GROUP {
    DWORD dwSize;
    DPNID dpnidGroup;
    DPNID dpnidOwner;
    PVOID pvGroupContext;
    PVOID pvOwnerContext;
}  DPNMSG_CREATE_GROUP, *PDPNMSG_CREATE_GROUP;

Members

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.
pvOwnerContext
Owner context value.

Remarks

Return from the message callback function with DPN_OK.

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

Message Information

Headerdplay8.h
Minimum availabilityDirectX 9.0
Minimum operating systems Windows 2000, Windows 98


© 2002 Microsoft Corporation. All rights reserved.