Dialing Internet access (including MODEM and PPPOE) in Windows, which is generally the Remote Access Service provided by the Windows platform:
http://msdn.microsoft.com/library/en-us/rras/rras/ras_start_page.asp. Where the connection operation function (
http://msdn.microsoft.com/library/en-us/rras/rras/ras_connection_operations.asp can be used to operate dial-up connections. Compare commonly used functions are rasdial, rashangup, rasenuMConnection and RasgetConnectStatus, as well as custom notification processing functions (
http://msdn.microsoft.com/library/en-us/rras/rras/notification_handlers.asp).
Windows XP / 2003 built-in support for PPPoE dial-up connection, reference
Http://msdn.microsoft.com/library/en-us/rras/rras/point_to_point_protocol_over_ethernet_connections.asp.
A code example of a control dial-up connection can be
http://www.pconline.com.cn/pcedu/empolder/gj/vc/10309/221591.html is found (the original source search has not been found for a long time ...).