extrac32: 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
46a162b4a1
commit
ed673bdcf5
|
@ -1,7 +1,9 @@
|
||||||
MODULE = extrac32.exe
|
MODULE = extrac32.exe
|
||||||
IMPORTS = shell32 setupapi shlwapi user32
|
IMPORTS = shell32 setupapi shlwapi user32 comctl32
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
|
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
extrac32.c
|
extrac32.c
|
||||||
|
|
||||||
|
RC_SRCS = extrac32.rc
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <commctrl.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include <setupapi.h>
|
#include <setupapi.h>
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
|
@ -226,6 +227,8 @@ int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int sho
|
||||||
WCHAR path[MAX_PATH];
|
WCHAR path[MAX_PATH];
|
||||||
LPCWSTR cabfile = NULL;
|
LPCWSTR cabfile = NULL;
|
||||||
|
|
||||||
|
InitCommonControls();
|
||||||
|
|
||||||
path[0] = 0;
|
path[0] = 0;
|
||||||
|
|
||||||
/* Do not use CommandLineToArgvW() or __wgetmainargs() to parse
|
/* Do not use CommandLineToArgvW() or __wgetmainargs() to parse
|
||||||
|
|
|
@ -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.Extrac32" 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>
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*
|
||||||
|
* Extrac32 resources
|
||||||
|
*
|
||||||
|
* Copyright 2021 Zhiyi Zhang for CodeWeavers
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* 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>
|
||||||
|
|
||||||
|
/* @makedep: extrac32.manifest */
|
||||||
|
1 RT_MANIFEST extrac32.manifest
|
Loading…
Reference in New Issue