The following functions are used in Windows networking:
Connection Functions
WNetAddConnection
WNetAddConnection2
WNetAddConnection3
WNetCancelConnection
WNetCancelConnection2
WNetConnectionDialog
WNetDisconnectDialog
WNetGetConnection
WNetGetUniversalName
Enumeration Functions
WNetCloseEnum
WNetEnumResource
WNetOpenEnum
WNetGetLastError
User Functions
Many of these functions use a NETRESOURCE structure.
The WNetAddConnection and WNetCancelConnection functions are supported for compatibility with Windows for Workgroups. However, new applications should use WNetAddConnection2 or WNetAddConnection3 and WNetCancelConnection2.