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
6d389b8d
Commit
6d389b8d
authored
May 24, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
May 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use register functions with arguments for LogApiThk...
parent
37c07bc7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
+10
-13
kernel32.spec
relay32/kernel32.spec
+3
-3
kernel32.c
win32/kernel32.c
+7
-10
No files found.
relay32/kernel32.spec
View file @
6d389b8d
...
...
@@ -56,12 +56,12 @@ import ntdll.dll
39 register FreeMappedBuffer() FreeMappedBuffer
40 register OT_32ThkLSF() OT_32ThkLSF
41 stdcall ThunkInitLSF(long str long str str) ThunkInitLSF
42 register LogApiThkLSF() LogApiThkLSF
42 register LogApiThkLSF(
str
) LogApiThkLSF
43 stdcall ThunkInitLS(long str long str str) ThunkInitLS
44 register LogApiThkSL() LogApiThkSL
44 register LogApiThkSL(
str
) LogApiThkSL
45 register Common32ThkLS() Common32ThkLS
46 stdcall ThunkInitSL(long str long str str) ThunkInitSL
47 register LogCBThkSL() LogCBThkSL
47 register LogCBThkSL(
str
) LogCBThkSL
48 stdcall ReleaseThunkLock(ptr) ReleaseThunkLock
49 stdcall RestoreThunkLock(long) RestoreThunkLock
50 stdcall AddAtomA(str) AddAtomA
...
...
win32/kernel32.c
View file @
6d389b8d
...
...
@@ -44,7 +44,7 @@ DECLARE_DEBUG_CHANNEL(win32)
*/
void
WINAPI
LogApiThk
(
LPSTR
func
)
{
TRACE_
(
thunk
)(
"%s
\n
"
,
func
);
TRACE_
(
thunk
)(
"%s
\n
"
,
debugstr_a
(
func
)
);
}
/***********************************************************************
...
...
@@ -52,10 +52,9 @@ void WINAPI LogApiThk( LPSTR func )
*
* NOTE: needs to preserve all registers!
*/
void
WINAPI
REGS_FUNC
(
LogApiThkLSF
)(
CONTEXT
*
context
)
void
WINAPI
REGS_FUNC
(
LogApiThkLSF
)(
LPSTR
func
,
CONTEXT
*
context
)
{
LPSTR
func
=
(
LPSTR
)
STACK32_POP
(
context
);
TRACE_
(
thunk
)(
"%s
\n
"
,
func
);
TRACE_
(
thunk
)(
"%s
\n
"
,
debugstr_a
(
func
)
);
}
/***********************************************************************
...
...
@@ -63,10 +62,9 @@ void WINAPI REGS_FUNC(LogApiThkLSF)( CONTEXT *context )
*
* NOTE: needs to preserve all registers!
*/
void
WINAPI
REGS_FUNC
(
LogApiThkSL
)(
CONTEXT
*
context
)
void
WINAPI
REGS_FUNC
(
LogApiThkSL
)(
LPSTR
func
,
CONTEXT
*
context
)
{
LPSTR
func
=
(
LPSTR
)
STACK32_POP
(
context
);
TRACE_
(
thunk
)(
"%s
\n
"
,
func
);
TRACE_
(
thunk
)(
"%s
\n
"
,
debugstr_a
(
func
)
);
}
/***********************************************************************
...
...
@@ -74,10 +72,9 @@ void WINAPI REGS_FUNC(LogApiThkSL)( CONTEXT *context )
*
* NOTE: needs to preserve all registers!
*/
void
WINAPI
REGS_FUNC
(
LogCBThkSL
)(
CONTEXT
*
context
)
void
WINAPI
REGS_FUNC
(
LogCBThkSL
)(
LPSTR
func
,
CONTEXT
*
context
)
{
LPSTR
func
=
(
LPSTR
)
STACK32_POP
(
context
);
TRACE_
(
thunk
)(
"%s
\n
"
,
func
);
TRACE_
(
thunk
)(
"%s
\n
"
,
debugstr_a
(
func
)
);
}
/***********************************************************************
...
...
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