WNet Functions

The WNet functions are defined in the Winnetwk.h header file. The following table shows the WNet functions supported by Windows CE.

Function
Description
WNetAddConnection3 Makes a connection to a network resource and can specify a local name for the resource
WNetCancelConnection2 Terminates an existing network connection
WNetCloseEnum Ends a network enumeration started by WNetOpenEnum
WNetConnectionDialog1 Displays a general browsing dialog box for connecting to a network
WNetDisconnectDialog Displays a dialog box listing all currently connected resources and permits the user to select which resources to disconnect
WNetDisconnectDialog1 Attempts to disconnect from a network; notifies the user of any errors
WNetEnumResource Continues a network enumeration started by WNetOpenEnum
WNetGetConnection Retrieves the remote name of a network resource associated with a local name
WNetGetUniversalName Maps a local path for a network resource to a data structure containing the UNC-based name
WNetGetUser Retrieves user name used to establish a network connection
WNetOpenEnum
Starts an enumeration of network resources or existing connections