mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
![Giannis Adamopoulos](/assets/img/avatar_default.png)
Such a manifest is meant to be activated by the caller of the exports of the dll. This means that the user of syssetup which is setup.exe is the one that should do the proper handling of the manifests. Since setup.exe is the one that needs to do the right thing, add a CREATEPROCESS_MANIFEST_RESOURCE_ID to it and avoid dealing with ISOLATIONAWARE_MANIFEST_RESOURCE_ID altogether (which is supposed to be used by activating the activation context before calling the exports of the dll that has it). We don't really use ISOLATIONAWARE_MANIFEST_RESOURCE_ID correctly in any place in the tree so let's rely on CREATEPROCESS_MANIFEST_RESOURCE_ID for now. This fixes one part of CORE-14228 where no image was shown in the theme selector buttons. This happened because comctl32 was statically linked and calling ImageList_LoadImage ended up creating an image list with comctl32 v5. Then we passed this image list to a button created with comctl32 v6 and as a result the image list was unusable. This is yet another issue that needs to be addressed in the future. Namely, it seems that in windows comctl32 v6 can use image lists created by comctl32 v5 whereas we cannot. This fix is not a hack but cleverly works around these two bugs that need to be addressed some time in the future. CORE-14228
130 lines
3.3 KiB
Plaintext
130 lines
3.3 KiB
Plaintext
#include <windef.h>
|
|
#include <winuser.h>
|
|
#include <commctrl.h>
|
|
|
|
#include "resource.h"
|
|
|
|
#define REACTOS_VERSION_DLL
|
|
#define REACTOS_STR_FILE_DESCRIPTION "System Setup DLL"
|
|
#define REACTOS_STR_INTERNAL_NAME "syssetup"
|
|
#define REACTOS_STR_ORIGINAL_FILENAME "syssetup.dll"
|
|
#include <reactos/version.rc>
|
|
|
|
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|
|
|
/* Bitmaps */
|
|
IDB_WATERMARK BITMAP "resources/watermark.bmp"
|
|
IDB_HEADER BITMAP "resources/header.bmp"
|
|
IDB_CLASSIC BITMAP "resources/thmclassic.bmp"
|
|
IDB_LAUTUS BITMAP "resources/thmlautus.bmp"
|
|
|
|
IDI_ICON1 ICON "resources/1.ico"
|
|
IDI_ICON2 ICON "resources/2.ico"
|
|
IDI_ICON3 ICON "resources/3.ico"
|
|
IDI_ICON4 ICON "resources/4.ico"
|
|
IDI_ICON5 ICON "resources/5.ico"
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_ACKPROJECTS "Wine - http://www.winehq.org\nFreeType - http://www.freetype.org\nSYSLINUX - http://syslinux.zytor.com\nMinGW - http://www.mingw.org\nBochs - http://bochs.sourceforge.net\nQEMU - http://fabrice.bellard.free.fr/qemu\nMesa3D - http://www.mesa3d.org\nadns - http://www.gnu.org/software/adns\nICU - http://www.icu-project.org/\nGraphApp - http://enchantia.com/software/graphapp/\nExt2 - http://www.ext2fsd.com/\nGNU FreeFont - http://savannah.gnu.org/projects/freefont/\nDejaVu Fonts - http://dejavu.sourceforge.net\nLiberation(tm) Fonts - https://fedorahosted.org/liberation-fonts/\nBtrfs - https://github.com/maharmstone/btrfs"
|
|
END
|
|
|
|
IDR_GPL RT_TEXT "COPYING"
|
|
|
|
/*
|
|
* Everything specific to any language goes in one of the specific
|
|
* files. Note that you can and may override resources which also have
|
|
* a neutral version. This is to get localized bitmaps for example.
|
|
*/
|
|
|
|
/* 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_ET_EE
|
|
#include "lang/et-EE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_FI_FI
|
|
#include "lang/fi-FI.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_NB_NO
|
|
#include "lang/no-NO.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_NL_NL
|
|
#include "lang/nl-NL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PL_PL
|
|
#include "lang/pl-PL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PT_BR
|
|
#include "lang/pt-BR.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_SQ_AL
|
|
#include "lang/sq-AL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SV_SE
|
|
#include "lang/sv-SE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_TH_TH
|
|
#include "lang/th-TH.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
|