The RasSecurityDialogGetInfo function is called by a RAS security DLL to get information about a port from the RAS server.
To call this function, you must first call the LoadLibrary function to load RASMAN.DLL. Then call the GetProcAddress function to get the DLL’s RasSecurityDialogGetInfo entry point.
DWORD RasSecurityDialogGetInfo(
HPORT hPort, |
// RAS handle to port |
RAS_SECURITY_INFO *pBuffer |
// pointer to structure that gets port information |
); |
If the function succeeds, the return value is NO_ERROR.
If the function fails, the return value is one of the error codes defined in RASERROR.H or WINERROR.H. GetLastError does not provide extended error information.
The RasSecurityDialogGetInfo function retrieves information about the port associated with a RAS security DLL authentication transaction.
The LastError member of the RAS_SECURITY_INFO structure indicates the state of the last RasSecurityDialogReceive call for the port. If the receive operation has been completed successfully, LastError is SUCCESS and the BytesReceived member indicates the number of bytes received. Otherwise, LastError is PENDING if the receive operation is still in progress, or a nonzero error code if the receive operation failed.
GetProcAddress, LoadLibrary, RAS_SECURITY_INFO, RasSecurityDialogReceive
file: /Techref/os/win/api/win32/func/src/f70_30.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/5 05:59,
3.231.219.178:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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/func/src/f70_30.htm"> RasSecurityDialogGetInfo</A> |
Did you find what you needed? |
PICList 2024 contributors:
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. |
Welcome to www.piclist.com! |
.