Compartir a través de


WNetConnectionDialog1 (Windows CE 5.0)

Send Feedback

This function brings up a general browsing dialog for connecting to network resources.

DWORDWNetConnectionDialog1(LPCONNECTDLGSTRUCTlpConnectDlgStruct );

Parameters

  • lpConnectDlgStruct
    [in] Long pointer to the CONNECTDLGSTRUCT structure, which establishes the browsing dialog parameters.

Return Values

ERROR_SUCCESS indicates success.

0xFFFFFFFF indicates that there was a graphical user interface (GUI) error, for example, that the user canceled the dialog box. To get extended error information, call GetLastError.

Remarks

The **dwDevNum****member of the CONNECTDLGSTRUCT structure pointed to by the lpConnectDlgStruc parameter is ignored.

The dwFlags member of the CONNECTDLGSTRUCT can be either CONNDLG_RO_PATH or 0.

This function calls ConnectionDialog to display a dialog box that allows a user to connect to a network resource.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Winnetwk.h.
Link Library: Coredll.lib.

See Also

CONNECTDLGSTRUCT | GetLastError

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.