From 7361916dd392b4cf82b3f29cab43f058c48afae0 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 24 Oct 1999 20:42:39 +0000 Subject: [PATCH] Warn users to use -the -desktop option together with the native user DLLs. --- windows/win.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/windows/win.c b/windows/win.c index 9e219e5d17d..c5d910d212d 100644 --- a/windows/win.c +++ b/windows/win.c @@ -1686,7 +1686,9 @@ HWND16 WINAPI GetDesktopWindow16(void) */ HWND WINAPI GetDesktopWindow(void) { - return pWndDesktop->hwndSelf; + if (pWndDesktop) return pWndDesktop->hwndSelf; + ERR_(win)( "You need the -desktop option when running with native USER\n" ); + ExitProcess(1); } -- 2.11.4.GIT