Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e9c84cca
Commit
e9c84cca
authored
Feb 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appwiz.cpl: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
30dd2c23
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
Makefile.in
dlls/appwiz.cpl/Makefile.in
+0
-1
addons.c
dlls/appwiz.cpl/addons.c
+6
-6
appwiz.c
dlls/appwiz.cpl/appwiz.c
+1
-1
No files found.
dlls/appwiz.cpl/Makefile.in
View file @
e9c84cca
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
appwiz.cpl
IMPORTS
=
uuid urlmon advpack comctl32 advapi32 shell32 ole32 user32 comdlg32 bcrypt kernelbase
DELAYIMPORTS
=
msi
...
...
dlls/appwiz.cpl/addons.c
View file @
e9c84cca
...
...
@@ -127,7 +127,7 @@ static BOOL sha_check(const WCHAR *file_name)
file
=
CreateFileW
(
file_name
,
GENERIC_READ
,
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
FILE_ATTRIBUTE_READONLY
,
NULL
);
if
(
file
==
INVALID_HANDLE_VALUE
)
{
WARN
(
"Could not open file: %u
\n
"
,
GetLastError
());
WARN
(
"Could not open file: %
l
u
\n
"
,
GetLastError
());
return
FALSE
;
}
...
...
@@ -189,7 +189,7 @@ static enum install_res install_file(const WCHAR *file_name)
if
(
res
==
ERROR_PRODUCT_VERSION
)
res
=
MsiInstallProductW
(
file_name
,
L"REINSTALL=ALL REINSTALLMODE=vomus"
);
if
(
res
!=
ERROR_SUCCESS
)
{
ERR
(
"MsiInstallProduct failed: %u
\n
"
,
res
);
ERR
(
"MsiInstallProduct failed: %
l
u
\n
"
,
res
);
return
INSTALL_FAILED
;
}
...
...
@@ -218,7 +218,7 @@ static enum install_res install_from_dos_file(const WCHAR *dir, const WCHAR *sub
hr
=
PathAllocCanonicalize
(
path
,
PATHCCH_ALLOW_LONG_PATHS
,
&
canonical_path
);
if
(
FAILED
(
hr
))
{
ERR
(
"Failed to canonicalize %s, hr %#x
\n
"
,
debugstr_w
(
path
),
hr
);
ERR
(
"Failed to canonicalize %s, hr %#
l
x
\n
"
,
debugstr_w
(
path
),
hr
);
heap_free
(
path
);
return
INSTALL_NEXT
;
}
...
...
@@ -350,7 +350,7 @@ static WCHAR *get_cache_file_name(BOOL ensure_exists)
if
(
ensure_exists
&&
!
CreateDirectoryW
(
cache_dir
,
NULL
)
&&
GetLastError
()
!=
ERROR_ALREADY_EXISTS
)
{
WARN
(
"%s does not exist and could not be created (%u)
\n
"
,
debugstr_w
(
cache_dir
),
GetLastError
()
);
WARN
(
"%s does not exist and could not be created (%
l
u)
\n
"
,
debugstr_w
(
cache_dir
),
GetLastError
()
);
heap_free
(
cache_dir
);
return
NULL
;
}
...
...
@@ -367,7 +367,7 @@ static WCHAR *get_cache_file_name(BOOL ensure_exists)
if
(
ensure_exists
&&
!
CreateDirectoryW
(
ret
,
NULL
)
&&
GetLastError
()
!=
ERROR_ALREADY_EXISTS
)
{
WARN
(
"%s does not exist and could not be created (%u)
\n
"
,
debugstr_w
(
ret
),
GetLastError
()
);
WARN
(
"%s does not exist and could not be created (%
l
u)
\n
"
,
debugstr_w
(
ret
),
GetLastError
()
);
heap_free
(
ret
);
return
NULL
;
}
...
...
@@ -477,7 +477,7 @@ static HRESULT WINAPI InstallCallback_OnStopBinding(IBindStatusCallback *iface,
if
(
hresult
==
E_ABORT
)
TRACE
(
"Binding aborted
\n
"
);
else
ERR
(
"Binding failed %08x
\n
"
,
hresult
);
ERR
(
"Binding failed %08
l
x
\n
"
,
hresult
);
return
S_OK
;
}
...
...
dlls/appwiz.cpl/appwiz.c
View file @
e9c84cca
...
...
@@ -89,7 +89,7 @@ static const WCHAR PathUninstallW[] = L"Software\\Microsoft\\Windows\\CurrentVer
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"(%p, %
l
d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
...
...
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