ReactOS
0.4.16-dev-2491-g3dc6630
testdll.c
Go to the documentation of this file.
1
/*
2
* Copyright 2023 Zhiyi Zhang for CodeWeavers
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17
*/
18
19
#if 0
20
#pragma makedep testdll
21
#endif
22
23
#include <stdarg.h>
24
25
#include <
windef.h
>
26
#include <
winbase.h
>
27
#include <
winuser.h
>
28
29
LRESULT
CALLBACK
dummy_hook_proc
(
int
code
,
WPARAM
wp,
LPARAM
lp)
30
{
31
return
CallNextHookEx
(0,
code
, wp, lp);
32
}
CALLBACK
#define CALLBACK
Definition:
compat.h:35
LPARAM
LONG_PTR LPARAM
Definition:
minwindef.h:175
LRESULT
LONG_PTR LRESULT
Definition:
minwindef.h:176
WPARAM
UINT_PTR WPARAM
Definition:
minwindef.h:174
code
Definition:
inflate.c:139
dummy_hook_proc
LRESULT CALLBACK dummy_hook_proc(int code, WPARAM wp, LPARAM lp)
Definition:
testdll.c:29
winbase.h
windef.h
winuser.h
CallNextHookEx
LRESULT WINAPI CallNextHookEx(_In_opt_ HHOOK, _In_ int, _In_ WPARAM, _In_ LPARAM)
modules
rostests
winetests
user32
testdll.c
Generated on Sun Mar 29 2026 06:12:52 for ReactOS by
1.9.6