The RASCREDENTIALS structure is used with the RasGetCredentials and RasSetCredentials functions to specify the user credentials associated with a RAS phone-book entry.
typedef struct {
DWORD dwSize;
DWORD dwMask;
TCHAR szUserName[UNLEN + 1];
TCHAR szPassword[PWLEN + 1];
TCHAR szDomain[DNLEN + 1];
} RASCREDENTIALS, *LPRASCREDENTIALS;
|
Value |
Meaning |
|
RASCM_UserName |
The szUserName member is valid. |
|
RASCM_Password |
The szPassword member is valid. |
|
RASCM_Domain |
The szDomain member is valid. |