Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4715dbec
Commit
4715dbec
authored
Jan 31, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove duplicated get_hook_proc() function.
parent
21204f57
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
20 deletions
+2
-20
hook.c
dlls/user32/hook.c
+1
-1
message.c
dlls/user32/message.c
+0
-19
user_private.h
dlls/user32/user_private.h
+1
-0
No files found.
dlls/user32/hook.c
View file @
4715dbec
...
...
@@ -314,7 +314,7 @@ static LRESULT call_hook_proc( HOOKPROC proc, INT id, INT code, WPARAM wparam, L
*
* Retrieve the hook procedure real value for a module-relative proc
*/
static
void
*
get_hook_proc
(
void
*
proc
,
const
WCHAR
*
module
)
void
*
get_hook_proc
(
void
*
proc
,
const
WCHAR
*
module
)
{
HMODULE
mod
;
...
...
dlls/user32/message.c
View file @
4715dbec
...
...
@@ -1987,25 +1987,6 @@ static inline void call_sendmsg_callback( SENDASYNCPROC callback, HWND hwnd, UIN
/***********************************************************************
* get_hook_proc
*
* Retrieve the hook procedure real value for a module-relative proc
*/
static
void
*
get_hook_proc
(
void
*
proc
,
const
WCHAR
*
module
)
{
HMODULE
mod
;
if
(
!
(
mod
=
GetModuleHandleW
(
module
)))
{
TRACE
(
"loading %s
\n
"
,
debugstr_w
(
module
)
);
/* FIXME: the library will never be freed */
if
(
!
(
mod
=
LoadLibraryW
(
module
)))
return
NULL
;
}
return
(
char
*
)
mod
+
(
ULONG_PTR
)
proc
;
}
/***********************************************************************
* peek_message
*
* Peek for a message matching the given parameters. Return FALSE if none available.
...
...
dlls/user32/user_private.h
View file @
4715dbec
...
...
@@ -235,6 +235,7 @@ extern BOOL CLIPBOARD_ReleaseOwner(void) DECLSPEC_HIDDEN;
extern
BOOL
FOCUS_MouseActivate
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
extern
BOOL
HOOK_IsHooked
(
INT
id
)
DECLSPEC_HIDDEN
;
extern
void
erase_now
(
HWND
hwnd
,
UINT
rdw_flags
)
DECLSPEC_HIDDEN
;
extern
void
*
get_hook_proc
(
void
*
proc
,
const
WCHAR
*
module
);
extern
LRESULT
call_current_hook
(
HHOOK
hhook
,
INT
code
,
WPARAM
wparam
,
LPARAM
lparam
)
DECLSPEC_HIDDEN
;
extern
BOOL
map_wparam_AtoW
(
UINT
message
,
WPARAM
*
wparam
,
enum
wm_char_mapping
mapping
)
DECLSPEC_HIDDEN
;
extern
LRESULT
MSG_SendInternalMessageTimeout
(
DWORD
dest_pid
,
DWORD
dest_tid
,
...
...
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