reactos/dll/win32/iernonce/iernonce.h
Hermès Bélusca-Maïto 6cdaad13bd
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.
2023-11-22 17:02:45 +01:00

27 lines
561 B
C

/*
* PROJECT: ReactOS system libraries
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: ReactOS Extended RunOnce processing with UI.
* COPYRIGHT: Copyright 2021 He Yang <1160386205@qq.com>
*/
#pragma once
#include <cassert>
#include <cstdlib>
#define WIN32_NO_STATUS
#define OEMRESOURCE // For OBM_MNARROW
#include <windef.h>
#include <winbase.h>
#include <windowsx.h>
#include <shlwapi.h>
#include <iernonce_undoc.h>
#include <atlbase.h>
#include <atlwin.h>
#include "registry.h"
#include "dialog.h"