Commit 5e5adcff authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

user32: Use C_ASSERT to ensure user_thread_info fits into TEB->Win32ClientInfo.

parent 74cda79a
......@@ -189,10 +189,10 @@ struct user_thread_info
HWND top_window; /* Desktop window */
HWND msg_window; /* HWND_MESSAGE parent window */
RAWINPUT *rawinput;
ULONG pad[6]; /* Available for more data */
};
C_ASSERT( sizeof(struct user_thread_info) <= sizeof(((TEB *)0)->Win32ClientInfo) );
struct hook_extra_info
{
HHOOK handle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment