ReactOS  0.4.15-dev-1039-gb9754fa
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_MAXIMUM (17)
23 
25 {
34  /* char Buffer[]; */
36 
38 {
45 
46 typedef struct _CALL_BACK_INFO
47 {
51 
52 
54 {
67 
69 {
70  CREATESTRUCTW Cs; /* lpszName and lpszClass replaced by offsets */
72  /* WCHAR szName[] */
73  /* WCHAR szClass[] */
75 
76 typedef struct tagCWP_Struct
77 {
82 
83 typedef struct tagCWPR_Struct
84 {
89 
91 {
103 
105 {
110 
112 {
119 
121 {
127 
128 typedef struct _GET_CHARSET_INFO
129 {
133 
135 {
144 
146 {
149  int size;
153 
155 {
158 
160 {
170 
172 User32CallCopyImageFromKernel(PVOID Arguments, ULONG ArgumentLength);
174 User32CallSetWndIconsFromKernel(PVOID Arguments, ULONG ArgumentLength);
176 User32CallWindowProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
178 User32CallSendAsyncProcForKernel(PVOID Arguments, ULONG ArgumentLength);
180 User32LoadSysMenuTemplateForKernel(PVOID Arguments, ULONG ArgumentLength);
182 User32SetupDefaultCursors(PVOID Arguments, ULONG ArgumentLength);
184 User32CallHookProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
186 User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
188 User32CallLoadMenuFromKernel(PVOID Arguments, ULONG ArgumentLength);
190 User32CallClientThreadSetupFromKernel(PVOID Arguments, ULONG ArgumentLength);
192 User32CallClientLoadLibraryFromKernel(PVOID Arguments, ULONG ArgumentLength);
194 User32CallGetCharsetInfo(PVOID Arguments, ULONG ArgumentLength);
196 User32DeliverUserAPC(PVOID Arguments, ULONG ArgumentLength);
198 User32CallDDEPostFromKernel(PVOID Arguments, ULONG ArgumentLength);
200 User32CallDDEGetFromKernel(PVOID Arguments, ULONG ArgumentLength);
202 User32CallOBMFromKernel(PVOID Arguments, ULONG ArgumentLength);
204 User32CallLPKFromKernel(PVOID Arguments, ULONG ArgumentLength);
206 User32CallUMPDFromKernel(PVOID Arguments, ULONG ArgumentLength);
207 #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 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:603
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:79
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:78
int32_t INT
Definition: typedefs.h:58
LRESULT(CALLBACK * HOOKPROC)(int, WPARAM, LPARAM)
Definition: winuser.h:2874
UNICODE_STRING strInitFuncName
Definition: callback.h:123
uint32_t ULONG_PTR
Definition: typedefs.h:65
CHARSETINFO Cs
Definition: callback.h:131
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
PBYTE Extra[4]
Definition: callback.h:80
NTSTATUS WINAPI User32LoadSysMenuTemplateForKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: menu.c:655
NTSTATUS WINAPI User32CallWindowProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: message.c:2927
unsigned char BOOLEAN
NTSTATUS WINAPI User32CallOBMFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:632
LONG_PTR LPARAM
Definition: windef.h:208
NTSTATUS WINAPI User32CallSendAsyncProcForKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: window.c:24
CWPRETSTRUCT cwprs
Definition: callback.h:86
struct _LOADMENU_CALLBACK_ARGUMENTS * PLOADMENU_CALLBACK_ARGUMENTS
struct _WINDOWPROC_CALLBACK_ARGUMENTS WINDOWPROC_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:48
__wchar_t WCHAR
Definition: xmlstorage.h:180
NTSTATUS WINAPI User32CallGetCharsetInfo(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:589
struct _HOOKPROC_CALLBACK_ARGUMENTS HOOKPROC_CALLBACK_ARGUMENTS
void(CALLBACK * SENDASYNCPROC)(HWND, UINT, ULONG_PTR, LRESULT)
Definition: winuser.h:2891
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
NTSTATUS WINAPI User32CallUMPDFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:685
struct tagCWP_Struct CWP_Struct
NTSTATUS WINAPI User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: hook.c:795
PBYTE Extra[4]
Definition: callback.h:87
NTSTATUS WINAPI User32DeliverUserAPC(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:625
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
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:2881
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:664
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:49
unsigned int ULONG
Definition: retypes.h:1
HOOKPROC_CALLBACK_ARGUMENTS hpca
Definition: callback.h:85
NTSTATUS WINAPI User32CallClientThreadSetupFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:578
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:122
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:156