mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
63 lines
2.1 KiB
Diff
63 lines
2.1 KiB
Diff
From c5f36ac202c20faa00fc67c9d1cdc977ce877933 Mon Sep 17 00:00:00 2001
|
|
From: Zebediah Figura <z.figura12@gmail.com>
|
|
Date: Sun, 19 Aug 2018 17:42:12 -0500
|
|
Subject: [PATCH 05/17] ntoskrnl.exe: Implement KeClearEvent().
|
|
|
|
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
|
|
---
|
|
dlls/ntoskrnl.exe/ntoskrnl.c | 8 --------
|
|
dlls/ntoskrnl.exe/sync.c | 8 ++++++++
|
|
include/ddk/wdm.h | 1 +
|
|
3 files changed, 9 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
|
|
index 99fa910..646c528 100644
|
|
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
|
|
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
|
|
@@ -3730,14 +3730,6 @@ NTSTATUS WINAPI IoCreateFile(HANDLE *handle, ACCESS_MASK access, OBJECT_ATTRIBUT
|
|
}
|
|
|
|
/***********************************************************************
|
|
- * KeClearEvent (NTOSKRNL.EXE.@)
|
|
- */
|
|
-VOID WINAPI KeClearEvent(PRKEVENT event)
|
|
-{
|
|
- FIXME("stub: %p\n", event);
|
|
-}
|
|
-
|
|
-/***********************************************************************
|
|
* KeAcquireInStackQueuedSpinLock (NTOSKRNL.EXE.@)
|
|
*/
|
|
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
|
|
diff --git a/dlls/ntoskrnl.exe/sync.c b/dlls/ntoskrnl.exe/sync.c
|
|
index f011a60..a905fb3 100644
|
|
--- a/dlls/ntoskrnl.exe/sync.c
|
|
+++ b/dlls/ntoskrnl.exe/sync.c
|
|
@@ -165,3 +165,11 @@ LONG WINAPI KeResetEvent( PRKEVENT event )
|
|
|
|
return ret;
|
|
}
|
|
+
|
|
+/***********************************************************************
|
|
+ * KeClearEvent (NTOSKRNL.EXE.@)
|
|
+ */
|
|
+void WINAPI KeClearEvent( PRKEVENT event )
|
|
+{
|
|
+ KeResetEvent( event );
|
|
+}
|
|
diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
|
|
index 350a08e..0fe73f2 100644
|
|
--- a/include/ddk/wdm.h
|
|
+++ b/include/ddk/wdm.h
|
|
@@ -1418,6 +1418,7 @@ void WINAPI IoReleaseCancelSpinLock(KIRQL);
|
|
NTSTATUS WINAPI IoSetDeviceInterfaceState(UNICODE_STRING*,BOOLEAN);
|
|
NTSTATUS WINAPI IoWMIRegistrationControl(PDEVICE_OBJECT,ULONG);
|
|
|
|
+void WINAPI KeClearEvent(PRKEVENT);
|
|
PKTHREAD WINAPI KeGetCurrentThread(void);
|
|
void WINAPI KeInitializeEvent(PRKEVENT,EVENT_TYPE,BOOLEAN);
|
|
void WINAPI KeInitializeSemaphore(PRKSEMAPHORE,LONG,LONG);
|
|
--
|
|
2.7.4
|
|
|