Commit ba985742 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

ntoskrnl.exe: Add KeSetTimer() function.

parent e49be2db
...@@ -642,7 +642,7 @@ ...@@ -642,7 +642,7 @@
@ stdcall KeSetSystemAffinityThreadEx(long) @ stdcall KeSetSystemAffinityThreadEx(long)
@ stdcall KeSetTargetProcessorDpc(ptr long) @ stdcall KeSetTargetProcessorDpc(ptr long)
@ stub KeSetTimeIncrement @ stub KeSetTimeIncrement
@ stub KeSetTimer @ stdcall KeSetTimer(ptr int64 ptr)
@ stdcall KeSetTimerEx(ptr int64 long ptr) @ stdcall KeSetTimerEx(ptr int64 long ptr)
@ stub KeStackAttachProcess @ stub KeStackAttachProcess
@ stub KeSynchronizeExecution @ stub KeSynchronizeExecution
......
...@@ -1258,3 +1258,10 @@ void WINAPI IoReleaseRemoveLockAndWaitEx( IO_REMOVE_LOCK *lock, void *tag, ULONG ...@@ -1258,3 +1258,10 @@ void WINAPI IoReleaseRemoveLockAndWaitEx( IO_REMOVE_LOCK *lock, void *tag, ULONG
else if (count > 0) else if (count > 0)
KeWaitForSingleObject( &lock->Common.RemoveEvent, Executive, KernelMode, FALSE, NULL ); 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);
}
...@@ -1720,6 +1720,7 @@ LONG WINAPI KeSetEvent(PRKEVENT,KPRIORITY,BOOLEAN); ...@@ -1720,6 +1720,7 @@ LONG WINAPI KeSetEvent(PRKEVENT,KPRIORITY,BOOLEAN);
KPRIORITY WINAPI KeSetPriorityThread(PKTHREAD,KPRIORITY); KPRIORITY WINAPI KeSetPriorityThread(PKTHREAD,KPRIORITY);
void WINAPI KeSetSystemAffinityThread(KAFFINITY); void WINAPI KeSetSystemAffinityThread(KAFFINITY);
KAFFINITY WINAPI KeSetSystemAffinityThreadEx(KAFFINITY affinity); KAFFINITY WINAPI KeSetSystemAffinityThreadEx(KAFFINITY affinity);
BOOLEAN WINAPI KeSetTimer(KTIMER*,LARGE_INTEGER,KDPC*);
BOOLEAN WINAPI KeSetTimerEx(KTIMER*,LARGE_INTEGER,LONG,KDPC*); BOOLEAN WINAPI KeSetTimerEx(KTIMER*,LARGE_INTEGER,LONG,KDPC*);
void WINAPI KeSignalCallDpcDone(void*); void WINAPI KeSignalCallDpcDone(void*);
BOOLEAN WINAPI KeSignalCallDpcSynchronize(void*); BOOLEAN WINAPI KeSignalCallDpcSynchronize(void*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment