I read someone's code.
#include "send_input.h"
#include <stdlib.h>
#include <math.h>
#include <windows.h>
#include <winuser.h>
/* function definition
* function definition
* function definition
* ...
*/
I found windows.h at 'C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um'
#if defined(RC_INVOKED) && !defined(NOWINRES)
#include <winresrc.h>
#else
/* ... */
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
/* ... */
#endif /* RC_INVOKED */
windows.h has #include <winuser.h>
(so the former is superset of the latter) although it depends on #if defined(RC_INVOKED) && !defined(NOWINRES)
. Is there a special meaning in below fragment? Is it just style matter to emphasize functions in winuser.h are frequently used?
#include <windows.h>
#include <winuser.h>