Share via


RAS Server/PPTP Server (Incoming) Samples (Compact 7)

3/12/2014

Windows Embedded Compact includes sample application code that demonstrates how to configure and initialize a Remote Access Service (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 user 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

Reference

RasIOControl
RasDevConfigDialogEdit
lineGetDevConfig
lineGetDevConfig
lineDevSpecific

Other Resources

RAS Server/PPTP Server (Incoming)