user32: Use C_ASSERT to ensure user_thread_info fits into TEB->Win32ClientInfo.
This commit is contained in:
parent
74cda79ac3
commit
5e5adcffb5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user