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

This commit is contained in:
Sebastian Lackner 2015-03-23 14:12:38 +01:00 committed by Alexandre Julliard
parent 74cda79ac3
commit 5e5adcffb5

View File

@ -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;