Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46762 Signed-off-by: Gijs Vermeulen gijsvrm@gmail.com --- dlls/ntoskrnl.exe/ntoskrnl.c | 9 +++++++++ dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +- include/ddk/wdm.h | 1 + 3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index caeb89b870..672e9321f6 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -4169,3 +4169,12 @@ NTSTATUS WINAPI ExUuidCreate(UUID *uuid)
return STATUS_SUCCESS; } + +/*********************************************************************** + * ExSetTimerResolution (NTOSKRNL.EXE.@) + */ +ULONG WINAPI ExSetTimerResolution(ULONG time, BOOLEAN set_resolution) +{ + FIXME("stub: %u %d\n", time, set_resolution); + return KeQueryTimeIncrement(); +} diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index dbe381f2da..da16bc2e2a 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -181,7 +181,7 @@ @ stdcall ExReleaseResourceForThreadLite(ptr long) @ extern ExSemaphoreObjectType @ stub ExSetResourceOwnerPointer -@ stub ExSetTimerResolution +@ stdcall ExSetTimerResolution(long long) @ stub ExSystemExceptionFilter @ stdcall ExSystemTimeToLocalTime(ptr ptr) RtlSystemTimeToLocalTime @ stub ExUnregisterCallback diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h index 53e064fdd1..02c1bf3f20 100644 --- a/include/ddk/wdm.h +++ b/include/ddk/wdm.h @@ -1473,6 +1473,7 @@ PSLIST_ENTRY WINAPI ExInterlockedPopEntrySList(PSLIST_HEADER,PKSPIN_LOCK); PSLIST_ENTRY WINAPI ExInterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY,PKSPIN_LOCK); LIST_ENTRY * WINAPI ExInterlockedRemoveHeadList(LIST_ENTRY*,KSPIN_LOCK*); void WINAPI ExReleaseFastMutexUnsafe(PFAST_MUTEX); +ULONG WINAPI ExSetTimerResolution(ULONG,BOOLEAN);
void WINAPI IoAcquireCancelSpinLock(KIRQL*); NTSTATUS WINAPI IoAllocateDriverObjectExtension(PDRIVER_OBJECT,PVOID,ULONG,PVOID*);