mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 10:46:58 +00:00
[NTUSER][INCLUDE] Add IMC offset info (#4439)
Add C_ASSERT assertions on the offsets of the members of IMC structure. CORE-11700
This commit is contained in:
parent
04eca8e2b2
commit
de38e3be61
1 changed files with 9 additions and 0 deletions
|
@ -195,6 +195,15 @@ typedef struct tagIMC
|
|||
HWND hImeWnd;
|
||||
} IMC, *PIMC;
|
||||
|
||||
#ifndef _WIN64
|
||||
C_ASSERT(offsetof(IMC, head.h) == 0x0);
|
||||
C_ASSERT(offsetof(IMC, head.cLockObj) == 0x4);
|
||||
C_ASSERT(offsetof(IMC, head.pti) == 0x8);
|
||||
C_ASSERT(offsetof(IMC, pImcNext) == 0x14);
|
||||
C_ASSERT(offsetof(IMC, dwClientImcData) == 0x18);
|
||||
C_ASSERT(offsetof(IMC, hImeWnd) == 0x1c);
|
||||
#endif
|
||||
|
||||
typedef struct _PROCDESKHEAD
|
||||
{
|
||||
HEAD;
|
||||
|
|
Loading…
Reference in a new issue