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
fb846054
Commit
fb846054
authored
Jun 11, 2021
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jun 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winver: Enable visual styles.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f304b2ae
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
1 deletion
+25
-1
Makefile.in
programs/winver/Makefile.in
+1
-1
version.rc
programs/winver/version.rc
+5
-0
winver.c
programs/winver/winver.c
+3
-0
winver.manifest
programs/winver/winver.manifest
+16
-0
No files found.
programs/winver/Makefile.in
View file @
fb846054
MODULE
=
winver.exe
IMPORTS
=
shell32
IMPORTS
=
shell32
comctl32
EXTRADLLFLAGS
=
-mwindows
-mno-cygwin
...
...
programs/winver/version.rc
View file @
fb846054
...
...
@@ -15,6 +15,8 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include <winuser.h>
#define WINE_FILEDESCRIPTION_STR "Windows Version"
#define WINE_FILENAME_STR "winver.exe"
...
...
@@ -25,3 +27,6 @@
#define WINE_PRODUCTVERSION_STR "5.1.2600.0"
#include "wine/wine_common_ver.rc"
/* @makedep: winver.manifest */
1 RT_MANIFEST winver.manifest
programs/winver/winver.c
View file @
fb846054
...
...
@@ -19,6 +19,7 @@
*/
#include "windows.h"
#include "commctrl.h"
#include "shellapi.h"
int
PASCAL
WinMain
(
HINSTANCE
inst
,
HINSTANCE
prev
,
LPSTR
cmdline
,
int
show
)
...
...
@@ -26,6 +27,8 @@ int PASCAL WinMain (HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
char
name
[
128
]
=
"Wine "
;
const
char
*
(
CDECL
*
wine_get_version
)(
void
);
InitCommonControls
();
wine_get_version
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"ntdll.dll"
),
"wine_get_version"
);
if
(
wine_get_version
)
strcat
(
name
,
wine_get_version
()
);
return
!
ShellAboutA
(
NULL
,
name
,
NULL
,
0
);
...
...
programs/winver/winver.manifest
0 → 100644
View file @
fb846054
<?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.Winver"
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>
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