don't kill the destktop
Ferenc Wagner
wferi at afavant.elte.hu
Mon Aug 16 13:13:55 CDT 2004
ChangeLog: The desktop process is not automatically
restarted under Win95, so stop killing it.
Feri.
Index: dlls/user/tests/win.c
===================================================================
RCS file: /home/wine/wine/dlls/user/tests/win.c,v
retrieving revision 1.31
diff -u -r1.31 win.c
--- dlls/user/tests/win.c 9 Aug 2004 19:49:12 -0000 1.31
+++ dlls/user/tests/win.c 16 Aug 2004 18:10:41 -0000
@@ -823,14 +823,6 @@
ok(!ret, "DestroyWindow(shellWindow)\n");
/* passes on Win XP, but not on Win98
ok(error==ERROR_ACCESS_DENIED, "ERROR_ACCESS_DENIED after DestroyWindow(shellWindow)\n"); */
-
- /* close old shell instance */
- GetWindowThreadProcessId(shellWindow, &pid);
- hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid);
- ret = TerminateProcess(hProcess, 0);
- ok(ret, "termination of previous shell process failed: GetLastError()=%ld\n", GetLastError());
- WaitForSingleObject(hProcess, INFINITE); /* wait for termination */
- CloseHandle(hProcess);
}
hwnd1 = CreateWindowEx(0, TEXT("#32770"), TEXT("TEST1"), WS_OVERLAPPEDWINDOW/*|WS_VISIBLE*/, 100, 100, 300, 200, 0, 0, hinst, 0);
More information about the wine-patches
mailing list