Partager via


DisconnectDialog (Compact 2013)

3/26/2014

This function displays a dialog box that allows a user to disconnect from a network resource.

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

See Also

Reference

Network User Interface Functions
ConnectionDialog