winetest: 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-16 10:33:57 +08:00 committed by Alexandre Julliard
parent 7aa1d1cbe1
commit b527c13c54
3 changed files with 22 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#include <stdio.h>
#include <assert.h>
#include <windows.h>
#include <commctrl.h>
#include <winternl.h>
#include <mshtml.h>
@ -1265,6 +1266,8 @@ int __cdecl main( int argc, char *argv[] )
int interactive = 1;
int i;
InitCommonControls();
if (!LoadStringA( 0, IDS_BUILD_ID, build_id, sizeof(build_id) )) build_id[0] = 0;
pIsWow64Process = (void *)GetProcAddress(GetModuleHandleA("kernel32.dll"),"IsWow64Process");

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.Winetest" 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

@ -88,6 +88,9 @@ BEGIN
DEFPUSHBUTTON "Close", IDCANCEL, 55, 40, 40, 14
END
/* @makedep: winetest.manifest */
1 RT_MANIFEST winetest.manifest
/* @makedep: winetest.ico */
IDI_WINE ICON "winetest.ico"