dxdiag: Enable visual styles.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d576879fef
commit
7af0ab0504
|
@ -1,5 +1,5 @@
|
|||
MODULE = dxdiag.exe
|
||||
IMPORTS = dxguid ole32 oleaut32 user32
|
||||
IMPORTS = dxguid ole32 oleaut32 user32 comctl32
|
||||
|
||||
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
|
||||
|
||||
|
|
|
@ -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.Dxdiag" 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>
|
|
@ -29,3 +29,6 @@ STRINGTABLE
|
|||
STRING_DXDIAG_TOOL, "DirectX Diagnostic Tool"
|
||||
STRING_USAGE, "Usage: dxdiag [/whql:off | /whql:on] [/t filename | /x filename]"
|
||||
}
|
||||
|
||||
/* @makedep: dxdiag.manifest */
|
||||
1 RT_MANIFEST dxdiag.manifest
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
*/
|
||||
|
||||
#include <windef.h>
|
||||
#include <winuser.h>
|
||||
|
||||
/* Resource definitions. */
|
||||
#define MAX_STRING_LEN 1024
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <dxdiag.h>
|
||||
#include <commctrl.h>
|
||||
|
||||
#include "wine/debug.h"
|
||||
#include "dxdiag_private.h"
|
||||
|
@ -180,6 +181,8 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int cm
|
|||
struct command_line_info info;
|
||||
struct dxdiag_information *dxdiag_info;
|
||||
|
||||
InitCommonControls();
|
||||
|
||||
hInstance = hInst;
|
||||
|
||||
if (!process_command_line(cmdline, &info))
|
||||
|
|
Loading…
Reference in New Issue