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

This commit is contained in:
Uwe Bonnes 1999-10-24 20:42:39 +00:00 committed by Alexandre Julliard
parent 6111ee6186
commit 7361916dd3

View file

@ -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);
}