ReactOS 0.4.15-dev-6052-g2626c72
callback.h
Go to the documentation of this file.
1#ifndef __INCLUDE_USER32_CALLBACK_H
2#define __INCLUDE_USER32_CALLBACK_H
3
4#define USER32_CALLBACK_WINDOWPROC (0)
5#define USER32_CALLBACK_SENDASYNCPROC (1)
6#define USER32_CALLBACK_LOADSYSMENUTEMPLATE (2)
7#define USER32_CALLBACK_LOADDEFAULTCURSORS (3)
8#define USER32_CALLBACK_HOOKPROC (4)
9#define USER32_CALLBACK_EVENTPROC (5)
10#define USER32_CALLBACK_LOADMENU (6)
11#define USER32_CALLBACK_CLIENTTHREADSTARTUP (7)
12#define USER32_CALLBACK_CLIENTLOADLIBRARY (8)
13#define USER32_CALLBACK_GETCHARSETINFO (9)
14#define USER32_CALLBACK_COPYIMAGE (10)
15#define USER32_CALLBACK_SETWNDICONS (11)
16#define USER32_CALLBACK_DELIVERUSERAPC (12)
17#define USER32_CALLBACK_DDEPOST (13)
18#define USER32_CALLBACK_DDEGET (14)
19#define USER32_CALLBACK_SETOBM (15)
20#define USER32_CALLBACK_LPK (16)
21#define USER32_CALLBACK_UMPD (17)
22#define USER32_CALLBACK_IMMPROCESSKEY (18)
23#define USER32_CALLBACK_IMMLOADLAYOUT (19)
24#define USER32_CALLBACK_MAXIMUM USER32_CALLBACK_IMMLOADLAYOUT
25
27{
36 /* char Buffer[]; */
38
40{
47
48typedef struct _CALL_BACK_INFO
49{
53
54
56{
69
71{
72 CREATESTRUCTW Cs; /* lpszName and lpszClass replaced by offsets */
74 /* WCHAR szName[] */
75 /* WCHAR szClass[] */
77
78typedef struct tagCWP_Struct
79{
84
85typedef struct tagCWPR_Struct
86{
91
93{
105
107{
112
114{
121
123{
129
130typedef struct _GET_CHARSET_INFO
131{
135
137{
146
148{
151 int size;
155
157{
160
162{
172
174{
181
183{
186
188{
192
194User32CallCopyImageFromKernel(PVOID Arguments, ULONG ArgumentLength);
196User32CallSetWndIconsFromKernel(PVOID Arguments, ULONG ArgumentLength);
198User32CallWindowProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
200User32CallSendAsyncProcForKernel(PVOID Arguments, ULONG ArgumentLength);
202User32LoadSysMenuTemplateForKernel(PVOID Arguments, ULONG ArgumentLength);
204User32SetupDefaultCursors(PVOID Arguments, ULONG ArgumentLength);
206User32CallHookProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
208User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
210User32CallLoadMenuFromKernel(PVOID Arguments, ULONG ArgumentLength);
212User32CallClientThreadSetupFromKernel(PVOID Arguments, ULONG ArgumentLength);
214User32CallClientLoadLibraryFromKernel(PVOID Arguments, ULONG ArgumentLength);
216User32CallGetCharsetInfo(PVOID Arguments, ULONG ArgumentLength);
218User32DeliverUserAPC(PVOID Arguments, ULONG ArgumentLength);
220User32CallDDEPostFromKernel(PVOID Arguments, ULONG ArgumentLength);
222User32CallDDEGetFromKernel(PVOID Arguments, ULONG ArgumentLength);
224User32CallOBMFromKernel(PVOID Arguments, ULONG ArgumentLength);
226User32CallLPKFromKernel(PVOID Arguments, ULONG ArgumentLength);
228User32CallUMPDFromKernel(PVOID Arguments, ULONG ArgumentLength);
230User32CallImmProcessKeyFromKernel(PVOID Arguments, ULONG ArgumentLength);
232User32CallImmLoadLayoutFromKernel(PVOID Arguments, ULONG ArgumentLength);
233
234#endif /* __INCLUDE_USER32_CALLBACK_H */
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint buffer
Definition: glext.h:5915
static HDC
Definition: imagelist.c:92
static HICON
Definition: imagelist.c:84
static HWINEVENTHOOK(WINAPI *pSetWinEventHook)(DWORD
UINT_PTR HKL
Definition: msctf.idl:104
unsigned int UINT
Definition: ndis.h:50
BYTE * PBYTE
Definition: pedump.c:66
long LONG
Definition: pedump.c:60
DWORD LCID
Definition: nls.h:13
SENDASYNCPROC CallBack
Definition: callback.h:50
ULONG_PTR Context
Definition: callback.h:51
UNICODE_STRING strLibraryName
Definition: callback.h:124
UNICODE_STRING strInitFuncName
Definition: callback.h:125
CHARSETINFO Cs
Definition: callback.h:133
struct tagOEMBITMAPINFO oembmi[93]
Definition: callback.h:158
HOOKPROC_CALLBACK_ARGUMENTS hpca
Definition: callback.h:87
CWPRETSTRUCT cwprs
Definition: callback.h:88
PBYTE Extra[4]
Definition: callback.h:89
HOOKPROC_CALLBACK_ARGUMENTS hpca
Definition: callback.h:80
PBYTE Extra[4]
Definition: callback.h:82
CWPSTRUCT cwps
Definition: callback.h:81
int32_t INT_PTR
Definition: typedefs.h:64
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
struct _WINDOWPROC_CALLBACK_ARGUMENTS WINDOWPROC_CALLBACK_ARGUMENTS
struct tagCWPR_Struct * PCWPR_Struct
struct _IMMPROCESSKEY_CALLBACK_ARGUMENTS * PIMMPROCESSKEY_CALLBACK_ARGUMENTS
struct _DDEPOSTGET_CALLBACK_ARGUMENTS * PDDEPOSTGET_CALLBACK_ARGUMENTS
struct _COPYIMAGE_CALLBACK_ARGUMENTS * PCOPYIMAGE_CALLBACK_ARGUMENTS
struct _HOOKPROC_CALLBACK_ARGUMENTS HOOKPROC_CALLBACK_ARGUMENTS
struct _HOOKPROC_CALLBACK_ARGUMENTS * PHOOKPROC_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32DeliverUserAPC(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:629
NTSTATUS WINAPI User32CallClientLoadLibraryFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: hook.c:528
NTSTATUS WINAPI User32CallClientThreadSetupFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:582
struct _HOOKPROC_CBT_CREATEWND_EXTRA_ARGUMENTS HOOKPROC_CBT_CREATEWND_EXTRA_ARGUMENTS
struct _LPK_CALLBACK_ARGUMENTS LPK_CALLBACK_ARGUMENTS
struct _IMMPROCESSKEY_CALLBACK_ARGUMENTS IMMPROCESSKEY_CALLBACK_ARGUMENTS
struct _GET_CHARSET_INFO GET_CHARSET_INFO
struct _LOADMENU_CALLBACK_ARGUMENTS * PLOADMENU_CALLBACK_ARGUMENTS
struct _HOOKPROC_CBT_CREATEWND_EXTRA_ARGUMENTS * PHOOKPROC_CBT_CREATEWND_EXTRA_ARGUMENTS
NTSTATUS WINAPI User32SetupDefaultCursors(PVOID Arguments, ULONG ArgumentLength)
Definition: cursoricon.c:48
NTSTATUS WINAPI User32CallWindowProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: message.c:2937
struct tagCWP_Struct * PCWP_Struct
NTSTATUS WINAPI User32CallSendAsyncProcForKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: window.c:24
NTSTATUS WINAPI User32CallLoadMenuFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: menu.c:665
struct _CALL_BACK_INFO CALL_BACK_INFO
NTSTATUS WINAPI User32CallDDEGetFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dde.c:288
struct tagCWP_Struct CWP_Struct
struct _LPK_CALLBACK_ARGUMENTS * PLPK_CALLBACK_ARGUMENTS
struct _WINDOWPROC_CALLBACK_ARGUMENTS * PWINDOWPROC_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32CallDDEPostFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dde.c:256
struct _CLIENT_LOAD_LIBRARY_ARGUMENTS CLIENT_LOAD_LIBRARY_ARGUMENTS
struct tagCWPR_Struct CWPR_Struct
NTSTATUS WINAPI User32CallSetWndIconsFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:607
NTSTATUS WINAPI User32CallImmLoadLayoutFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:733
struct _SENDASYNCPROC_CALLBACK_ARGUMENTS * PSENDASYNCPROC_CALLBACK_ARGUMENTS
struct _EVENTPROC_CALLBACK_ARGUMENTS * PEVENTPROC_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32CallImmProcessKeyFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:720
struct _DDEPOSTGET_CALLBACK_ARGUMENTS DDEPOSTGET_CALLBACK_ARGUMENTS
struct _IMMLOADLAYOUT_CALLBACK_OUTPUT * PIMMLOADLAYOUT_CALLBACK_OUTPUT
struct _IMMLOADLAYOUT_CALLBACK_ARGUMENTS IMMLOADLAYOUT_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32LoadSysMenuTemplateForKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: menu.c:655
struct _SENDASYNCPROC_CALLBACK_ARGUMENTS SENDASYNCPROC_CALLBACK_ARGUMENTS
struct _CALL_BACK_INFO * PCALL_BACK_INFO
NTSTATUS WINAPI User32CallGetCharsetInfo(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:593
NTSTATUS WINAPI User32CallLPKFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:668
struct _SETWNDICONS_CALLBACK_ARGUMENTS SETWNDICONS_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32CallHookProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: hook.c:554
struct _COPYIMAGE_CALLBACK_ARGUMENTS COPYIMAGE_CALLBACK_ARGUMENTS
struct _IMMLOADLAYOUT_CALLBACK_ARGUMENTS * PIMMLOADLAYOUT_CALLBACK_ARGUMENTS
struct _SETOBM_CALLBACK_ARGUMENTS * PSETOBM_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: hook.c:796
struct _SETOBM_CALLBACK_ARGUMENTS SETOBM_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32CallCopyImageFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: cursoricon.c:1938
struct _LOADMENU_CALLBACK_ARGUMENTS LOADMENU_CALLBACK_ARGUMENTS
struct _IMMLOADLAYOUT_CALLBACK_OUTPUT IMMLOADLAYOUT_CALLBACK_OUTPUT
struct _GET_CHARSET_INFO * PGET_CHARSET_INFO
NTSTATUS WINAPI User32CallUMPDFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:689
struct _EVENTPROC_CALLBACK_ARGUMENTS EVENTPROC_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32CallOBMFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:636
struct _CLIENT_LOAD_LIBRARY_ARGUMENTS * PCLIENT_LOAD_LIBRARY_ARGUMENTS
struct _SETWNDICONS_CALLBACK_ARGUMENTS * PSETWNDICONS_CALLBACK_ARGUMENTS
VOID(CALLBACK * WINEVENTPROC)(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD)
Definition: winable.h:68
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
#define WINAPI
Definition: msvc.h:6
LRESULT(CALLBACK * HOOKPROC)(int, WPARAM, LPARAM)
Definition: winuser.h:2889
void(CALLBACK * SENDASYNCPROC)(HWND, UINT, ULONG_PTR, LRESULT)
Definition: winuser.h:2906
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2896
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
unsigned char BYTE
Definition: xxhash.c:193