The Remote Access Connection Manager continues progress notifications until the connection operation has been completed. This occurs in the following situations:
- The handler receives a RASCS_Connected, or RASCS_Disconnected notification. The RAS client application can exit without breaking any established connection.
- An error occurs. The handler receives a notification indicating the error and the connection state when the error occurred. The RAS client application can exit.
The RAS client application should not assume the connection operation is complete after calling RasHangUp. It should wait for one of the preceding conditions before exiting.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
