Group: Windows Networking - Library: mpr
Starting a dialog box for connecting to network resources and passing input parameters
DWORD WNetConnectionDialog1(
__inout LPCONNECTDLGSTRUCT lpConnDlgStruct
);
DECLARE LONG WNetConnectionDialog1 IN mpr;
INTEGER lpConnDlgStruct
lpConnDlgStruct [in, out] Pointer to a CONNECTDLGSTRUCT structure. The structure establishes the browsing dialog parameters.
If the user cancels the dialog box, the function returns –1. If the function is successful, it returns NO_ERROR (0).
The function requires a CONNECTDLGSTRUCT to establish the dialog box parameters.