Platform SDK: DirectX

DPACCOUNTDESC

The DPACCOUNTDESC structure describes the account information for a specific player.

typedef struct {
    DWORD  dwSize; 
    DWORD  dwFlags; 
    union {
        LPWSTR  lpszAccountID; 
        LPSTR   lpszAccountIDA; 
    };
} DPACCOUNTDESC, FAR *LPDPACCOUNTDESC;

Members

dwSize
The size of the DPACCOUNTDESC structure, dwSize = sizeof(DPACCOUNTDESC).
dwFlags
Not used. Must be 0.
lpszAccountID
Pointer to a Unicode string containing the account identifier. This is a unique identifier that describes a player who is securely logged on. The format of the identifier depends on the Security Support Provider Interface (SSPI) package being used.
lpszAccountIDA
Pointer to an ANSI string containing the account identifier. This is a unique identifier that describes a player who is securely logged on. The format of the identifier depends on the SSPI package being used.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dplay.h.

See Also

IDirectPlay4::GetPlayerAccount