Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "WNetAddConnection3" in [All]

netapi32

.

You can also use the WNetAddConnection2 and WNetAddConnection3 functions to redirect a local device to a network resource. Connections added by NetUseAdd are not shown in the Explorer. You should use one of the WNetAddConnection methods to make the networkdrive visible in the explorer.

mpr

.

private static extern int WNetAddConnection3(IntPtr hWndOwner,

.

    Private Shared Function WNetAddConnection3(ByVal hWndOwner As IntPtr, _

.

WNetAddConnection3(hWnd, ref ConnInf, null, null,

.
Documentation
[WNetAddConnection3] on MSDN
.

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.

.

private static extern int WNetAddConnection3(IntPtr hWndOwner,

.

    Private Shared Function WNetAddConnection3(ByVal hWndOwner As IntPtr, _

.

WNetAddConnection3(hWnd, ref ConnInf, null, null,

.
Documentation
[WNetAddConnection3] on MSDN

 
Access PInvoke.net directly from VS: