The RasGetConnectStatus function retrieves information on the current status of the specified remote access connection. An application can use this call to determine when an asynchronous RasDial call has completed.
DWORD RasGetConnectStatus(
HRASCONN hrasconn, |
// handle to RAS connection of interest |
LPRASCONNSTATUS lprasconnstatus |
// buffer to receive status data |
); |
If the function succeeds, the return value is zero.
If the function fails, the return value is a nonzero error value listed in the RAS header file or one of ERROR_BUFFER_TOO_SMALL or ERROR_NOT_ENOUGH_MEMORY.
RASCONNSTATUS, RasDial, RasEnumConnections
file: /Techref/os/win/api/win32/func/src/f70_13.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/24 00:10,
18.117.106.23: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://massmind.org/Techref/os/win/api/win32/func/src/f70_13.htm"> RasGetConnectStatus</A> |
Did you find what you needed? |
Welcome to massmind.org! |
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! |
.