WNetAddConnection2 (mpr)
Last changed: -78.237.25.102

.

Check out the formatting tips on the right for help formatting and making links.

Use the template below then delete this header:

Summary
The WNetAddConnection2 function makes a connection to a network resource. The function can redirect a local device to the network resource.

The WNetAddConnection2 function supersedes the WNetAddConnection function. If you can pass a handle to a window that the provider of network resources can use as an owner window for dialog boxes, call the WNetAddConnection3 function instead.

C# Signature:

[DllImport("mpr.dll")]
static extern TODO WNetAddConnection2(TODO);

VB .NET Signature:

Declare Function WNetAddConnection2 Lib "mpr.dll" (TODO) As TODO

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

TODO

Documentation