DPN_GROUP_INFO Structure

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

DPN_GROUP_INFO Structure


Describes static group information.

Syntax

typedef struct _DPN_GROUP_INFO {
    DWORD dwSize;
    DWORD dwInfoFlags;
    PWSTR pwszName;
    PVOID pvData;
    DWORD dwDataSize;
    DWORD dwGroupFlags;
} DPN_GROUP_INFO, *PDPN_GROUP_INFO;

Members

dwSize
Variable of type DWORD describing the size of this structure.
dwInfoFlags
Variable of type DWORD containing flags that specify the type of information contained in this structure. When the IDirectPlay8Peer::GetGroupInfo or IDirectPlay8Server::GetGroupInfo method returns, the dwInfoFlags member of the DPN_GROUP_INFO will always have both flags set, even if the corresponding pointers are set to NULL. These flags are used when calling IDirectPlay8Peer::SetGroupInfo, to notify Microsoft® DirectPlay® of which values have changed.
DPNINFO_NAME
The pwszName member contains valid data.
DPNINFO_DATA
The pvData member contains valid data.
pwszName
Pointer to a variable of type PWSTR specifying the Unicode name of the group.
pvData
Pointer to the data describing the group.
dwDataSize
Variable of type DWORD that specifies the size of the data contained in the pvData member.
dwGroupFlags
Variable of type DWORD that can be set to the following description flag.
DPNGROUP_AUTODESTRUCT
Causes the group to be automatically destroyed when the group creator leaves the group.

Remarks

When using this structure in the IDirectPlay8Peer::GetGroupInfo and IDirectPlay8Server::GetGroupInfo methods, dwInfoFlags must be set to 0.

Structure Information

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

© 2003 Microsoft Corporation. All rights reserved.