Robert Shearman : kernel32: Check for the correct error return value from open.