Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
2c491feb
Commit
2c491feb
authored
Sep 28, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Moved ToolHelpHook16 to kernel16.c, it's not a toolhelp function.
parent
9bf4de22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
18 deletions
+11
-18
kernel16.c
dlls/kernel32/kernel16.c
+11
-0
toolhelp16.c
dlls/kernel32/toolhelp16.c
+0
-18
No files found.
dlls/kernel32/kernel16.c
View file @
2c491feb
...
...
@@ -106,6 +106,17 @@ LONG WINAPI KERNEL_nop(void)
return
0
;
}
/***********************************************************************
* ToolHelpHook (KERNEL.341)
* see "Undocumented Windows"
*/
FARPROC16
WINAPI
ToolHelpHook16
(
FARPROC16
func
)
{
static
FARPROC16
hook
;
FIXME
(
"(%p), stub.
\n
"
,
func
);
return
InterlockedExchangePointer
(
(
void
**
)
&
hook
,
func
);
}
/* thunk for 16-bit CreateThread */
struct
thread_args
...
...
dlls/kernel32/toolhelp16.c
View file @
2c491feb
...
...
@@ -52,8 +52,6 @@ static struct notify
static
int
nrofnotifys
=
0
;
static
FARPROC16
HookNotify
=
NULL
;
/***********************************************************************
* TaskFindHandle (TOOLHELP.65)
...
...
@@ -226,19 +224,3 @@ BOOL16 WINAPI SystemHeapInfo16( SYSHEAPINFO *pHeapInfo )
FreeLibrary16
(
gdi
);
return
TRUE
;
}
/***********************************************************************
* ToolHelpHook (KERNEL.341)
* see "Undocumented Windows"
*/
FARPROC16
WINAPI
ToolHelpHook16
(
FARPROC16
lpfnNotifyHandler
)
{
FARPROC16
tmp
;
FIXME
(
"(%p), stub.
\n
"
,
lpfnNotifyHandler
);
tmp
=
HookNotify
;
HookNotify
=
lpfnNotifyHandler
;
/* just return previously installed notification function */
return
tmp
;
}
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