kernel32: Add StartThreadpoolIo() stub.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-02-12 12:05:29 +03:00 committed by Alexandre Julliard
parent ad5257b3b6
commit 480d8b8253
6 changed files with 13 additions and 4 deletions

View File

@ -32,7 +32,7 @@
@ stdcall SetThreadpoolThreadMinimum(ptr long) kernel32.SetThreadpoolThreadMinimum
@ stdcall SetThreadpoolTimer(ptr ptr long long) kernel32.SetThreadpoolTimer
@ stdcall SetThreadpoolWait(ptr long ptr) kernel32.SetThreadpoolWait
@ stub StartThreadpoolIo
@ stdcall StartThreadpoolIo(ptr) kernel32.StartThreadpoolIo
@ stdcall SubmitThreadpoolWork(ptr) kernel32.SubmitThreadpoolWork
@ stdcall TrySubmitThreadpoolCallback(ptr ptr ptr) kernel32.TrySubmitThreadpoolCallback
@ stdcall UnregisterWaitEx(long long) kernel32.UnregisterWaitEx

View File

@ -28,7 +28,7 @@
@ stub SetThreadpoolTimerEx
@ stdcall SetThreadpoolWait(ptr long ptr) kernel32.SetThreadpoolWait
@ stub SetThreadpoolWaitEx
@ stub StartThreadpoolIo
@ stdcall StartThreadpoolIo(ptr) kernel32.StartThreadpoolIo
@ stdcall SubmitThreadpoolWork(ptr) kernel32.SubmitThreadpoolWork
@ stdcall TrySubmitThreadpoolCallback(ptr ptr ptr) kernel32.TrySubmitThreadpoolCallback
@ stub WaitForThreadpoolIoCallbacks

View File

@ -1490,7 +1490,7 @@
@ stdcall -import SleepEx(long long)
# @ stub SortCloseHandle
# @ stub SortGetHandle
# @ stub StartThreadpoolIo
@ stdcall StartThreadpoolIo(ptr) ntdll.TpStartAsyncIoOperation
@ stdcall SubmitThreadpoolWork(ptr) ntdll.TpPostWork
@ stdcall -import SuspendThread(long)
@ stdcall -import SwitchToFiber(ptr)

View File

@ -1515,7 +1515,7 @@
@ stdcall SleepConditionVariableSRW(ptr ptr long long)
@ stdcall SleepEx(long long)
@ stub SpecialMBToWC
@ stub StartThreadpoolIo
@ stdcall StartThreadpoolIo(ptr) ntdll.TpStartAsyncIoOperation
# @ stub StmAlignSize
# @ stub StmAllocateFlat
# @ stub StmCoalesceChunks

View File

@ -3031,3 +3031,11 @@ NTSTATUS WINAPI TpQueryPoolStackInformation( TP_POOL *pool, TP_POOL_STACK_INFORM
return STATUS_SUCCESS;
}
/***********************************************************************
* TpStartAsyncIoOperation (NTDLL.@)
*/
void WINAPI TpStartAsyncIoOperation( TP_IO *io )
{
FIXME( "%p\n", io );
}

View File

@ -3028,6 +3028,7 @@ NTSYSAPI void WINAPI TpReleasePool(TP_POOL *);
NTSYSAPI void WINAPI TpReleaseTimer(TP_TIMER *);
NTSYSAPI void WINAPI TpReleaseWait(TP_WAIT *);
NTSYSAPI void WINAPI TpReleaseWork(TP_WORK *);
NTSYSAPI void WINAPI TpStartAsyncIoOperation(TP_IO *);
NTSYSAPI void WINAPI TpSetPoolMaxThreads(TP_POOL *,DWORD);
NTSYSAPI BOOL WINAPI TpSetPoolMinThreads(TP_POOL *,DWORD);
NTSYSAPI NTSTATUS WINAPI TpSetPoolStackInformation(TP_POOL *, TP_POOL_STACK_INFORMATION *stack_info);