Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 25 Jul 2008 05:21:12 -0700 (PDT),    group: microsoft.public.win32.programmer.wmi        back       


Creating a network connection (Dial-up)   
Hi all.

I need to create and set up a dial-up network connection in code. User
will choose the modem to use, I need to set up a couple PPP
parameters, a couple of modem settings and a couple of IP settings.

Any pointers? Are SetupDI* functions better?

TIA,
Goran.
date: Fri, 25 Jul 2008 05:21:12 -0700 (PDT)   author:   Goran

Re: Creating a network connection (Dial-up)   
On Jul 25, 5:21 am, Goran  wrote:
> Hi all.
>
> I need to create and set up a dial-up network connection in code. User
> will choose the modem to use, I need to set up a couple PPP
> parameters, a couple of modem settings and a couple of IP settings.
>
> Any pointers? Are SetupDI* functions better?
>
> TIA,
> Goran.




Hi,

You can use the following APIs to establish a RAS connection
between a RAS client and a RAS server:

	RasGetConnectStatus()

	RasGetConnectionStatistics()

	RasEnumConnections()

	RasGetEntryProperties()

	RasGetEapUserIdentity()

	RasGetEntryDialParams()

	RasSetEntryDialParams()

	RasDial()

	RasHangUp()

http://msdn2.microsoft.com/en-us/library/aa377503(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/aa377499(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/aa377284(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/aa377535(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/aa377525(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/aa377529(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/aa377821(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/aa377004(VS.85).aspx

http://msdn2.microsoft.com/en-us/library/aa377567(VS.85).aspx

Kellie.
date: Thu, 31 Jul 2008 14:54:26 -0700 (PDT)   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us