Reactos

Add missing OEMRESOURCE for using the OBM_, OIC_, OCR_ defines from winuser.h

Fix build by commit 072965eb0 for modules:
EXPLORER, COMCTL32, IERNONCE, URLMON, USER32_(API|WINE)TESTS

Note that some of these modules (from Wine) already have the OEMRESOURCE
defined; however, only in one of their files. But we have added
precompiled headers for them where we have included either windows.h
or winuser.h in them, without OEMRESOURCE. The result is, that when
compiling these modules with PCH support, the OEMRESOURCE define was
_not_ satisfied and thus, compile errors arose.

Fix this by adding #define OEMRESOURCE before the windows headers also
in the precompiled headers we have added for these modules.

+9
+1
base/shell/explorer/precomp.h
··· 17 17 #define COM_NO_WINDOWS_H 18 18 19 19 #define COBJMACROS 20 + #define OEMRESOURCE 20 21 21 22 #include <windef.h> 22 23 #include <winbase.h>
+1
dll/win32/comctl32/precomp.h
··· 12 12 #define COBJMACROS 13 13 #define NONAMELESSUNION 14 14 #define NONAMELESSSTRUCT 15 + #define OEMRESOURCE 15 16 16 17 #include "comctl32.h" 17 18
+2
dll/win32/iernonce/iernonce.h
··· 11 11 #include <cstdlib> 12 12 13 13 #define WIN32_NO_STATUS 14 + #define OEMRESOURCE // For OBM_MNARROW 15 + 14 16 #include <windef.h> 15 17 #include <winbase.h> 16 18 #include <windowsx.h>
+1
dll/win32/urlmon/precomp.h
··· 8 8 9 9 #define NONAMELESSUNION 10 10 #define NONAMELESSSTRUCT 11 + #define OEMRESOURCE 11 12 12 13 #include "urlmon_main.h" 13 14
+2
modules/rostests/apitests/user32/precomp.h
··· 8 8 #define COM_NO_WINDOWS_H 9 9 #define WIN32_NO_STATUS 10 10 11 + #define OEMRESOURCE 12 + 11 13 #include <apitest.h> 12 14 #include <wingdi.h> 13 15 #include <winuser.h>
+2
modules/rostests/winetests/user32/precomp.h
··· 8 8 9 9 #define STRICT 10 10 #define WINE_NOWINSOCK 11 + #define OEMRESOURCE 12 + 11 13 #include <windows.h> 12 14 13 15 #define WINE_NO_INLINE_RECT