ReactOS  0.4.14-dev-57-g333b8f1
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 {
66 
68 {
69  CREATESTRUCTW Cs; /* lpszName and lpszClass replaced by offsets */
71  /* WCHAR szName[] */
72  /* WCHAR szClass[] */
74 
76 {
88 
90 {
95 
97 {
104 
106 {
112 
113 typedef struct _GET_CHARSET_INFO
114 {
118 
120 {
129 
131 {
134  int size;
138 
140 {
143 
145 {
155 
157 User32CallCopyImageFromKernel(PVOID Arguments, ULONG ArgumentLength);
159 User32CallSetWndIconsFromKernel(PVOID Arguments, ULONG ArgumentLength);
161 User32CallWindowProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
163 User32CallSendAsyncProcForKernel(PVOID Arguments, ULONG ArgumentLength);
165 User32LoadSysMenuTemplateForKernel(PVOID Arguments, ULONG ArgumentLength);
167 User32SetupDefaultCursors(PVOID Arguments, ULONG ArgumentLength);
169 User32CallHookProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
171 User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
173 User32CallLoadMenuFromKernel(PVOID Arguments, ULONG ArgumentLength);
175 User32CallClientThreadSetupFromKernel(PVOID Arguments, ULONG ArgumentLength);
177 User32CallClientLoadLibraryFromKernel(PVOID Arguments, ULONG ArgumentLength);
179 User32CallGetCharsetInfo(PVOID Arguments, ULONG ArgumentLength);
181 User32DeliverUserAPC(PVOID Arguments, ULONG ArgumentLength);
183 User32CallDDEPostFromKernel(PVOID Arguments, ULONG ArgumentLength);
185 User32CallDDEGetFromKernel(PVOID Arguments, ULONG ArgumentLength);
187 User32CallOBMFromKernel(PVOID Arguments, ULONG ArgumentLength);
189 User32CallLPKFromKernel(PVOID Arguments, ULONG ArgumentLength);
191 User32CallUMPDFromKernel(PVOID Arguments, ULONG ArgumentLength);
192 #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 _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
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:62
static HWINEVENTHOOK(WINAPI *pSetWinEventHook)(DWORD
int32_t INT
Definition: typedefs.h:56
LRESULT(CALLBACK * HOOKPROC)(int, WPARAM, LPARAM)
Definition: winuser.h:2873
UNICODE_STRING strInitFuncName
Definition: callback.h:108
uint32_t ULONG_PTR
Definition: typedefs.h:63
CHARSETINFO Cs
Definition: callback.h:116
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
NTSTATUS WINAPI User32LoadSysMenuTemplateForKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: menu.c:655
NTSTATUS WINAPI User32CallWindowProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: message.c:2926
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
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:2890
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
NTSTATUS WINAPI User32CallUMPDFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:685
NTSTATUS WINAPI User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: hook.c:783
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 _SETWNDICONS_CALLBACK_ARGUMENTS SETWNDICONS_CALLBACK_ARGUMENTS
unsigned char BYTE
Definition: mem.h:68
struct _GET_CHARSET_INFO GET_CHARSET_INFO
struct _CLIENT_LOAD_LIBRARY_ARGUMENTS * PCLIENT_LOAD_LIBRARY_ARGUMENTS
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2880
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
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:107
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:141