Alexander Morozov : ntoskrnl.exe: Improve KeInitializeTimerEx stub.

Alexandre Julliard julliard at winehq.org
Mon Jul 9 16:00:34 CDT 2018


Module: wine
Branch: master
Commit: 7df543438a90ca6f740609eba8c3270beb7cf121
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7df543438a90ca6f740609eba8c3270beb7cf121

Author: Alexander Morozov <amorozov at etersoft.ru>
Date:   Mon Jul  9 01:07:02 2018 +0000

ntoskrnl.exe: Improve KeInitializeTimerEx stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntoskrnl.exe/ntoskrnl.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index c8f9173..41f3862 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1923,6 +1923,9 @@ void WINAPI KeInitializeSpinLock( PKSPIN_LOCK SpinLock )
 void WINAPI KeInitializeTimerEx( PKTIMER Timer, TIMER_TYPE Type )
 {
     FIXME( "stub: %p %d\n", Timer, Type );
+
+    RtlZeroMemory(Timer, sizeof(KTIMER));
+    Timer->Header.Type = Type ? 9 : 8;
 }
 
 




More information about the wine-cvs mailing list