Contains name information for a DirectPlay entity, such as a player or group.
typedef struct {
DWORD dwSize;
DWORD dwFlags;
union {
LPWSTR lpszShortName;
LPSTR lpszShortNameA;
};
union {
LPWSTR lpszLongName;
LPSTR lpszLongNameA;
};
} DPNAME, FAR *LPDPNAME;
Members
The size of the DPNAME structure, dwsize = sizeof(DPNAME). Your application must set this member before it uses this structure; otherwise, an error will result.
Structure-specific flags. Currently set to zero.
lpszShortName and lpszLongName
Pointers to Unicode strings containing the short (friendly) and long (formal) names of a player or group. Use these members only if the IDirectPlay3 interface is in use.
lpszShortNameA and lpszLongNameA
Pointers to ANSI strings containing the short (friendly) and long (formal) names of a player or group. Use these members only if the IDirectPlay3A interface is in use.
See Also
IDirectPlay3::CreateGroup, IDirectPlay3::CreatePlayer, IDirectPlay3::GetGroupName, IDirectPlay3::GetPlayerName, IDirectPlay3::SetGroupName, IDirectPlay3::SetPlayerName