https://git.reactos.org/?p=reactos.git;a=commitdiff;h=66909fa9d550ce11572b3…
commit 66909fa9d550ce11572b348b65579da328a5a678
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Nov 24 21:26:26 2019 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Nov 25 00:41:53 2019 +0100
[VIDEOPRT] Implement VideoPortReadStateEvent().
---
win32ss/drivers/videoprt/event.c | 13 +++++++++++++
win32ss/drivers/videoprt/stubs.c | 10 ----------
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/win32ss/drivers/videoprt/event.c b/win32ss/drivers/videoprt/event.c
index 77f48817676..85e4d8b8c60 100644
--- a/win32ss/drivers/videoprt/event.c
+++ b/win32ss/drivers/videoprt/event.c
@@ -110,6 +110,19 @@ VideoPortClearEvent(
KeClearEvent(Event->pKEvent);
}
+/*
+ * @implemented
+ */
+LONG
+NTAPI
+VideoPortReadStateEvent(
+ _In_ PVOID HwDeviceExtension,
+ _In_ PEVENT Event)
+{
+ ASSERT(Event);
+ return KeReadStateEvent(Event->pKEvent);
+}
+
/*
* @implemented
*/
diff --git a/win32ss/drivers/videoprt/stubs.c b/win32ss/drivers/videoprt/stubs.c
index 5aa47a49dc2..ff1ba6c1ac9 100644
--- a/win32ss/drivers/videoprt/stubs.c
+++ b/win32ss/drivers/videoprt/stubs.c
@@ -63,16 +63,6 @@ VideoPortGetMdl(
return 0;
}
-LONG
-NTAPI
-VideoPortReadStateEvent(
- IN PVOID HwDeviceExtension,
- IN PEVENT pEvent)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
VOID
NTAPI
VideoPortSetBytesUsed(