Adding a Network Connection
- Article
- 08/20/2020
- 2 minutes to read
- 5 contributors
To make a connection to a network resource described by a NETRESOURCE structure, an application can call the WNetAddConnection2, the WNetAddConnection3, or the WNetUseConnection function. The following example demonstrates use of the WN