Stefan Leichter Stefan.Leichter@camLine.com writes:
Hello,
anything wrong with this patch?
The last error handling is very suspicious, I doubt the function sets ERROR_FILE_NOT_FOUND on a null buffer. I think it's because your test is broken, you need to clear last error before every call if you want to be able to test it afterwards otherwise you just get leftovers from a previous call.