[python-win32] Re: win32ras / Create PhonebookEntry

Roger Upole rwupole at msn.com
Sat Jun 3 15:24:13 CEST 2006


Gabriel Reis wrote:
> Hi,
> 
> I want to create a DIAL-UP connection AND a DIAL-IN connection using WIN32
> API (PyWin32) without GUI interaction with the user. The function
> CreatePhonebookEntry available in win32ras module uses that kind of GUI
> interaction. I'd like to know if there's a silent or user-transparently way
> to do that. I've already read a considerable amount of documentation (msdn,
> python maillist, etc) and I didn't find anything that does exactly what I
> need.
> 
> Thanks!
> 

Looks like the function to create an entry is RasSetEntryProperties.
Unfortunately, it's not wrapped in win32ras.  It would take a good
bit of effort since one the params is the huge RASENTRY struct,
with 40-odd members.

       Roger



More information about the Python-win32 mailing list