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
140bfd28
Commit
140bfd28
authored
Dec 19, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Fix argument format for DllMain trace.
parent
f3f81387
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
output.c
tools/winedump/output.c
+5
-5
No files found.
tools/winedump/output.c
View file @
140bfd28
...
...
@@ -237,10 +237,10 @@ void output_c_preamble (void)
}
fprintf
(
cfile
,
"BOOL WINAPI DllMain(HINSTANCE
hinstDLL, DWORD fdwR
eason, LPVOID "
"
lpvR
eserved)
\n
{
\n
"
" TRACE(
\"
(
0x%%p, %%d, %%p)
\\
n
\"
, hinstDLL, fdwReason, lpvR
eserved);
\n\n
"
" switch (
fdwR
eason)
\n
"
"BOOL WINAPI DllMain(HINSTANCE
instance, DWORD r
eason, LPVOID "
"
r
eserved)
\n
{
\n
"
" TRACE(
\"
(
%%p, %%u, %%p)
\\
n
\"
, instance, reason, r
eserved);
\n\n
"
" switch (
r
eason)
\n
"
" {
\n
"
" case DLL_WINE_PREATTACH:
\n
"
" return FALSE; /* prefer native version */
\n
"
...
...
@@ -253,7 +253,7 @@ void output_c_preamble (void)
globals
.
forward_dll
,
globals
.
forward_dll
);
else
fprintf
(
cfile
,
" DisableThreadLibraryCalls(
hinstDLL
);
\n
"
);
" DisableThreadLibraryCalls(
instance
);
\n
"
);
fprintf
(
cfile
,
" break;
\n
"
...
...
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