kernel32 functions might modify the last error, which should be avoided here.
Attach a file by drag & drop or click to upload