The operating system sends a WM_RASDIALEVENT message to a window procedure when a change of state event occurs during a RAS connection process, and a window has been specified to handle notifications of such events by using the notifier parameter of RasDial.
The two message parameters are equivalent to the parameters of the same names that are used with RasDialFunc and RasDialFunc1 callback functions.
WM_RASDIALEVENT rasconnstate = (RASCONNSTATE) wParam; // connection state about to be entered dwError = (DWORD) lParam; // error that may have occurred
RasDial sends this message with dwError set to zero upon entry to each connection state. If an error occurs within a state, the message is sent again for the state, this time with a nonzero dwError value.
If an application processes this message, it should return TRUE.
RasDial, RasDialFunc, RasDialFunc1, RASCONNSTATE
|file: /Techref/os/win/api/win32/mess/src/msg27_15.htm, 2KB, , updated: 2000/4/7 12:20, local time: 2022/8/17 22:14,
|©2022 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.sxlist.com/techref/os/win/api/win32/mess/src/msg27_15.htm"> WM_RASDIALEVENT</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!