msvcr110: Implement __crtGetShowWindowMode.

This commit is contained in:
Austin English 2013-04-30 15:43:15 -07:00 committed by Alexandre Julliard
parent 991e8467c7
commit c649d8746d
2 changed files with 16 additions and 1 deletions

View File

@ -23,6 +23,9 @@
#include "stdlib.h"
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
/*********************************************************************
* DllMain (MSVCR110.@)
@ -47,3 +50,15 @@ LPTOP_LEVEL_EXCEPTION_FILTER CDECL MSVCR110__crtSetUnhandledExceptionFilter(LPTO
{
return SetUnhandledExceptionFilter(filter);
}
/*********************************************************************
* __crtGetShowWindowMode (MSVCR110.@)
*/
int CDECL MSVCR110__crtGetShowWindowMode(void)
{
STARTUPINFOW si;
GetStartupInfoW(&si);
TRACE("window=%d\n", si.wShowWindow);
return si.wShowWindow;
}

View File

@ -918,7 +918,7 @@
@ stub -arch=i386,win64 __crtFlsSetValue
@ stub -arch=i386,win64 __crtGetDateFormatEx
@ stub -arch=i386,win64 __crtGetLocaleInfoEx
@ stub __crtGetShowWindowMode
@ cdecl __crtGetShowWindowMode() MSVCR110__crtGetShowWindowMode
@ stub -arch=i386,win64 __crtGetTimeFormatEx
@ stub -arch=i386,win64 __crtGetUserDefaultLocaleName
@ stub -arch=i386,win64 __crtInitializeCriticalSectionEx