https://git.reactos.org/?p=reactos.git;a=commitdiff;h=26caef23362f33ef753a4…
commit 26caef23362f33ef753a444696ef6e41c7146ee7
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Oct 15 08:13:22 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sat Oct 15 08:13:22 2022 +0900
[INCLUDE] immdev.h: Adapt INPUTCONTEXTDX to C++
CORE-11700
---
sdk/include/ddk/immdev.h | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/sdk/include/ddk/immdev.h b/sdk/include/ddk/immdev.h
index a239dcda3ec..619ac609367 100644
--- a/sdk/include/ddk/immdev.h
+++ b/sdk/include/ddk/immdev.h
@@ -117,9 +117,15 @@ C_ASSERT(sizeof(INPUTCONTEXT) == 0x140);
struct IME_STATE;
-typedef struct INPUTCONTEXTDX /* unconfirmed */
+/* unconfirmed */
+#ifdef __cplusplus
+typedef struct INPUTCONTEXTDX : INPUTCONTEXT
+{
+#else
+typedef struct INPUTCONTEXTDX
{
INPUTCONTEXT;
+#endif
UINT nVKey;
BOOL bNeedsTrans;
DWORD dwUnknown1;
@@ -128,7 +134,7 @@ typedef struct INPUTCONTEXTDX /* unconfirmed */
struct IME_STATE *pState;
DWORD dwChange;
DWORD dwUnknown5;
-} INPUTCONTEXTDX, *LPINPUTCONTEXTDX;
+} INPUTCONTEXTDX, *PINPUTCONTEXTDX, *LPINPUTCONTEXTDX;
#ifndef _WIN64
C_ASSERT(offsetof(INPUTCONTEXTDX, nVKey) == 0x140);