WORD WNetDeviceMode(hParent) | |||
HWND hParent; |
The WNetDeviceMode function displays a dialog box, permitting to user to examine and modify network settings.
hParent
Identifies the parent window for the dialog box.
The return value is one of the following values.
Value | Meaning |
WN_BAD_POINTER | Invalid pointer. |
WN_NET_ERROR | Network error. |
WN_NOT_SUPPORTED | Function not supported. |
WN_OUT_OF_MEMORY | Out of memory. |
WN_SUCCESS | Success. |
WN_WINDOWS_ERROR | Windows function failed. |
The export ordinal for this function is 14.
The network dialog box is often used to display information such as the driver's name, driver's version number, version number of the installed network software, and copyright notice. It is also used to let the user choose settings for the network.
The user can call this dialog box from Control Panel.