DPCREDENTIALS

Holds the user name, password, and domain to connect to a secure server.

typedef struct {

DWORD dwSize;

DWORD dwFlags;

union {

LPWSTR lpszUsername;

LPSTR lpszUsernameA;

};

union {

LPWSTR lpszPassword;

LPSTR lpszPasswordA;

};

union {

LPWSTR lpszDomain;

LPSTR lpszDomainA;

};

} DPCREDENTIALS, FAR *LPDPCREDENTIALS;

Members

dwSize

The size of the DPCREDENTIALS structure, dwsize = sizeof(DPCREDENTIALS).

dwFlags

Not used. Must be zero.

lpszUsername, lpszPassword, lpszDomain

Pointers to Unicode strings containing the user name, password, and domain name. Can only be used with a Unicode interface.

lpszUsernameA, lpszPasswordA, lpszDomainA

Pointers to ANSI strings containing the user name, password, and domain name. Can only be used with an ANSI interface.

See Also

IDirectPlay3::SecureOpen