Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


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

Search Results for "NetUseAdd" in [All]

Structures

.

    /// <summary>The status of the connection. This element is not used by the NetUseAdd function. The following values are defined.</summary>

.

    /// <summary>The number of files, directories, and other processes that are open on the remote resource. This element is not used by the NetUseAdd function.</summary>

netapi32

. .
Summary
The NetUseAdd function establishes a connection between the local computer and a remote server. You can specify a local drive letter or a printer device to connect. If you do not specify a local drive letter or printer device, the function authenticates the client with the server for future connections.
.

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.

.

internal static extern NET_API_STATUS NetUseAdd(

.

uint returnCode = NetUseAdd(null, 2, ref useInfo, out paramErrorIndex);

.
Documentation
[NetUseAdd] on MSDN
.

see NetUseAdd


 
Access PInvoke.net directly from VS: