mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
0c2827a3f3
... addendum to commits072965eb0
and6cdaad13b
. Due to the wrapping of these defines within an #ifdef OEMRESOURCE block in winuser.h (for MS PSDK compatibility), these defines became unavailable in user32.rc resource file. Thus, during user32 resources compilation, the resource compiler fell back to the behaviour of considering these resource IDs as literal string IDs (not numerical ones). Thus, whenever code was trying to refer to these resources via their numerical IDs, these resources could not be found now, rendering ReactOS unusuable.
191 lines
5.3 KiB
Text
191 lines
5.3 KiB
Text
#include <windef.h>
|
|
#define OEMRESOURCE
|
|
#include <winuser.h>
|
|
|
|
#include "include/resource.h"
|
|
|
|
#define REACTOS_VERSION_DLL
|
|
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS User API Client Dll"
|
|
#define REACTOS_STR_INTERNAL_NAME "user32"
|
|
#define REACTOS_STR_ORIGINAL_FILENAME "user32.dll"
|
|
#include <reactos/version.rc>
|
|
|
|
#define IDS_MDI_MOREWINDOWS 13
|
|
|
|
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|
|
|
/* Cursors */
|
|
|
|
/* New cursor resources */
|
|
100 CURSOR "resources/ocr_normal.cur"
|
|
101 CURSOR "resources/ocr_ibeam.cur"
|
|
102 CURSOR "resources/ocr_wait.cur"
|
|
103 CURSOR "resources/ocr_cross.cur"
|
|
104 CURSOR "resources/ocr_up.cur"
|
|
105 CURSOR "resources/ocr_sizenwse.cur"
|
|
106 CURSOR "resources/ocr_sizenesw.cur"
|
|
107 CURSOR "resources/ocr_sizewe.cur"
|
|
108 CURSOR "resources/ocr_sizens.cur"
|
|
109 CURSOR "resources/ocr_sizeall.cur"
|
|
110 CURSOR "resources/ocr_no.cur"
|
|
111 CURSOR "resources/ocr_appstarting.cur"
|
|
112 CURSOR "resources/ocr_help.cur"
|
|
113 CURSOR "resources/ocr_pen.cur"
|
|
114 CURSOR "resources/ocr_hand.cur"
|
|
115 CURSOR "resources/ocr_icon.cur"
|
|
116 CURSOR "resources/ocr_cdautostart.cur"
|
|
|
|
/* Compatible cursor resources (will be removed) */
|
|
OCR_NORMAL CURSOR "resources/ocr_normal.cur"
|
|
OCR_IBEAM CURSOR "resources/ocr_ibeam.cur"
|
|
OCR_WAIT CURSOR "resources/ocr_wait.cur"
|
|
OCR_CROSS CURSOR "resources/ocr_cross.cur"
|
|
OCR_UP CURSOR "resources/ocr_up.cur"
|
|
OCR_SIZENWSE CURSOR "resources/ocr_sizenwse.cur"
|
|
OCR_SIZENESW CURSOR "resources/ocr_sizenesw.cur"
|
|
OCR_SIZEWE CURSOR "resources/ocr_sizewe.cur"
|
|
OCR_SIZENS CURSOR "resources/ocr_sizens.cur"
|
|
OCR_SIZEALL CURSOR "resources/ocr_sizeall.cur"
|
|
OCR_NO CURSOR "resources/ocr_no.cur"
|
|
OCR_APPSTARTING CURSOR "resources/ocr_appstarting.cur"
|
|
OCR_HELP CURSOR "resources/ocr_help.cur"
|
|
OCR_SIZE CURSOR "resources/ocr_size.cur"
|
|
OCR_ICON CURSOR "resources/ocr_icon.cur"
|
|
OCR_HAND CURSOR "resources/ocr_hand.cur"
|
|
|
|
/* Icons */
|
|
|
|
OIC_SAMPLE ICON "resources/oic_sample.ico"
|
|
OIC_HAND ICON "resources/oic_hand.ico"
|
|
OIC_QUES ICON "resources/oic_ques.ico"
|
|
OIC_BANG ICON "resources/oic_bang.ico"
|
|
OIC_NOTE ICON "resources/oic_note.ico"
|
|
OIC_WINLOGO ICON "resources/oic_reactos.ico"
|
|
|
|
/* Bitmaps */
|
|
|
|
OBM_CHECKBOXES BITMAP "resources/obm_checkboxes.bmp"
|
|
OBM_CLOSE BITMAP "resources/obm_close.bmp"
|
|
OBM_COMBO BITMAP "resources/obm_combo.bmp"
|
|
OBM_MNARROW BITMAP "resources/obm_mnarrow.bmp"
|
|
OBM_TRTYPE BITMAP "resources/obm_trtype.bmp"
|
|
OBM_LFARROWI BITMAP "resources/obm_lfarrowi.bmp"
|
|
OBM_RGARROWI BITMAP "resources/obm_rgarrowi.bmp"
|
|
OBM_DNARROWI BITMAP "resources/obm_dnarrowi.bmp"
|
|
OBM_UPARROWI BITMAP "resources/obm_uparrowi.bmp"
|
|
OBM_LFARROWD BITMAP "resources/obm_lfarrowd.bmp"
|
|
OBM_RGARROWD BITMAP "resources/obm_rgarrowd.bmp"
|
|
OBM_DNARROWD BITMAP "resources/obm_dnarrowd.bmp"
|
|
OBM_UPARROWD BITMAP "resources/obm_uparrowd.bmp"
|
|
OBM_RESTORED BITMAP "resources/obm_restored.bmp"
|
|
OBM_ZOOMD BITMAP "resources/obm_zoomd.bmp"
|
|
OBM_REDUCED BITMAP "resources/obm_reduced.bmp"
|
|
OBM_RESTORE BITMAP "resources/obm_restore.bmp"
|
|
OBM_ZOOM BITMAP "resources/obm_zoom.bmp"
|
|
OBM_REDUCE BITMAP "resources/obm_reduce.bmp"
|
|
OBM_LFARROW BITMAP "resources/obm_lfarrow.bmp"
|
|
OBM_RGARROW BITMAP "resources/obm_rgarrow.bmp"
|
|
OBM_DNARROW BITMAP "resources/obm_dnarrow.bmp"
|
|
OBM_UPARROW BITMAP "resources/obm_uparrow.bmp"
|
|
OBM_OLD_RESTORE BITMAP "resources/obm_old_restore.bmp"
|
|
OBM_OLD_ZOOM BITMAP "resources/obm_old_zoom.bmp"
|
|
OBM_OLD_REDUCE BITMAP "resources/obm_old_reduce.bmp"
|
|
OBM_BTNCORNERS BITMAP "resources/obm_btncorners.bmp"
|
|
OBM_CHECK BITMAP "resources/obm_check.bmp"
|
|
OBM_BTSIZE BITMAP "resources/obm_btsize.bmp"
|
|
OBM_OLD_LFARROW BITMAP "resources/obm_old_lfarrow.bmp"
|
|
OBM_OLD_RGARROW BITMAP "resources/obm_old_rgarrow.bmp"
|
|
OBM_OLD_DNARROW BITMAP "resources/obm_old_dnarrow.bmp"
|
|
OBM_OLD_UPARROW BITMAP "resources/obm_old_uparrow.bmp"
|
|
OBM_SIZE BITMAP "resources/obm_size.bmp"
|
|
OBM_OLD_CLOSE BITMAP "resources/obm_old_close.bmp"
|
|
|
|
/* Languages */
|
|
|
|
/* UTF-8 */
|
|
#pragma code_page(65001)
|
|
|
|
#ifdef LANGUAGE_BG_BG
|
|
#include "lang/bg-BG.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_CS_CZ
|
|
#include "lang/cs-CZ.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_DA_DK
|
|
#include "lang/da-DK.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_DE_DE
|
|
#include "lang/de-DE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_EL_GR
|
|
#include "lang/el-GR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_EN_US
|
|
#include "lang/en-US.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ES_ES
|
|
#include "lang/es-ES.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_FR_FR
|
|
#include "lang/fr-FR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_HE_IL
|
|
#include "lang/he-IL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_HU_HU
|
|
#include "lang/hu-HU.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ID_ID
|
|
#include "lang/id-ID.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_IT_IT
|
|
#include "lang/it-IT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_JA_JP
|
|
#include "lang/ja-JP.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_LT_LT
|
|
#include "lang/lt-LT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_NL_NL
|
|
#include "lang/nl-NL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_NB_NO
|
|
#include "lang/no-NO.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PL_PL
|
|
#include "lang/pl-PL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PT_BR
|
|
#include "lang/pt-BR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PT_PT
|
|
#include "lang/pt-PT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_RO_RO
|
|
#include "lang/ro-RO.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_RU_RU
|
|
#include "lang/ru-RU.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SK_SK
|
|
#include "lang/sk-SK.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SV_SE
|
|
#include "lang/sv-SE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_TR_TR
|
|
#include "lang/tr-TR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_UK_UA
|
|
#include "lang/uk-UA.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ZH_CN
|
|
#include "lang/zh-CN.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ZH_HK
|
|
#include "lang/zh-HK.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ZH_TW
|
|
#include "lang/zh-TW.rc"
|
|
#endif
|