msvcr110: Fix __crtGetShowWindowMode implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46928 Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7cf3edcdc8
commit
b353ad7db8
|
@ -26,6 +26,7 @@
|
|||
#include "msvcrt.h"
|
||||
#include "wine/debug.h"
|
||||
#include "ntsecapi.h"
|
||||
#include "windows.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
|
||||
|
||||
|
@ -517,8 +518,8 @@ int CDECL MSVCR110__crtGetShowWindowMode(void)
|
|||
STARTUPINFOW si;
|
||||
|
||||
GetStartupInfoW(&si);
|
||||
TRACE("window=%d\n", si.wShowWindow);
|
||||
return si.wShowWindow;
|
||||
TRACE("flags=%x window=%d\n", si.dwFlags, si.wShowWindow);
|
||||
return si.dwFlags & STARTF_USESHOWWINDOW ? si.wShowWindow : SW_SHOWDEFAULT;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
|
Loading…
Reference in New Issue