win32wnet.WNetAddConnection3

WNetAddConnection3(hwnd, NetResource, Password, UserName, Flags)

Creates a connection to a network resource.

Parameters

hwnd : int

Handle to a parent window.

NetResource : PyNETRESOURCE

Describes the network resource for the connection.

Password=None : str

The password to use. Use None for default credentials.

UserName=None : str

The user name to connect as. Use None for default credentials.

Flags=0 : int

Combination win32netcon.CONNECT_* flags

Comments

Accepts keyword arguments.

Win32 API References

Search for WNetAddConnection3 at msdn, google or google groups.