https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0ecd997bdf0aadf6a5723…
commit 0ecd997bdf0aadf6a57239dae30f65c1d28e3edc
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Sat Oct 22 14:07:13 2022 +0200
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Tue Nov 15 23:15:26 2022 +0100
[WIN32SS:NTUSER] Extract InitVideo() prototype and gbBaseVideo variable to header
---
win32ss/user/ntuser/display.h | 7 +++++++
win32ss/user/ntuser/ntuser.c | 4 ----
win32ss/win32kp.h | 1 +
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/win32ss/user/ntuser/display.h b/win32ss/user/ntuser/display.h
new file mode 100644
index 00000000000..6a020329ec6
--- /dev/null
+++ b/win32ss/user/ntuser/display.h
@@ -0,0 +1,7 @@
+#pragma once
+
+extern BOOL gbBaseVideo;
+
+NTSTATUS
+NTAPI
+InitVideo(VOID);
diff --git a/win32ss/user/ntuser/ntuser.c b/win32ss/user/ntuser/ntuser.c
index b75e7b9b41b..fd2f5f97e93 100644
--- a/win32ss/user/ntuser/ntuser.c
+++ b/win32ss/user/ntuser/ntuser.c
@@ -111,10 +111,6 @@ InitUserImpl(VOID)
return STATUS_SUCCESS;
}
-NTSTATUS
-NTAPI
-InitVideo(VOID);
-
NTSTATUS
NTAPI
UserInitialize(VOID)
diff --git a/win32ss/win32kp.h b/win32ss/win32kp.h
index 9a6ae760005..3f446574ba6 100644
--- a/win32ss/win32kp.h
+++ b/win32ss/win32kp.h
@@ -67,6 +67,7 @@ typedef struct _DC *PDC;
#include "user/ntuser/accelerator.h"
#include "user/ntuser/hook.h"
#include "user/ntuser/clipboard.h"
+#include "user/ntuser/display.h"
#include "user/ntuser/winsta.h"
#include "user/ntuser/msgqueue.h"
#include "user/ntuser/desktop.h"