Commit b6d5f976 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ntdll: Update the STATUS_NO_SUCH_DEVICE error mapping.

Windows 10 >= 1909 returns ERROR_NO_SUCH_DEVICE. Signed-off-by: 's avatarFrancois Gouget <fgouget@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent a6d3d74f
......@@ -246,7 +246,7 @@ my %error_map = qw(
STATUS_INVALID_CID ERROR_INVALID_PARAMETER
STATUS_TIMER_NOT_CANCELED ERROR_TIMER_NOT_CANCELED
STATUS_INVALID_PARAMETER ERROR_INVALID_PARAMETER
STATUS_NO_SUCH_DEVICE ERROR_FILE_NOT_FOUND
STATUS_NO_SUCH_DEVICE ERROR_NO_SUCH_DEVICE
STATUS_NO_SUCH_FILE ERROR_FILE_NOT_FOUND
STATUS_INVALID_DEVICE_REQUEST ERROR_INVALID_FUNCTION
STATUS_END_OF_FILE ERROR_HANDLE_EOF
......
......@@ -247,7 +247,7 @@ static void run_error_tests(void)
cmp(STATUS_RESOURCE_TYPE_NOT_FOUND, ERROR_RESOURCE_TYPE_NOT_FOUND);
cmp(STATUS_RESOURCE_NAME_NOT_FOUND, ERROR_RESOURCE_NAME_NOT_FOUND);
cmp(STATUS_RESOURCE_LANG_NOT_FOUND, ERROR_RESOURCE_LANG_NOT_FOUND);
cmp(STATUS_NO_SUCH_DEVICE, ERROR_FILE_NOT_FOUND);
cmp3(STATUS_NO_SUCH_DEVICE, ERROR_NO_SUCH_DEVICE, ERROR_FILE_NOT_FOUND);
cmp(STATUS_NO_SUCH_FILE, ERROR_FILE_NOT_FOUND);
cmp(STATUS_INVALID_DEVICE_REQUEST, ERROR_INVALID_FUNCTION);
cmp2(STATUS_VOLUME_NOT_UPGRADED, ERROR_INVALID_FUNCTION);
......
......@@ -410,6 +410,7 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define ERROR_THREAD_MODE_NOT_BACKGROUND 401
#define ERROR_PROCESS_MODE_ALREADY_BACKGROUND 402
#define ERROR_PROCESS_MODE_NOT_BACKGROUND 403
#define ERROR_NO_SUCH_DEVICE 433
#define ERROR_PNP_QUERY_REMOVE_DEVICE_TIMEOUT 480
#define ERROR_PNP_QUERY_REMOVE_RELATED_DEVICE_TIMEOUT 481
#define ERROR_PNP_QUERY_REMOVE_UNRELATED_DEVICE_TIMEOUT 482
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment