RAS Server Configuration Sample

Windows CE includes a code sample that demonstrates how to configure and initialize a RAS server to accept incoming calls. This code sample is located at the %WINCEROOT%\Public\common\oak\drivers\netsamp\rasserver directory. The code sample shows how to perform the following tasks:

  • Using the RasIOControl function to perform various configuration tasks, such as adding and removing a line, adding a user's credentials, and modifying global parameter settings.
  • Using the RasDevConfigDialogEdit function to edit the device configuration for the specified line device through the Graphical User Interface (GUI).
  • Obtaining the device configuration for a specified line by calling the LineGetDevConfig function, modifying the baud rate for the line device by calling the lineDevSpecific function, and storing the modified line device configuration by calling the lineSetDevConfig function.

See Also

RAS Server/PPTP Server (Incoming) | Configuring the RAS Server | RasIOControl | RasDevConfigDialogEdit | lineGetDevConfig | lineGetDevConfig | lineDevSpecific

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.