Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
7af0ab05
Commit
7af0ab05
authored
Jun 09, 2021
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jun 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiag: Enable visual styles.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d576879f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
1 deletion
+24
-1
Makefile.in
programs/dxdiag/Makefile.in
+1
-1
dxdiag.manifest
programs/dxdiag/dxdiag.manifest
+16
-0
dxdiag.rc
programs/dxdiag/dxdiag.rc
+3
-0
dxdiag_private.h
programs/dxdiag/dxdiag_private.h
+1
-0
main.c
programs/dxdiag/main.c
+3
-0
No files found.
programs/dxdiag/Makefile.in
View file @
7af0ab05
MODULE
=
dxdiag.exe
MODULE
=
dxdiag.exe
IMPORTS
=
dxguid ole32 oleaut32 user32
IMPORTS
=
dxguid ole32 oleaut32 user32
comctl32
EXTRADLLFLAGS
=
-mwindows
-municode
-mno-cygwin
EXTRADLLFLAGS
=
-mwindows
-municode
-mno-cygwin
...
...
programs/dxdiag/dxdiag.manifest
0 → 100644
View file @
7af0ab05
<?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>
programs/dxdiag/dxdiag.rc
View file @
7af0ab05
...
@@ -29,3 +29,6 @@ STRINGTABLE
...
@@ -29,3 +29,6 @@ STRINGTABLE
STRING_DXDIAG_TOOL, "DirectX Diagnostic Tool"
STRING_DXDIAG_TOOL, "DirectX Diagnostic Tool"
STRING_USAGE, "Usage: dxdiag [/whql:off | /whql:on] [/t filename | /x filename]"
STRING_USAGE, "Usage: dxdiag [/whql:off | /whql:on] [/t filename | /x filename]"
}
}
/* @makedep: dxdiag.manifest */
1 RT_MANIFEST dxdiag.manifest
programs/dxdiag/dxdiag_private.h
View file @
7af0ab05
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
*/
*/
#include <windef.h>
#include <windef.h>
#include <winuser.h>
/* Resource definitions. */
/* Resource definitions. */
#define MAX_STRING_LEN 1024
#define MAX_STRING_LEN 1024
...
...
programs/dxdiag/main.c
View file @
7af0ab05
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#define WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <windows.h>
#include <dxdiag.h>
#include <dxdiag.h>
#include <commctrl.h>
#include "wine/debug.h"
#include "wine/debug.h"
#include "dxdiag_private.h"
#include "dxdiag_private.h"
...
@@ -180,6 +181,8 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int cm
...
@@ -180,6 +181,8 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int cm
struct
command_line_info
info
;
struct
command_line_info
info
;
struct
dxdiag_information
*
dxdiag_info
;
struct
dxdiag_information
*
dxdiag_info
;
InitCommonControls
();
hInstance
=
hInst
;
hInstance
=
hInst
;
if
(
!
process_command_line
(
cmdline
,
&
info
))
if
(
!
process_command_line
(
cmdline
,
&
info
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment