mcicda: How can we get STATUS_XXX in GetLastError()?

Hans Leidekker hans at it.vu.nl
Fri Jan 5 10:03:07 CST 2007


On Friday 05 January 2007 13:03, Francois Gouget wrote:

> And RtlNtStatusToDosError() converts STATUS_NO_MEDIA_IN_DEVICE to 
> ERROR_NOT_READY. So GetLastError() cannot return 
> STATUS_NO_MEDIA_IN_DEVICE. Or did I miss something? Maybe the right 
> thing would be to check the return value of DeviceIoControl() rather 
> than GetLastError()?

Maybe it should call NtDeviceIoControlFile() instead of DeviceIoControl()?

 -Hans



More information about the wine-devel mailing list