ntoskrnl.exe: Add ExSetTimerResolution stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46762
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2019-03-11 16:56:18 +01:00 committed by Alexandre Julliard
parent 199b5d2ca2
commit 66c321a4b8
3 changed files with 11 additions and 1 deletions

View File

@ -4197,3 +4197,12 @@ NTSTATUS WINAPI ExUuidCreate(UUID *uuid)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
/***********************************************************************
* ExSetTimerResolution (NTOSKRNL.EXE.@)
*/
ULONG WINAPI ExSetTimerResolution(ULONG time, BOOLEAN set_resolution)
{
FIXME("stub: %u %d\n", time, set_resolution);
return KeQueryTimeIncrement();
}

View File

@ -181,7 +181,7 @@
@ stdcall ExReleaseResourceForThreadLite(ptr long) @ stdcall ExReleaseResourceForThreadLite(ptr long)
@ extern ExSemaphoreObjectType @ extern ExSemaphoreObjectType
@ stub ExSetResourceOwnerPointer @ stub ExSetResourceOwnerPointer
@ stub ExSetTimerResolution @ stdcall ExSetTimerResolution(long long)
@ stub ExSystemExceptionFilter @ stub ExSystemExceptionFilter
@ stdcall ExSystemTimeToLocalTime(ptr ptr) RtlSystemTimeToLocalTime @ stdcall ExSystemTimeToLocalTime(ptr ptr) RtlSystemTimeToLocalTime
@ stub ExUnregisterCallback @ stub ExUnregisterCallback

View File

@ -1473,6 +1473,7 @@ PSLIST_ENTRY WINAPI ExInterlockedPopEntrySList(PSLIST_HEADER,PKSPIN_LOCK);
PSLIST_ENTRY WINAPI ExInterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY,PKSPIN_LOCK); PSLIST_ENTRY WINAPI ExInterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY,PKSPIN_LOCK);
LIST_ENTRY * WINAPI ExInterlockedRemoveHeadList(LIST_ENTRY*,KSPIN_LOCK*); LIST_ENTRY * WINAPI ExInterlockedRemoveHeadList(LIST_ENTRY*,KSPIN_LOCK*);
void WINAPI ExReleaseFastMutexUnsafe(PFAST_MUTEX); void WINAPI ExReleaseFastMutexUnsafe(PFAST_MUTEX);
ULONG WINAPI ExSetTimerResolution(ULONG,BOOLEAN);
void WINAPI IoAcquireCancelSpinLock(KIRQL*); void WINAPI IoAcquireCancelSpinLock(KIRQL*);
NTSTATUS WINAPI IoAllocateDriverObjectExtension(PDRIVER_OBJECT,PVOID,ULONG,PVOID*); NTSTATUS WINAPI IoAllocateDriverObjectExtension(PDRIVER_OBJECT,PVOID,ULONG,PVOID*);