Windows Networking (WNet)

Overview of the Windows Networking (WNet) technology.

The Windows Networking (WNet) technology is not associated with any headers.

For programming guidance for this technology, see:

Functions

Title Description
MultinetGetConnectionPerformanceA Returns information about the expected performance of a connection used to access a network resource.
MultinetGetConnectionPerformanceW Returns information about the expected performance of a connection used to access a network resource.
WNetAddConnection2A The WNetAddConnection2 function makes a connection to a network resource and can redirect a local device to the network resource.
WNetAddConnection2W The WNetAddConnection2 function makes a connection to a network resource and can redirect a local device to the network resource.
WNetAddConnection3A The WNetAddConnection3 function makes a connection to a network resource. The function can redirect a local device to the network resource.
WNetAddConnection3W The WNetAddConnection3 function makes a connection to a network resource. The function can redirect a local device to the network resource.
WNetAddConnectionA The WNetAddConnection function enables the calling application to connect a local device to a network resource. A successful connection is persistent, meaning that the system automatically restores the connection during subsequent logon operations.
WNetAddConnectionW The WNetAddConnection function enables the calling application to connect a local device to a network resource. A successful connection is persistent, meaning that the system automatically restores the connection during subsequent logon operations.
WNetCancelConnection2A The WNetCancelConnection2 function cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected.
WNetCancelConnection2W The WNetCancelConnection2 function cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected.
WNetCancelConnectionA The WNetCancelConnection function cancels an existing network connection.
WNetCancelConnectionW The WNetCancelConnection function cancels an existing network connection.
WNetCloseEnum The WNetCloseEnum function ends a network resource enumeration started by a call to the WNetOpenEnum function.
WNetConnectionDialog The WNetConnectionDialog function starts a general browsing dialog box for connecting to network resources. The function requires a handle to the owner window for the dialog box.
WNetConnectionDialog1A The WNetConnectionDialog1 function brings up a general browsing dialog for connecting to network resources. The function requires a CONNECTDLGSTRUCT to establish the dialog box parameters.
WNetConnectionDialog1W The WNetConnectionDialog1 function brings up a general browsing dialog for connecting to network resources. The function requires a CONNECTDLGSTRUCT to establish the dialog box parameters.
WNetDisconnectDialog The WNetDisconnectDialog function starts a general browsing dialog box for disconnecting from network resources. The function requires a handle to the owner window for the dialog box.
WNetDisconnectDialog1A The WNetDisconnectDialog1 function attempts to disconnect a network resource.
WNetDisconnectDialog1W The WNetDisconnectDialog1 function attempts to disconnect a network resource.
WNetEnumResourceA The WNetEnumResource function continues an enumeration of network resources that was started by a call to the WNetOpenEnum function.
WNetEnumResourceW The WNetEnumResource function continues an enumeration of network resources that was started by a call to the WNetOpenEnum function.
WNetGetConnectionA The WNetGetConnection function retrieves the name of the network resource associated with a local device.
WNetGetConnectionW The WNetGetConnection function retrieves the name of the network resource associated with a local device.
WNetGetLastErrorA The WNetGetLastError function retrieves the most recent extended error code set by a WNet function. The network provider reported this error code; it will not generally be one of the errors included in the SDK header file WinError.h.
WNetGetLastErrorW The WNetGetLastError function retrieves the most recent extended error code set by a WNet function. The network provider reported this error code; it will not generally be one of the errors included in the SDK header file WinError.h.
WNetGetNetworkInformationA The WNetGetNetworkInformation function returns extended information about a specific network provider whose name was returned by a previous network enumeration.
WNetGetNetworkInformationW The WNetGetNetworkInformation function returns extended information about a specific network provider whose name was returned by a previous network enumeration.
WNetGetProviderNameA The WNetGetProviderName function obtains the provider name for a specific type of network.
WNetGetProviderNameW The WNetGetProviderName function obtains the provider name for a specific type of network.
WNetGetResourceInformationA When provided with a remote path to a network resource, the WNetGetResourceInformation function identifies the network provider that owns the resource and obtains information about the type of the resource.
WNetGetResourceInformationW When provided with a remote path to a network resource, the WNetGetResourceInformation function identifies the network provider that owns the resource and obtains information about the type of the resource.
WNetGetResourceParentA The WNetGetResourceParent function returns the parent of a network resource in the network browse hierarchy. Browsing begins at the location of the specified network resource.
WNetGetResourceParentW The WNetGetResourceParent function returns the parent of a network resource in the network browse hierarchy. Browsing begins at the location of the specified network resource.
WNetGetUniversalNameA The WNetGetUniversalName function takes a drive-based path for a network resource and returns an information structure that contains a more universal form of the name.
WNetGetUniversalNameW The WNetGetUniversalName function takes a drive-based path for a network resource and returns an information structure that contains a more universal form of the name.
WNetGetUserA The WNetGetUser function retrieves the current default user name, or the user name used to establish a network connection.
WNetGetUserW The WNetGetUser function retrieves the current default user name, or the user name used to establish a network connection.
WNetOpenEnumA The WNetOpenEnum function starts an enumeration of network resources or existing connections. You can continue the enumeration by calling the WNetEnumResource function.
WNetOpenEnumW The WNetOpenEnum function starts an enumeration of network resources or existing connections. You can continue the enumeration by calling the WNetEnumResource function.
WNetRestoreConnectionW The WNetRestoreConnectionW function restores the connection to a network resource. The function prompts the user, if necessary, for a name and password.
WNetUseConnectionA The WNetUseConnection function makes a connection to a network resource. The function can redirect a local device to a network resource.
WNetUseConnectionW The WNetUseConnection function makes a connection to a network resource. The function can redirect a local device to a network resource.

Structures

Title Description
CONNECTDLGSTRUCTA Used by the WNetConnectionDialog1 function to establish browsing dialog box parameters.
CONNECTDLGSTRUCTW Used by the WNetConnectionDialog1 function to establish browsing dialog box parameters.
DISCDLGSTRUCTA Used in the WNetDisconnectDialog1 function. The structure contains required information for the disconnect attempt.
DISCDLGSTRUCTW Used in the WNetDisconnectDialog1 function. The structure contains required information for the disconnect attempt.
NETINFOSTRUCT Contains information describing the network provider returned by the WNetGetNetworkInformation function.