DPNAME

typedef struct {

DWORD dwSize;

DWORD dwFlags;

union {

LPWSTR lpszShortName;

LPSTR lpszShortNameA;

};

union {

LPWSTR lpszLongName;

LPSTR lpszLongNameA;

};

} DPNAME,FAR *LPDPNAME;

Contains name information for a DirectPlay entity, such as a player or group.

dwSize

Size, in bytes, of this structure. Your application must set this member before it uses this structure; otherwise, an error will result.

dwFlags

Structure-specific flags. Currently set to zero.

lpszShortName and lpszLongName

Addresses of Unicode strings containing the short (friendly) and long (formal) names of a player or group. Use these members only if the IDirectPlay2 interface is in use.

lpszShortNameA and lpszLongNameA

Addresses of ANSI strings containing the short (friendly) and long (formal) names of a player or group. Use these members only if the IDirectPlay2A interface is in use.