mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 17:36:20 +00:00
Warn users to use -the -desktop option together with the native user DLLs.
This commit is contained in:
parent
6111ee6186
commit
7361916dd3
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue