|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
|
| Header File
| ras.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
RASCREDENTIALS
[New - Windows NT]
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;
Members
dwSize
Specifies the size, in bytes, of the RASCREDENTIALS structure.
dwMask
A set of bit flags that specify the members of this structure that are valid.
On input, set the flags to indicate the members in which you are interested. On
output, the function sets the flags to indicate the members that contain valid
data. This member can be a combination of the following values.
Value
| Meaning
| RASCM_UserName
| The szUserName member is valid.
| RASCM_Password
| The szPassword member is valid.
| RASCM_Domain
| The szDomain member is valid.
|
szUserName
A null-terminated string that contains a user name.
szPassword
A null-terminated string that contains a password.
szDomain
A null-terminated string that contains a domain name.
See Also
RasGetCredentials, RasSetCredentials
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|