diff --git a/dlls/msvcp140/msvcp140.spec b/dlls/msvcp140/msvcp140.spec index fedb05fb88a..f4fdc8a1836 100644 --- a/dlls/msvcp140/msvcp140.spec +++ b/dlls/msvcp140/msvcp140.spec @@ -3757,7 +3757,7 @@ @ cdecl __crtCompareStringA(long long str long str long) msvcrt.__crtCompareStringA @ stub __crtCompareStringEx @ cdecl __crtCompareStringW(long long wstr long wstr long) msvcrt.__crtCompareStringW -@ stub __crtCreateEventExW +@ cdecl __crtCreateEventExW(ptr wstr long long) MSVCP__crtCreateEventExW @ stub __crtCreateSemaphoreExW @ stub __crtCreateSymbolicLinkW @ stub __crtCreateThreadpoolTimer diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c index 322e937719c..71a664e45d1 100644 --- a/dlls/msvcp90/misc.c +++ b/dlls/msvcp90/misc.c @@ -1122,6 +1122,16 @@ BOOL CDECL MSVCP__crtInitializeCriticalSectionEx( return InitializeCriticalSectionEx(cs, spin_count, flags); } +/********************************************************************* + * __crtCreateEventExW (MSVCP140.@) + */ +HANDLE CDECL MSVCP__crtCreateEventExW( + SECURITY_ATTRIBUTES *attribs, LPCWSTR name, DWORD flags, DWORD access) +{ + TRACE("(%p %s 0x%08x 0x%08x)\n", attribs, debugstr_w(name), flags, access); + return CreateEventExW(attribs, name, flags, access); +} + void init_misc(void *base) { #ifdef __x86_64__