Detlef Riekenberg : winspool/tests: Remove the check for unimplemented functions.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jun 2 04:55:55 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 38eb9a71aed44b46804b56389bc7ab5b914449da
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=38eb9a71aed44b46804b56389bc7ab5b914449da

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Fri Jun  2 00:35:47 2006 +0200

winspool/tests: Remove the check for unimplemented functions.

---

 dlls/winspool.drv/tests/info.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index 09a1a16..57d301a 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -119,7 +119,6 @@ static struct monitor_entry * find_insta
 {
     MONITOR_INFO_2A mi2a; 
     static struct  monitor_entry * entry = NULL;
-    DWORD   res;
     DWORD   num_tests;
     DWORD   i = 0;
 
@@ -145,20 +144,6 @@ static struct monitor_entry * find_insta
 
     num_tests = (sizeof(monitor_table)/sizeof(struct monitor_entry));
 
-    SetLastError(MAGIC_DEAD);
-    res = DeleteMonitorA(NULL, NULL, NULL);
-    if (!res && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)) {
-        trace("DeleteMonitorA() not implemented yet\n");
-        return NULL;
-    }
-
-    SetLastError(MAGIC_DEAD);
-    res = AddMonitorA(NULL, 0, NULL);
-    if (!res && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)) {
-        trace("AddMonitorA() not implemented yet\n");
-        return NULL;
-    }
-
     /* cleanup */
     DeleteMonitorA(NULL, env_x86, winetest_monitor);
     DeleteMonitorA(NULL, env_win9x_case, winetest_monitor);




More information about the wine-cvs mailing list