Share via


ConnectionDialog (Windows Embedded CE 6.0)

1/6/2010

This function displays a dialog box that allows a user to connect to a network resource. This function is called by the network redirector when an application calls WNetConnectionDialog1.

Syntax

BOOL ConnectionDialog(
  HWND hParent, 
  PADDCONNECT_DLGPARAMS pDlgParams
);

Parameters

  • hParent
    [in] Handle to the parent window to which the dialog box is to be attached.
  • pDlgParams
    [in] Pointer to dialog box parameters.

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

DisconnectDialog
ADDCONNECT_DLGPARAMS

Other Resources

Network User Interface Functions