53 case ERROR_INVALID_FUNCTION:
return STATUS_ILLEGAL_FUNCTION;
54 case ERROR_FILE_NOT_FOUND:
return STATUS_NO_SUCH_FILE;
55 case ERROR_ACCESS_DENIED:
return STATUS_ACCESS_DENIED;
56 case ERROR_INVALID_HANDLE:
return STATUS_INVALID_HANDLE;
57 case ERROR_HANDLE_EOF:
return STATUS_END_OF_FILE;
58 case ERROR_NOT_SUPPORTED:
return STATUS_NOT_SUPPORTED;
59 case ERROR_INVALID_PARAMETER:
return STATUS_INVALID_PARAMETER;
60 case ERROR_NOT_LOCKED:
return STATUS_NOT_LOCKED;
61 case ERROR_MORE_DATA:
return STATUS_MORE_ENTRIES;
62 case ERROR_NOACCESS:
return STATUS_ACCESS_VIOLATION;
63 case ERROR_STACK_OVERFLOW:
return STATUS_STACK_OVERFLOW;
64 case ERROR_INTERNAL_ERROR:
return STATUS_INTERNAL_ERROR;
65 default:
return NTSTATUS_FROM_WIN32(DosError);
79 case STATUS_NO_SUCH_FILE:
81 case STATUS_OBJECT_NAME_INVALID:
83 case STATUS_OBJECT_NAME_NOT_FOUND:
85 case STATUS_OBJECT_NO_LONGER_EXISTS:
87 case STATUS_OBJECT_PATH_INVALID:
89 case STATUS_OBJECT_PATH_NOT_FOUND:
91 default:
return FALSE;