Nikolay Sivov : msvcp140: Added __crtCreateEventExW().

Alexandre Julliard julliard at winehq.org
Tue Aug 9 11:11:04 CDT 2016


Module: wine
Branch: master
Commit: 1b8eb25ff293660b46a10b431256d745aa9e710a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1b8eb25ff293660b46a10b431256d745aa9e710a

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Aug  7 12:22:15 2016 +0300

msvcp140: Added __crtCreateEventExW().

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 fedb05f..f4fdc8a 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 322e937..71a664e 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__




More information about the wine-cvs mailing list