ntoskrnl.exe: Add a stub implementation of KeInitializeTimer.

This commit is contained in:
James Hawkins 2007-06-18 14:19:09 -07:00 committed by Alexandre Julliard
parent c46cacc816
commit fbbd91544f
3 changed files with 18 additions and 1 deletions

View File

@ -418,6 +418,15 @@ void WINAPI ExFreePoolWithTag( void *ptr, ULONG tag )
} }
/***********************************************************************
* KeInitializeTimer (NTOSKRNL.EXE.@)
*/
void WINAPI KeInitializeTimer( PKTIMER Timer )
{
FIXME("%p\n", Timer);
}
/*********************************************************************** /***********************************************************************
* KeQuerySystemTime (NTOSKRNL.EXE.@) * KeQuerySystemTime (NTOSKRNL.EXE.@)
*/ */

View File

@ -553,7 +553,7 @@
@ stub KeInitializeQueue @ stub KeInitializeQueue
@ stub KeInitializeSemaphore @ stub KeInitializeSemaphore
@ stub KeInitializeSpinLock @ stub KeInitializeSpinLock
@ stub KeInitializeTimer @ stdcall KeInitializeTimer(ptr)
@ stub KeInitializeTimerEx @ stub KeInitializeTimerEx
@ stub KeInsertByKeyDeviceQueue @ stub KeInsertByKeyDeviceQueue
@ stub KeInsertDeviceQueue @ stub KeInsertDeviceQueue

View File

@ -780,6 +780,14 @@ typedef struct _MDL {
ULONG ByteOffset; ULONG ByteOffset;
} MDL, *PMDL; } MDL, *PMDL;
typedef struct _KTIMER {
DISPATCHER_HEADER Header;
ULARGE_INTEGER DueTime;
LIST_ENTRY TimerListEntry;
struct _KDPC *Dpc;
LONG Period;
} KTIMER, *PKTIMER;
typedef struct _KSYSTEM_TIME { typedef struct _KSYSTEM_TIME {
ULONG LowPart; ULONG LowPart;
LONG High1Time; LONG High1Time;