Platform SDK: Windows Networking |
An application can use the WNet functions to browse, add, or cancel network connections anywhere in the network hierarchy.
A persistent connection is a network connection that the system automatically restores when the user logs on. You can call the WNetAddConnection2 (or WNetAddConnection3) and WNetCancelConnection2 functions to control whether a network connection is persistent from one session to the next.
To find the default user name or the user name used to establish a network connection, call the WNetGetUser function.
In addition to calling the WNet functions, a process can also use mailslots and named pipes to communicate with another process. For more information, see Mailslots and Pipes.