msinfo32: Enable visual styles.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-06-09 21:58:04 +08:00 committed by Alexandre Julliard
parent 76e448bd7d
commit 25d25b234e
5 changed files with 29 additions and 1 deletions

View File

@ -1,5 +1,5 @@
MODULE = msinfo32.exe
IMPORTS = shell32 user32
IMPORTS = shell32 user32 comctl32
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin

View File

@ -16,6 +16,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <commctrl.h>
#include <shlwapi.h>
#include <shellapi.h>
@ -29,6 +35,8 @@ int __cdecl wmain(int argc, WCHAR *argv[])
int i;
WCHAR system_info[64];
InitCommonControls();
WINE_FIXME("stub:");
for (i = 0; i < argc; i++)
WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="Wine.Msinfo32" version="0.0.0.0"/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

View File

@ -26,3 +26,6 @@ STRINGTABLE
{
STRING_SYSTEM_INFO, "System Information"
}
/* @makedep: msinfo32.manifest */
1 RT_MANIFEST msinfo32.manifest

View File

@ -17,5 +17,6 @@
*/
#include <windef.h>
#include <winuser.h>
#define STRING_SYSTEM_INFO 100