DECLARE INTEGER WNetAddConnection IN Win32API; STRING @lpszRemoteName, STRING @lpszPassword, STRING @lpszLocalName * lcserver is the server name in the \\< Server name >\< Volume > format * lcdrive is the drive specifier * If the password is known lnresult = WNetAddConnection(@lcserver, @lcpassword, @lcdrive) * With no password lnresult = WNetAddConnection(@lcserver, 0, @lcdrive)If the call succeeds lnresult will equal zero, otherwise it represents an error.