Commit 7361916d authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Warn users to use -the -desktop option together with the native user DLLs.

parent 6111ee61
......@@ -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);
}
......
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