Hello,
I've run in to a problem with DriveMapAdd sometimes failing with the Error=1 Extended=0 and the drive not mapping.
So to give the user a better error description i found the command _WinAPI_FormatMessage which should give me wonderfull Windows messages, but it only returns a single letter...