Skip to content

Commit 7955959

Browse files
[COMPSTUI] Sync to Wine-10.0
1 parent 657aa42 commit 7955959

30 files changed

Lines changed: 892 additions & 22 deletions

dll/win32/compstui/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ spec2def(compstui.dll compstui.spec)
33

44
list(APPEND SOURCE
55
compstui_main.c
6+
compstui.rc
67
${CMAKE_CURRENT_BINARY_DIR}/compstui.def)
78

89
add_library(compstui MODULE ${SOURCE})
9-
set_module_type(compstui win32dll)
10+
set_module_type(compstui win32dll ENTRYPOINT 0)
1011
target_link_libraries(compstui wine)
11-
add_importlibs(compstui msvcrt kernel32 ntdll)
12+
add_importlibs(compstui comctl32 user32 ucrtbase kernel32 ntdll)
1213
add_cd_file(TARGET compstui DESTINATION reactos/system32 FOR all)
13-
set_wine_module(compstui)
14+
set_wine_module_FIXME(compstui) # CORE-5743: No ARRAY_SIZE macro

dll/win32/compstui/compstui.rc

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
/*
2+
* Copyright 2022 Piotr Caban
3+
*
4+
* This library is free software; you can redistribute it and/or
5+
* modify it under the terms of the GNU Lesser General Public
6+
* License as published by the Free Software Foundation; either
7+
* version 2.1 of the License, or (at your option) any later version.
8+
*
9+
* This library is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
* Lesser General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU Lesser General Public
15+
* License along with this library; if not, write to the Free Software
16+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17+
*/
18+
19+
#include <windows.h>
20+
#include <ddk/compstui.h>
21+
22+
#include <wine/wine_common_ver.rc>
23+
24+
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
25+
26+
/* UTF-8 */
27+
#pragma code_page(65001)
28+
29+
#ifdef LANGUAGE_BG_BG
30+
#include "lang/bg-BG.rc"
31+
#endif
32+
#ifdef LANGUAGE_CS_CZ
33+
#include "lang/cs-CZ.rc"
34+
#endif
35+
#ifdef LANGUAGE_DE_DE
36+
#include "lang/de-DE.rc"
37+
#endif
38+
#ifdef LANGUAGE_EL_GR
39+
#include "lang/el-GR.rc"
40+
#endif
41+
#ifdef LANGUAGE_EN_US
42+
#include "lang/en-US.rc"
43+
#endif
44+
#ifdef LANGUAGE_ES_ES
45+
#include "lang/es-ES.rc"
46+
#endif
47+
#ifdef LANGUAGE_ET_EE
48+
#include "lang/et-EE.rc"
49+
#endif
50+
#ifdef LANGUAGE_HE_IL
51+
#include "lang/he-IL.rc"
52+
#endif
53+
#ifdef LANGUAGE_FR_FR
54+
#include "lang/fr-FR.rc"
55+
#endif
56+
#ifdef LANGUAGE_HU_HU
57+
#include "lang/hu-HU.rc"
58+
#endif
59+
#ifdef LANGUAGE_ID_ID
60+
#include "lang/id-ID.rc"
61+
#endif
62+
#ifdef LANGUAGE_IT_IT
63+
#include "lang/it-IT.rc"
64+
#endif
65+
#ifdef LANGUAGE_JA_JP
66+
#include "lang/ja-JP.rc"
67+
#endif
68+
#ifdef LANGUAGE_NB_NO
69+
#include "lang/no-NO.rc"
70+
#endif
71+
#ifdef LANGUAGE_PL_PL
72+
#include "lang/pl-PL.rc"
73+
#endif
74+
#ifdef LANGUAGE_PT_BR
75+
#include "lang/pt-BR.rc"
76+
#endif
77+
#ifdef LANGUAGE_PT_PT
78+
#include "lang/pt-PT.rc"
79+
#endif
80+
#ifdef LANGUAGE_RO_RO
81+
#include "lang/ro-RO.rc"
82+
#endif
83+
#ifdef LANGUAGE_RU_RU
84+
#include "lang/ru-RU.rc"
85+
#endif
86+
#ifdef LANGUAGE_SK_SK
87+
#include "lang/sk-SK.rc"
88+
#endif
89+
#ifdef LANGUAGE_SQ_AL
90+
#include "lang/sq-AL.rc"
91+
#endif
92+
#ifdef LANGUAGE_TR_TR
93+
#include "lang/tr-TR.rc"
94+
#endif
95+
#ifdef LANGUAGE_UK_UA
96+
#include "lang/uk-UA.rc"
97+
#endif
98+
#ifdef LANGUAGE_ZH_CN
99+
#include "lang/zh-CN.rc"
100+
#endif
101+
#ifdef LANGUAGE_ZH_HK
102+
#include "lang/zh-HK.rc"
103+
#endif
104+
#ifdef LANGUAGE_ZH_TW
105+
#include "lang/zh-TW.rc"
106+
#endif

0 commit comments

Comments
 (0)