[3/3] wininet: InternetErrorDlg should return ERROR_NOT_SUPPORTED if error is not supported
Alexander Morozov
amorozov at etersoft.ru
Thu Jun 26 03:43:20 CDT 2008
Changelog:
InternetErrorDlg should return ERROR_NOT_SUPPORTED if error is not supported
-------------- next part --------------
From 2749b1d6309fe71709d14f0e436e119fe85f1766 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov at builder.office.etersoft.ru>
Date: Thu, 26 Jun 2008 12:32:06 +0400
Subject: [PATCH] wininet: InternetErrorDlg should return ERROR_NOT_SUPPORTED if error is not supported
---
dlls/wininet/dialogs.c | 2 +-
dlls/wininet/tests/dialogs.c | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/wininet/dialogs.c b/dlls/wininet/dialogs.c
index cf6ee5c..1ea9b9c 100644
--- a/dlls/wininet/dialogs.c
+++ b/dlls/wininet/dialogs.c
@@ -385,5 +385,5 @@ DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
FIXME("Need to display dialog for error %d\n", dwError);
return ERROR_SUCCESS;
}
- return ERROR_INVALID_PARAMETER;
+ return ERROR_NOT_SUPPORTED;
}
diff --git a/dlls/wininet/tests/dialogs.c b/dlls/wininet/tests/dialogs.c
index 088ba01..168053f 100644
--- a/dlls/wininet/tests/dialogs.c
+++ b/dlls/wininet/tests/dialogs.c
@@ -66,7 +66,6 @@ static void test_InternetErrorDlg(void)
ret = InternetErrorDlg(GetDesktopWindow(), hr,
ERROR_FILE_NOT_FOUND, 0, NULL);
- todo_wine
ok(ret == ERROR_NOT_SUPPORTED, "InternetErrorDlg failed\n");
end_thread = 0;
--
1.5.4.5.GIT
More information about the wine-patches
mailing list