reactos/sdk/include
Hermès Bélusca-Maïto db089c517e
[PSDK] Remove a buggy GNU-specific "PACKED" attribute in KEY_EVENT_RECORD structure declaration. (#3619)
CORE-17545

No other public header out there (in MS PSDK, MinGW, Wine, etc...) does have
this hack (that was introduced back in the days in r15141 / commit 01df92bc).

Add static assert on KEY_EVENT_RECORD's uChar member to ensure it's properly aligned.

May fix Clang warning:

win32ss/user/winsrv/consrv/lineinput.c:457:62: warning: taking address of packed member 'uChar' of class or structure '_KEY_EVENT_RECORD' may result in an unaligned pointer value [-Waddress-of-packed-member]
            LineInputEdit(Console, (Overstrike ? 1 : 0), 1, &KeyEvent->uChar.UnicodeChar);
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
and whatnot...
2021-05-05 17:24:12 +02:00
..
asm [SDK] Use GAS SEH capabilities instead of CFI 2021-04-28 13:10:23 +02:00
c++ [SDK] Implement std::vector.data() 2019-11-18 23:50:33 +01:00
crt [CRT] Do not define builtin functions if not needed 2021-05-03 22:00:57 +02:00
ddk [SDK:DDK] Implement the Auxiliary Kernel-Mode Library 2021-03-10 16:43:59 +03:00
dxsdk [WINESYNC] d3dx9_*: Add D3DXSHProjectCubeMap stub 2021-02-04 16:37:07 +01:00
GL
host [SDK] Fix definition of IMAGE_NT_HEADERS64 in host tools 2021-04-28 13:10:23 +02:00
ndk [NTOS:MM] First shot for Working Set list support 2021-05-04 12:02:41 +02:00
psdk [PSDK] Remove a buggy GNU-specific "PACKED" attribute in KEY_EVENT_RECORD structure declaration. (#3619) 2021-05-05 17:24:12 +02:00
reactos [PSEH] Add implementation for GCC amd64 2021-04-28 13:10:23 +02:00
wdf/kmdf/1.17 [KMDF] Make KMDF headers compatible with our SDK and compilers 2020-11-03 00:06:25 +03:00
xdk [KERNEL32] Sync NLS RC files with wine 6.7 2021-05-03 22:00:57 +02:00