Compartir a través de


WM_RASDIALEVENT

This message is sent by the operating system (OS) to a window procedure when a change of state event occurs during a Remote Access Service (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; 
dwError = (DWORD) lParam; 

Parameters

  • rasconnstate
    Equivalent to the rasconnstate parameter of the RasDialFunc and RasDialFunc1 callback functions. This parameter specifies a RASCONNSTATE enumerator value that indicates the state that the RasDial RAS connection process is about to enter.

  • dwError
    Equivalent to the dwError parameter of the RasDialFunc and RasDialFunc1 callback functions. A nonzero value indicates the error that has occurred and zero indicates that no error has 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.

Return Values

An application should return TRUE if it processes this message.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

RasDial | RASCONNSTATE

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.