DisconnectDialog (Windows Embedded CE 6.0)

1/6/2010

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