DirectPlay Animated Header -- DPNAME DirectPlay Animated Header -- DPNAME* Microsoft DirectPlay SDK
*Index  *Topic Contents
*Previous Topic: DPLCONNECTION
*Next Topic: DPSECURITYDESC


DPNAME


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
dwSize
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.
dwFlags
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 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

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page