Daniel Lehman : msvcp140: Add __crtCloseThreadpoolWait.

Alexandre Julliard julliard at winehq.org
Mon Apr 3 14:01:47 CDT 2017


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

Author: Daniel Lehman <dlehman at esri.com>
Date:   Fri Mar 31 13:57:09 2017 -0700

msvcp140: Add __crtCloseThreadpoolWait.

Signed-off-by: Daniel Lehman <dlehman at esri.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         | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/dlls/msvcp140/msvcp140.spec b/dlls/msvcp140/msvcp140.spec
index 31d437e..1b5bdcb 100644
--- a/dlls/msvcp140/msvcp140.spec
+++ b/dlls/msvcp140/msvcp140.spec
@@ -3753,7 +3753,7 @@
 @ cdecl -ret64 _Xtime_get_ticks() _Xtime_get_ticks
 @ stub __Wcrtomb_lk
 @ cdecl __crtCloseThreadpoolTimer(ptr) MSVCP__crtCloseThreadpoolTimer
-@ stub __crtCloseThreadpoolWait
+@ cdecl __crtCloseThreadpoolWait(ptr) MSVCP__crtCloseThreadpoolWait
 @ cdecl __crtCompareStringA(long long str long str long) msvcrt.__crtCompareStringA
 @ stub __crtCompareStringEx
 @ cdecl __crtCompareStringW(long long wstr long wstr long) msvcrt.__crtCompareStringW
diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c
index 1098cb7..ac23c2b 100644
--- a/dlls/msvcp90/misc.c
+++ b/dlls/msvcp90/misc.c
@@ -1306,6 +1306,15 @@ PTP_WAIT CDECL MSVCP__crtCreateThreadpoolWait(PTP_WAIT_CALLBACK callback,
 }
 
 /*********************************************************************
+ *  __crtCloseThreadpoolWait (MSVCP140.@)
+ */
+VOID CDECL MSVCP__crtCloseThreadpoolWait(TP_WAIT *wait)
+{
+    TRACE("(%p)\n", wait);
+    CloseThreadpoolWait(wait);
+}
+
+/*********************************************************************
  *  __crtSetThreadpoolWait (MSVCP140.@)
  */
 VOID CDECL MSVCP__crtSetThreadpoolWait(TP_WAIT *wait, HANDLE handle, FILETIME *due_time)




More information about the wine-cvs mailing list