Partager via


DisconnectDialog

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

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 Values

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

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Netui.h.
Link Library: Netui.lib.

See Also

ConnectionDialog

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.