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
bae8ef75
Commit
bae8ef75
authored
Feb 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uninstaller: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
86476f1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
programs/uninstaller/Makefile.in
+0
-1
main.c
programs/uninstaller/main.c
+4
-4
No files found.
programs/uninstaller/Makefile.in
View file @
bae8ef75
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
uninstaller.exe
IMPORTS
=
advapi32
DELAYIMPORTS
=
shlwapi shell32 user32 gdi32 comctl32
...
...
programs/uninstaller/main.c
View file @
bae8ef75
...
...
@@ -79,7 +79,7 @@ static void output_formatstring(const WCHAR *fmt, va_list va_args)
fmt
,
0
,
0
,
(
LPWSTR
)
&
str
,
0
,
&
va_args
);
if
(
len
==
0
&&
GetLastError
()
!=
ERROR_NO_WORK_DONE
)
{
WINE_FIXME
(
"Could not format string: le=%u, fmt=%s
\n
"
,
GetLastError
(),
wine_dbgstr_w
(
fmt
));
WINE_FIXME
(
"Could not format string: le=%
l
u, fmt=%s
\n
"
,
GetLastError
(),
wine_dbgstr_w
(
fmt
));
return
;
}
output_writeconsole
(
str
,
len
);
...
...
@@ -93,7 +93,7 @@ static void WINAPIV output_message(unsigned int id, ...)
if
(
!
LoadStringW
(
GetModuleHandleW
(
NULL
),
id
,
fmt
,
ARRAY_SIZE
(
fmt
)))
{
WINE_FIXME
(
"LoadString failed with %d
\n
"
,
GetLastError
());
WINE_FIXME
(
"LoadString failed with %
l
d
\n
"
,
GetLastError
());
return
;
}
va_start
(
va_args
,
id
);
...
...
@@ -173,7 +173,7 @@ int __cdecl wmain(int argc, WCHAR *argv[])
GetExitCodeProcess
(
pi
.
hProcess
,
&
exit_code
);
ExitProcess
(
exit_code
);
}
else
WINE_ERR
(
"failed to restart 64-bit %s, err %d
\n
"
,
wine_dbgstr_w
(
filename
),
GetLastError
()
);
else
WINE_ERR
(
"failed to restart 64-bit %s, err %
l
d
\n
"
,
wine_dbgstr_w
(
filename
),
GetLastError
()
);
Wow64RevertWow64FsRedirection
(
redir
);
}
...
...
@@ -347,7 +347,7 @@ static void UninstallProgram(void)
{
/* wait for the process to exit */
WaitForSingleObject
(
info
.
hProcess
,
INFINITE
);
res
=
GetExitCodeProcess
(
info
.
hProcess
,
&
exit_code
);
WINE_TRACE
(
"%d: %08x
\n
"
,
res
,
exit_code
);
WINE_TRACE
(
"%d: %08
l
x
\n
"
,
res
,
exit_code
);
}
else
{
...
...
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