Martin Wilck Martin.Wilck@fujitsu-siemens.com writes:
What we'd need would consequently be a errno->NT status converter to set the overlapped status correctly from the error reported by read or write.
file_set_error() in server/file.c should do what you want. You can't call the function from the client but you can simply copy the code.