xref: /reactos/win32ss/include/u32cb.h (revision 4e5e72fa)
1 /*
2  * PROJECT:     ReactOS Kernel
3  * LICENSE:     LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4  * PURPOSE:     Defining kernel-to-user32 callback entries
5  * COPYRIGHT:   Copyright 2024 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6  */
7 
8 /* DEFINE_USER32_CALLBACK(id, value, fn) */
9 DEFINE_USER32_CALLBACK(USER32_CALLBACK_WINDOWPROC,              0, User32CallWindowProcFromKernel)
10 DEFINE_USER32_CALLBACK(USER32_CALLBACK_SENDASYNCPROC,           1, User32CallSendAsyncProcForKernel)
11 DEFINE_USER32_CALLBACK(USER32_CALLBACK_LOADSYSMENUTEMPLATE,     2, User32LoadSysMenuTemplateForKernel)
12 DEFINE_USER32_CALLBACK(USER32_CALLBACK_LOADDEFAULTCURSORS,      3, User32SetupDefaultCursors)
13 DEFINE_USER32_CALLBACK(USER32_CALLBACK_HOOKPROC,                4, User32CallHookProcFromKernel)
14 DEFINE_USER32_CALLBACK(USER32_CALLBACK_EVENTPROC,               5, User32CallEventProcFromKernel)
15 DEFINE_USER32_CALLBACK(USER32_CALLBACK_LOADMENU,                6, User32CallLoadMenuFromKernel)
16 DEFINE_USER32_CALLBACK(USER32_CALLBACK_CLIENTTHREADSTARTUP,     7, User32CallClientThreadSetupFromKernel)
17 DEFINE_USER32_CALLBACK(USER32_CALLBACK_CLIENTLOADLIBRARY,       8, User32CallClientLoadLibraryFromKernel)
18 DEFINE_USER32_CALLBACK(USER32_CALLBACK_GETCHARSETINFO,          9, User32CallGetCharsetInfo)
19 DEFINE_USER32_CALLBACK(USER32_CALLBACK_COPYIMAGE,              10, User32CallCopyImageFromKernel)
20 DEFINE_USER32_CALLBACK(USER32_CALLBACK_SETWNDICONS,            11, User32CallSetWndIconsFromKernel)
21 DEFINE_USER32_CALLBACK(USER32_CALLBACK_DELIVERUSERAPC,         12, User32DeliverUserAPC)
22 DEFINE_USER32_CALLBACK(USER32_CALLBACK_DDEPOST,                13, User32CallDDEPostFromKernel)
23 DEFINE_USER32_CALLBACK(USER32_CALLBACK_DDEGET,                 14, User32CallDDEGetFromKernel)
24 DEFINE_USER32_CALLBACK(USER32_CALLBACK_SETOBM,                 15, User32CallOBMFromKernel)
25 DEFINE_USER32_CALLBACK(USER32_CALLBACK_LPK,                    16, User32CallLPKFromKernel)
26 DEFINE_USER32_CALLBACK(USER32_CALLBACK_UMPD,                   17, User32CallUMPDFromKernel)
27 DEFINE_USER32_CALLBACK(USER32_CALLBACK_IMMPROCESSKEY,          18, User32CallImmProcessKeyFromKernel)
28 DEFINE_USER32_CALLBACK(USER32_CALLBACK_IMMLOADLAYOUT,          19, User32CallImmLoadLayoutFromKernel)
29