Commit 38eb9a71 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

winspool/tests: Remove the check for unimplemented functions.

parent f0a62dd6
......@@ -119,7 +119,6 @@ static struct monitor_entry * find_installed_monitor(void)
{
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_installed_monitor(void)
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);
......
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