msvcp140: Add __crtSetThreadpoolWait implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2017-03-10 17:33:51 +01:00 committed by Alexandre Julliard
parent d0c398a56c
commit 10266f5bf5
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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@std@@YAHAAUonce_flag@1@P6GHPAX1PAPAX@Z1@Z */
/* ?_Execute_once@std@@YAHAEAUonce_flag@1@P6AHPEAX1PEAPEAX@Z1@Z */
BOOL __cdecl _Execute_once(INIT_ONCE *flag, PINIT_ONCE_FN func, void *param)