The RASDIALPARAMS structure contains parameters used by RasDial to establish a remote access connection.
typedef struct _RASDIALPARAMS { DWORD dwSize; TCHAR szEntryName[RAS_MaxEntryName + 1]; TCHAR szPhoneNumber[RAS_MaxPhoneNumber + 1]; TCHAR szCallbackNumber[RAS_MaxCallbackNumber + 1]; TCHAR szUserName[UNLEN + 1]; TCHAR szPassword[PWLEN + 1]; TCHAR szDomain[DNLEN + 1] ; #if (WINVER >= 0x401) DWORD dwSubEntry; DWORD dwCallbackId; #endif } RASDIALPARAMS;
Windows NT: You can use szPassword to send a new password to the
remote server when you restart a RasDial connection from a
RASCS_PasswordExpired paused state. When changing a password on an entry that
calls Microsoft Networks, you should limit the new password to 14 characters
in length to avoid down-level compatibility problems.
The szUserName and szPassword strings are used to authenticate the user’s access to the remote access server.
If both the szUserName and szPassword members are empty strings
(""), RAS uses the user name and password of the current logon
context for authentication. For a user mode application, RAS uses the
credentials of the currently logged-on interactive user. For a Win32 service
process, RAS uses the credentials associated with the service.
file: /Techref/os/win/api/win32/struc/src/str15_5.htm, 5KB, , updated: 2000/4/7 12:20, local time: 2024/8/31 18:18,
18.219.137.74:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/os/win/api/win32/struc/src/str15_5.htm"> RASDIALPARAMS</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.