diff --git a/dlls/msvcp140/msvcp140.spec b/dlls/msvcp140/msvcp140.spec index 1e8f85fe216..922aa9ea6f5 100644 --- a/dlls/msvcp140/msvcp140.spec +++ b/dlls/msvcp140/msvcp140.spec @@ -3770,7 +3770,7 @@ @ stub __crtGetSystemTimePreciseAsFileTime @ stub __crtGetTickCount64 @ stub __crtInitOnceExecuteOnce -@ stub __crtInitializeCriticalSectionEx +@ cdecl __crtInitializeCriticalSectionEx(ptr long long) MSVCP__crtInitializeCriticalSectionEx @ stub __crtIsPackagedApp @ cdecl __crtLCMapStringA(long long str long ptr long long long) msvcrt.__crtLCMapStringA @ stub __crtLCMapStringEx diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c index 81a5fbb7d87..2037e699d3c 100644 --- a/dlls/msvcp90/misc.c +++ b/dlls/msvcp90/misc.c @@ -1066,6 +1066,16 @@ void __asm_dummy_vtables(void) { } #endif +/********************************************************************* + * __crtInitializeCriticalSectionEx (MSVCP140.@) + */ +BOOL CDECL MSVCP__crtInitializeCriticalSectionEx( + CRITICAL_SECTION *cs, DWORD spin_count, DWORD flags) +{ + TRACE("(%p %x %x)\n", cs, spin_count, flags); + return InitializeCriticalSectionEx(cs, spin_count, flags); +} + void init_misc(void *base) { #ifdef __x86_64__