[Wine-devel] wininet: InternetErrorDlg should return ERROR_NOT_SUPPORTED if error is not supported
Alexander Morozov
=?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Июн 25 19:41:29 MSD 2008
----------- следующая часть -----------
From b89937296efd5a45772027f07b2fdbf80b5f480d Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на builder.office.etersoft.ru>
Date: Wed, 25 Jun 2008 19:07:34 +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
Подробная информация о списке рассылки Wine-devel