ReactOS  0.4.12-dev-934-g9a4676f
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_MAXIMUM (16)
22 
24 {
33  /* char Buffer[]; */
35 
37 {
44 
45 typedef struct _CALL_BACK_INFO
46 {
50 
51 
53 {
65 
67 {
68  CREATESTRUCTW Cs; /* lpszName and lpszClass replaced by offsets */
70  /* WCHAR szName[] */
71  /* WCHAR szClass[] */
73 
75 {
87 
89 {
94 
96 {
99  int cxDesired;
103 
105 {
111 
112 typedef struct _GET_CHARSET_INFO
113 {
117 
119 {
128 
130 {
133  int size;
137 
139 {
142 
144 {
154 
156 User32CallCopyImageFromKernel(PVOID Arguments, ULONG ArgumentLength);
158 User32CallSetWndIconsFromKernel(PVOID Arguments, ULONG ArgumentLength);
160 User32CallWindowProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
162 User32CallSendAsyncProcForKernel(PVOID Arguments, ULONG ArgumentLength);
164 User32LoadSysMenuTemplateForKernel(PVOID Arguments, ULONG ArgumentLength);
166 User32SetupDefaultCursors(PVOID Arguments, ULONG ArgumentLength);
168 User32CallHookProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
170 User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength);
172 User32CallLoadMenuFromKernel(PVOID Arguments, ULONG ArgumentLength);
174 User32CallClientThreadSetupFromKernel(PVOID Arguments, ULONG ArgumentLength);
176 User32CallClientLoadLibraryFromKernel(PVOID Arguments, ULONG ArgumentLength);
178 User32CallGetCharsetInfo(PVOID Arguments, ULONG ArgumentLength);
180 User32DeliverUserAPC(PVOID Arguments, ULONG ArgumentLength);
182 User32CallDDEPostFromKernel(PVOID Arguments, ULONG ArgumentLength);
184 User32CallDDEGetFromKernel(PVOID Arguments, ULONG ArgumentLength);
186 User32CallOBMFromKernel(PVOID Arguments, ULONG ArgumentLength);
188 User32CallLPKFromKernel(PVOID Arguments, ULONG ArgumentLength);
189 #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:585
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:2852
UNICODE_STRING strInitFuncName
Definition: callback.h:107
uint32_t ULONG_PTR
Definition: typedefs.h:63
CHARSETINFO Cs
Definition: callback.h:115
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:614
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:47
__wchar_t WCHAR
Definition: xmlstorage.h:180
NTSTATUS WINAPI User32CallGetCharsetInfo(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:571
struct _HOOKPROC_CALLBACK_ARGUMENTS HOOKPROC_CALLBACK_ARGUMENTS
void(CALLBACK * SENDASYNCPROC)(HWND, UINT, ULONG_PTR, LRESULT)
Definition: winuser.h:2869
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
NTSTATUS WINAPI User32CallEventProcFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: hook.c:783
NTSTATUS WINAPI User32DeliverUserAPC(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:607
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:2859
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:646
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:48
unsigned int ULONG
Definition: retypes.h:1
NTSTATUS WINAPI User32CallClientThreadSetupFromKernel(PVOID Arguments, ULONG ArgumentLength)
Definition: dllmain.c:560
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:106
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:140