Share via


DisconnectDialog

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function displays a dialog box that allows a user to disconnect from a network resource. This function is called by the network redirector when the application calls WNetDisconnectDialog.

Syntax

BOOL DisconnectDialog( 
  HWND hParent, 
  DWORD dwType
);

Parameters

  • hParent
    Handle to the parent window to which the dialog box is to be attached.
  • dwType
    DWORD specifying the type of network resource from which to disconnect.

Return Value

TRUE indicates success. FALSE indicates either a failure or that the user has chosen Cancel on the dialog box.

Requirements

Header netui.h
Library Netui.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

ConnectionDialog

Other Resources

Network User Interface Functions