ReactOS  0.4.15-dev-4570-g4f8bbd1
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_MAXIMUM (18)
24 
26 {
35  /* char Buffer[]; */
37 
39 {
46 
47 typedef struct _CALL_BACK_INFO
48 {
52 
53 
55 {
68 
70 {
71  CREATESTRUCTW Cs; /* lpszName and lpszClass replaced by offsets */
73  /* WCHAR szName[] */
74  /* WCHAR szClass[] */
76 
77 typedef struct tagCWP_Struct
78 {
83 
84 typedef struct tagCWPR_Struct
85 {
90 
92 {
104 
106 {
111 
113 {
120 
122 {
128 
129 typedef struct _GET_CHARSET_INFO
130 {
134 
136 {
145 
147 {
150  int size;
154 
156 {
159 
161 {
171 
173 {
180 
182 User32CallCopyImageFromKernel(PVOID Arguments, ULONG ArgumentLength);
184 User32CallSetWndIconsFromKernel(PVOID Arguments, ULONG ArgumentLength);
186 User32CallWindowProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
188 User32CallSendAsyncProcForKernel(PVOID Arguments, ULONG ArgumentLength);
190 User32LoadSysMenuTemplateForKernel(PVOID Arguments, ULONG ArgumentLength);
192 User32SetupDefaultCursors(PVOID Arguments, ULONG ArgumentLength);
194 User32CallHookProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
196 User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
198 User32CallLoadMenuFromKernel(PVOID Arguments, ULONG ArgumentLength);
200 User32CallClientThreadSetupFromKernel(PVOID Arguments, ULONG ArgumentLength);
202 User32CallClientLoadLibraryFromKernel(PVOID Arguments, ULONG ArgumentLength);
204 User32CallGetCharsetInfo(PVOID Arguments, ULONG ArgumentLength);
206 User32DeliverUserAPC(PVOID Arguments, ULONG ArgumentLength);
208 User32CallDDEPostFromKernel(PVOID Arguments, ULONG ArgumentLength);
210 User32CallDDEGetFromKernel(PVOID Arguments, ULONG ArgumentLength);
212 User32CallOBMFromKernel(PVOID Arguments, ULONG ArgumentLength);
214 User32CallLPKFromKernel(PVOID Arguments, ULONG ArgumentLength);
216 User32CallUMPDFromKernel(PVOID Arguments, ULONG ArgumentLength);
218 User32CallImmProcessKeyFromKernel(PVOID Arguments, ULONG ArgumentLength);
219 #endif /* __INCLUDE_USER32_CALLBACK_H */
NTSTATUS WINAPI User32CallDDEGetFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dde.c:288
struct _EVENTPROC_CALLBACK_ARGUMENTS * PEVENTPROC_CALLBACK_ARGUMENTS
static HICON
Definition: imagelist.c:84
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
struct _WINDOWPROC_CALLBACK_ARGUMENTS * PWINDOWPROC_CALLBACK_ARGUMENTS
struct _COPYIMAGE_CALLBACK_ARGUMENTS * PCOPYIMAGE_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32CallCopyImageFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: cursoricon.c:1938
NTSTATUS WINAPI User32CallImmProcessKeyFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:717
NTSTATUS WINAPI User32CallDDEPostFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dde.c:256
struct tagCWP_Struct * PCWP_Struct
struct _EVENTPROC_CALLBACK_ARGUMENTS EVENTPROC_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32CallSetWndIconsFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:604
struct _HOOKPROC_CALLBACK_ARGUMENTS * PHOOKPROC_CALLBACK_ARGUMENTS
LONG NTSTATUS
Definition: precomp.h:26
struct _CLIENT_LOAD_LIBRARY_ARGUMENTS CLIENT_LOAD_LIBRARY_ARGUMENTS
static HDC
Definition: imagelist.c:92
CWPSTRUCT cwps
Definition: callback.h:80
GLuint buffer
Definition: glext.h:5915
struct _CALL_BACK_INFO CALL_BACK_INFO
NTSTATUS WINAPI User32SetupDefaultCursors(PVOID Arguments, ULONG ArgumentLength)
Definition: cursoricon.c:48
DWORD LCID
Definition: nls.h:13
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT_PTR
Definition: typedefs.h:64
static HWINEVENTHOOK(WINAPI *pSetWinEventHook)(DWORD
struct tagCWPR_Struct CWPR_Struct
HOOKPROC_CALLBACK_ARGUMENTS hpca
Definition: callback.h:79
int32_t INT
Definition: typedefs.h:58
LRESULT(CALLBACK * HOOKPROC)(int, WPARAM, LPARAM)
Definition: winuser.h:2879
struct _IMMPROCESSKEY_CALLBACK_ARGUMENTS IMMPROCESSKEY_CALLBACK_ARGUMENTS
UNICODE_STRING strInitFuncName
Definition: callback.h:124
uint32_t ULONG_PTR
Definition: typedefs.h:65
CHARSETINFO Cs
Definition: callback.h:132
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
PBYTE Extra[4]
Definition: callback.h:81
NTSTATUS WINAPI User32LoadSysMenuTemplateForKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: menu.c:655
NTSTATUS WINAPI User32CallWindowProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: message.c:2937
unsigned char BOOLEAN
NTSTATUS WINAPI User32CallOBMFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:633
LONG_PTR LPARAM
Definition: windef.h:208
NTSTATUS WINAPI User32CallSendAsyncProcForKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: window.c:24
CWPRETSTRUCT cwprs
Definition: callback.h:87
struct _LOADMENU_CALLBACK_ARGUMENTS * PLOADMENU_CALLBACK_ARGUMENTS
struct _WINDOWPROC_CALLBACK_ARGUMENTS WINDOWPROC_CALLBACK_ARGUMENTS
struct _IMMPROCESSKEY_CALLBACK_ARGUMENTS * PIMMPROCESSKEY_CALLBACK_ARGUMENTS
struct _CALL_BACK_INFO * PCALL_BACK_INFO
VOID(CALLBACK * WINEVENTPROC)(HWINEVENTHOOK, DWORD, HWND, LONG, LONG, DWORD, DWORD)
Definition: winable.h:68
SENDASYNCPROC CallBack
Definition: callback.h:49
__wchar_t WCHAR
Definition: xmlstorage.h:180
NTSTATUS WINAPI User32CallGetCharsetInfo(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:590
struct _HOOKPROC_CALLBACK_ARGUMENTS HOOKPROC_CALLBACK_ARGUMENTS
void(CALLBACK * SENDASYNCPROC)(HWND, UINT, ULONG_PTR, LRESULT)
Definition: winuser.h:2896
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
NTSTATUS WINAPI User32CallUMPDFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:686
struct tagCWP_Struct CWP_Struct
NTSTATUS WINAPI User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: hook.c:796
PBYTE Extra[4]
Definition: callback.h:88
NTSTATUS WINAPI User32DeliverUserAPC(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:626
struct _DDEPOSTGET_CALLBACK_ARGUMENTS * PDDEPOSTGET_CALLBACK_ARGUMENTS
struct _COPYIMAGE_CALLBACK_ARGUMENTS COPYIMAGE_CALLBACK_ARGUMENTS
struct tagCWPR_Struct * PCWPR_Struct
struct _SETWNDICONS_CALLBACK_ARGUMENTS SETWNDICONS_CALLBACK_ARGUMENTS
struct _GET_CHARSET_INFO GET_CHARSET_INFO
UINT_PTR HKL
Definition: msctf.idl:101
struct _CLIENT_LOAD_LIBRARY_ARGUMENTS * PCLIENT_LOAD_LIBRARY_ARGUMENTS
unsigned char BYTE
Definition: xxhash.c:193
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2886
struct _SETOBM_CALLBACK_ARGUMENTS SETOBM_CALLBACK_ARGUMENTS
struct _DDEPOSTGET_CALLBACK_ARGUMENTS DDEPOSTGET_CALLBACK_ARGUMENTS
struct _LOADMENU_CALLBACK_ARGUMENTS LOADMENU_CALLBACK_ARGUMENTS
struct _SETOBM_CALLBACK_ARGUMENTS * PSETOBM_CALLBACK_ARGUMENTS
struct _SETWNDICONS_CALLBACK_ARGUMENTS * PSETWNDICONS_CALLBACK_ARGUMENTS
struct _SENDASYNCPROC_CALLBACK_ARGUMENTS SENDASYNCPROC_CALLBACK_ARGUMENTS
NTSTATUS WINAPI User32CallLPKFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:665
struct _GET_CHARSET_INFO * PGET_CHARSET_INFO
struct _HOOKPROC_CBT_CREATEWND_EXTRA_ARGUMENTS HOOKPROC_CBT_CREATEWND_EXTRA_ARGUMENTS
struct _LPK_CALLBACK_ARGUMENTS LPK_CALLBACK_ARGUMENTS
unsigned int UINT
Definition: ndis.h:50
NTSTATUS WINAPI User32CallClientLoadLibraryFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: hook.c:528
ULONG_PTR Context
Definition: callback.h:50
unsigned int ULONG
Definition: retypes.h:1
HOOKPROC_CALLBACK_ARGUMENTS hpca
Definition: callback.h:86
NTSTATUS WINAPI User32CallClientThreadSetupFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:579
struct _LPK_CALLBACK_ARGUMENTS * PLPK_CALLBACK_ARGUMENTS
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LONG_PTR LRESULT
Definition: windef.h:209
UNICODE_STRING strLibraryName
Definition: callback.h:123
BYTE * PBYTE
Definition: pedump.c:66
NTSTATUS WINAPI User32CallLoadMenuFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: menu.c:665
struct _HOOKPROC_CBT_CREATEWND_EXTRA_ARGUMENTS * PHOOKPROC_CBT_CREATEWND_EXTRA_ARGUMENTS
NTSTATUS WINAPI User32CallHookProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: hook.c:554
struct _SENDASYNCPROC_CALLBACK_ARGUMENTS * PSENDASYNCPROC_CALLBACK_ARGUMENTS
struct tagOEMBITMAPINFO oembmi[93]
Definition: callback.h:157