ntoskrnl.exe: Add KeSetTimer() function.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Paul Gofman 2020-05-28 12:15:15 +03:00 committed by Alexandre Julliard
parent e49be2db28
commit ba98574207
3 changed files with 9 additions and 1 deletions

View File

@ -642,7 +642,7 @@
@ stdcall KeSetSystemAffinityThreadEx(long)
@ stdcall KeSetTargetProcessorDpc(ptr long)
@ stub KeSetTimeIncrement
@ stub KeSetTimer
@ stdcall KeSetTimer(ptr int64 ptr)
@ stdcall KeSetTimerEx(ptr int64 long ptr)
@ stub KeStackAttachProcess
@ stub KeSynchronizeExecution

View File

@ -1258,3 +1258,10 @@ void WINAPI IoReleaseRemoveLockAndWaitEx( IO_REMOVE_LOCK *lock, void *tag, ULONG
else if (count > 0)
KeWaitForSingleObject( &lock->Common.RemoveEvent, Executive, KernelMode, FALSE, NULL );
}
BOOLEAN WINAPI KeSetTimer(KTIMER *timer, LARGE_INTEGER duetime, KDPC *dpc)
{
TRACE("timer %p, duetime %I64x, dpc %p.\n", timer, duetime.QuadPart, dpc);
return KeSetTimerEx(timer, duetime, 0, dpc);
}

View File

@ -1720,6 +1720,7 @@ LONG WINAPI KeSetEvent(PRKEVENT,KPRIORITY,BOOLEAN);
KPRIORITY WINAPI KeSetPriorityThread(PKTHREAD,KPRIORITY);
void WINAPI KeSetSystemAffinityThread(KAFFINITY);
KAFFINITY WINAPI KeSetSystemAffinityThreadEx(KAFFINITY affinity);
BOOLEAN WINAPI KeSetTimer(KTIMER*,LARGE_INTEGER,KDPC*);
BOOLEAN WINAPI KeSetTimerEx(KTIMER*,LARGE_INTEGER,LONG,KDPC*);
void WINAPI KeSignalCallDpcDone(void*);
BOOLEAN WINAPI KeSignalCallDpcSynchronize(void*);