Commit 02a50716 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

hal: Implement KeQueryPerformanceCounter.

parent 58bb7b39
......@@ -177,3 +177,13 @@ void WINAPI WRITE_PORT_ULONG(ULONG *port, ULONG value)
{
FIXME("(%p %d) stub!\n", port, value);
}
ULONGLONG WINAPI KeQueryPerformanceCounter(LARGE_INTEGER *frequency)
{
LARGE_INTEGER counter;
TRACE("(%p)\n", frequency);
NtQueryPerformanceCounter(&counter, frequency);
return counter.QuadPart;
}
......@@ -72,7 +72,7 @@
@ stub KeFlushWriteBuffer
@ stdcall KeGetCurrentIrql()
@ stub KeLowerIrql
@ stub KeQueryPerformanceCounter
@ stdcall -ret64 KeQueryPerformanceCounter(ptr)
@ stub KeRaiseIrql
@ stub KeRaiseIrqlToDpcLevel
@ stub KeRaiseIrqlToSynchLevel
......
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