https://git.reactos.org/?p=reactos.git;a=commitdiff;h=072965eb0a6c5dc322b0c…
commit 072965eb0a6c5dc322b0c9f2211a57e2d93291a4
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Wed Nov 22 13:10:48 2023 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Nov 22 15:46:19 2023 +0100
[PSDK] winuser.h: Enclose the OBM/OCR/OIC defines in OEMRESOURCE guard (see also
winuser.rh)
---
sdk/include/psdk/winuser.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sdk/include/psdk/winuser.h b/sdk/include/psdk/winuser.h
index 5f956a66239..3cc85d18397 100644
--- a/sdk/include/psdk/winuser.h
+++ b/sdk/include/psdk/winuser.h
@@ -627,7 +627,7 @@ extern "C" {
#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2
#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3
-#endif
+#endif /* !RC_INVOKED */
#endif /* !NORESOURCE */
@@ -1103,6 +1103,8 @@ extern "C" {
#define KEYEVENTF_UNICODE 0x00000004
#define KEYEVENTF_SCANCODE 0x00000008
#endif
+
+#ifdef OEMRESOURCE
#define OBM_TRTYPE 32732
#define OBM_LFARROWI 32734
#define OBM_RGARROWI 32735
@@ -1163,6 +1165,8 @@ extern "C" {
#define OIC_WARNING OIC_BANG
#define OIC_ERROR OIC_HAND
#define OIC_INFORMATION OIC_NOTE
+#endif /* OEMRESOURCE */
+
#define HELPINFO_MENUITEM 2
#define HELPINFO_WINDOW 1
#define MSGF_DIALOGBOX 0