Piotr Caban : msvcp140: Add __crtSetThreadpoolWait implementation.
Alexandre Julliard
julliard at winehq.org
Fri Mar 10 16:51:45 CST 2017
Module: wine
Branch: master
Commit: 10266f5bf5a4fb4be34e3ec94a17785ed6534f37
URL: http://source.winehq.org/git/wine.git/?a=commit;h=10266f5bf5a4fb4be34e3ec94a17785ed6534f37
Author: Piotr Caban <piotr at codeweavers.com>
Date: Fri Mar 10 17:33:51 2017 +0100
msvcp140: Add __crtSetThreadpoolWait implementation.
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 | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dlls/msvcp140/msvcp140.spec b/dlls/msvcp140/msvcp140.spec
index 054540a..2c25ccb 100644
--- a/dlls/msvcp140/msvcp140.spec
+++ b/dlls/msvcp140/msvcp140.spec
@@ -3777,7 +3777,7 @@
@ cdecl __crtLCMapStringW(long long wstr long ptr long long long) msvcrt.__crtLCMapStringW
@ stub __crtSetFileInformationByHandle
@ cdecl __crtSetThreadpoolTimer(ptr ptr long long) MSVCP__crtSetThreadpoolTimer
-@ stub __crtSetThreadpoolWait
+@ cdecl __crtSetThreadpoolWait(ptr long ptr) MSVCP__crtSetThreadpoolWait
@ stub __crtWaitForThreadpoolTimerCallbacks
@ stub __set_stl_sync_api_mode
@ cdecl xtime_get(ptr long) xtime_get
diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c
index 433153a..c0a3421 100644
--- a/dlls/msvcp90/misc.c
+++ b/dlls/msvcp90/misc.c
@@ -1296,6 +1296,15 @@ PTP_WAIT CDECL MSVCP__crtCreateThreadpoolWait(PTP_WAIT_CALLBACK callback,
return CreateThreadpoolWait(callback, userdata, environment);
}
+/*********************************************************************
+ * __crtSetThreadpoolWait (MSVCP140.@)
+ */
+VOID CDECL MSVCP__crtSetThreadpoolWait(TP_WAIT *wait, HANDLE handle, FILETIME *due_time)
+{
+ TRACE("(%p %p %p)\n", wait, handle, due_time);
+ return SetThreadpoolWait(wait, handle, due_time);
+}
+
/* ?_Execute_once at std@@YAHAAUonce_flag at 1@P6GHPAX1PAPAX at Z1@Z */
/* ?_Execute_once at std@@YAHAEAUonce_flag at 1@P6AHPEAX1PEAPEAX at Z1@Z */
BOOL __cdecl _Execute_once(INIT_ONCE *flag, PINIT_ONCE_FN func, void *param)
More information about the wine-cvs
mailing list