From 1b8eb25ff293660b46a10b431256d745aa9e710a Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 7 Aug 2016 12:22:15 +0300 Subject: [PATCH] msvcp140: Added __crtCreateEventExW(). Signed-off-by: Nikolay Sivov Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/msvcp140/msvcp140.spec | 2 +- dlls/msvcp90/misc.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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__