George,
You've been extremely helpful on several questions I've had using the API. I have a couple of final issues that are eating my lunch that I'd like to ask you about.
You posted several return codes for when mapping a network drive using the API (WNetAddConnection, etc). However I recently started receiving two codes that weren't listed: 1326 and 21
Any ideas? ALso, is there a way to disable Windows from displaying dialog boxes? One is popping up each time I encounter the return code of 21. I am "retrying" the connection and have always been able to map on the second attempt, but a user must click the OK button of the Windows dialog box first. (Says something about default UID and GID)
Any help at all is appreciated...