msvcp140: Add __crtWaitForThreadpoolTimerCallbacks.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Daniel Lehman 2017-03-31 14:07:03 -07:00 committed by Alexandre Julliard
parent 8104282988
commit 5fb502b06e
3 changed files with 11 additions and 1 deletions

View File

@ -3778,6 +3778,6 @@
@ stub __crtSetFileInformationByHandle
@ cdecl __crtSetThreadpoolTimer(ptr ptr long long) MSVCP__crtSetThreadpoolTimer
@ cdecl __crtSetThreadpoolWait(ptr long ptr) MSVCP__crtSetThreadpoolWait
@ stub __crtWaitForThreadpoolTimerCallbacks
@ cdecl __crtWaitForThreadpoolTimerCallbacks(ptr long) MSVCP__crtWaitForThreadpoolTimerCallbacks
@ stub __set_stl_sync_api_mode
@ cdecl xtime_get(ptr long) xtime_get

View File

@ -1295,6 +1295,15 @@ VOID CDECL MSVCP__crtSetThreadpoolTimer(TP_TIMER *timer,
return SetThreadpoolTimer(timer, due_time, period, window_length);
}
/*********************************************************************
* __crtWaitForThreadpoolTimerCallbacks (MSVCP140.@)
*/
VOID CDECL MSVCP__crtWaitForThreadpoolTimerCallbacks(TP_TIMER *timer, BOOL cancel)
{
TRACE("(%p %d)\n", timer, cancel);
WaitForThreadpoolTimerCallbacks(timer, cancel);
}
/*********************************************************************
* __crtCreateThreadpoolWait (MSVCP140.@)
*/

View File

@ -2636,6 +2636,7 @@ WINBASEAPI DWORD WINAPI WaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DW
WINBASEAPI DWORD WINAPI WaitForMultipleObjectsEx(DWORD,const HANDLE*,BOOL,DWORD,BOOL);
WINBASEAPI DWORD WINAPI WaitForSingleObject(HANDLE,DWORD);
WINBASEAPI DWORD WINAPI WaitForSingleObjectEx(HANDLE,DWORD,BOOL);
WINBASEAPI VOID WINAPI WaitForThreadpoolTimerCallbacks(PTP_TIMER,BOOL);
WINBASEAPI BOOL WINAPI WaitNamedPipeA(LPCSTR,DWORD);
WINBASEAPI BOOL WINAPI WaitNamedPipeW(LPCWSTR,DWORD);
#define WaitNamedPipe WINELIB_NAME_AW(WaitNamedPipe)