ReactOS 0.4.15-dev-7788-g1ad9096
undocuser.h
Go to the documentation of this file.
1#ifndef _UNDOCUSER_H
2#define _UNDOCUSER_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif /* defined(__cplusplus) */
7
8/* Built in class atoms */
9#define WC_MENU (MAKEINTATOM(0x8000))
10#define WC_DESKTOP (MAKEINTATOM(0x8001))
11#define WC_DIALOG (MAKEINTATOM(0x8002))
12#define WC_SWITCH (MAKEINTATOM(0x8003))
13#define WC_ICONTITLE (MAKEINTATOM(0x8004))
14
15/* Non SDK Styles */
16#define ES_COMBO 0x200 /* Parent is a combobox */
17#define WS_MAXIMIZED WS_MAXIMIZE
18#define WS_MINIMIZED WS_MINIMIZE
19
20/* Non SDK ExStyles */
21#define WS_EX_DRAGDETECT 0x00000002
22#define WS_EX_MAKEVISIBLEWHENUNGHOSTED 0x00000800
23#define WS_EX_FORCELEGACYRESIZENCMETR 0x00800000
24#define WS_EX_UISTATEACTIVE 0x04000000
25#define WS_EX_REDIRECTED 0x20000000
26#define WS_EX_UISTATEKBACCELHIDDEN 0x40000000
27#define WS_EX_UISTATEFOCUSRECTHIDDEN 0x80000000
28#define WS_EX_SETANSICREATOR 0x80000000 // For WNDS_ANSICREATOR
29
30/* Non SDK Window Message types. */
31#define WM_SETVISIBLE 0x00000009
32#define WM_ALTTABACTIVE 0x00000029
33#define WM_ISACTIVEICON 0x00000035
34#define WM_QUERYPARKICON 0x00000036
35#define WM_CLIENTSHUTDOWN 0x0000003B
36#define WM_COPYGLOBALDATA 0x00000049
37#define WM_LOGONNOTIFY 0x0000004C
38#define WM_KEYF1 0x0000004D
39#define WM_FINALDESTROY 0x00000070
40#define WM_KLUDGEMINRECT 0x0000008B
41#define WM_UAHDRAWMENU 0x00000091
42#define WM_UAHDRAWITEM 0x00000092 // WM_DRAWITEM
43#define WM_UAHINITMENU 0x00000093
44#define WM_UAHMEASUREITEM 0x00000094 // WM_MEASUREITEM
45#define WM_UAHDRAWMENUNC 0x00000095
46#define WM_NCUAHDRAWCAPTION 0x000000AE
47#define WM_NCUAHDRAWFRAME 0x000000AF
48#define WM_SYSTIMER 0x00000118
49#define WM_LBTRACKPOINT 0x00000131
50#define WM_CBLOSTTEXTFOCUS 0x00000167
51#define LB_CARETON 0x000001a3
52#define LB_CARETOFF 0x000001a4
53#define MN_SETHMENU 0x000001e0
54#define WM_DROPOBJECT 0x0000022A
55#define WM_QUERYDROPOBJECT 0x0000022B
56#define WM_BEGINDRAG 0x0000022C
57#define WM_DRAGLOOP 0x0000022D
58#define WM_DRAGSELECT 0x0000022E
59#define WM_DRAGMOVE 0x0000022F
60#define WM_IME_SYSTEM 0x00000287
61#define WM_POPUPSYSTEMMENU 0x00000313
62#define WM_UAHINIT 0x0000031b
63#define WM_CBT 0x000003FF // ReactOS only.
64#define WM_MAXIMUM 0x0001FFFF
65
66/* Non SDK DCE types */
67#define DCX_USESTYLE 0x00010000
68#define DCX_KEEPCLIPRGN 0x00040000
69#define DCX_KEEPLAYOUT 0x40000000
70#define DCX_PROCESSOWNED 0x80000000
71
72/* Non SDK TPM types.*/
73#define TPM_SYSTEM_MENU 0x00000200
74
75/* NtUserCreateWindowEx dwFlags bits. */
76#define NUCWE_ANSI 0x00000001
77#define NUCWE_SIDEBYSIDE 0x40000000
78
79/* Caret timer ID */
80#define IDCARETTIMER (0xffff)
81#define ID_TME_TIMER (0xFFFA)
82
83/* SetWindowPos undocumented flags */
84#define SWP_NOCLIENTSIZE 0x0800
85#define SWP_NOCLIENTMOVE 0x1000
86#define SWP_STATECHANGED 0x8000
87
88/* NtUserSetScrollInfo mask to return original position before it is change */
89#define SIF_PREVIOUSPOS 4096
90
91/* ScrollWindow uses the window DC, ScrollWindowEx doesn't */
92#define SW_SCROLLWNDDCE 0x8000
93
94/* Non SDK Queue state flags. */
95#define QS_SMRESULT 0x8000 /* see "Undoc. Windows" */
96//
97#define QS_EVENT 0x2000
98#define QS_SYSEVENT (QS_EVENT|QS_SENDMESSAGE)
99//
100
101//
102// Definitions used by WM_CLIENTSHUTDOWN
103//
104// Client Shutdown messages
105#define MCS_ENDSESSION 1
106#define MCS_QUERYENDSESSION 2
107// Client Shutdown returns
108#define MCSR_GOODFORSHUTDOWN 1
109#define MCSR_SHUTDOWNFINISHED 2
110#define MCSR_DONOTSHUTDOWN 3
111
112//
113// Definitions used by WM_LOGONNOTIFY
114//
115#define LN_LOGOFF 0x0
116#define LN_SHELL_EXITED 0x2
117#define LN_START_TASK_MANAGER 0x4
118#define LN_LOCK_WORKSTATION 0x5
119#define LN_UNLOCK_WORKSTATION 0x6
120#define LN_MESSAGE_BEEP 0x9
121#define LN_START_SCREENSAVE 0xA
122#define LN_LOGOFF_CANCELED 0xB
123
124//
125// Undocumented flags for ExitWindowsEx
126//
127#define EWX_SHUTDOWN_CANCELED 0x0080
128#define EWX_CALLER_SYSTEM 0x0100
129#define EWX_CALLER_WINLOGON 0x0200
130#define EWX_CALLER_WINLOGON_LOGOFF 0x1000 // WARNING!! Broken flag.
131// All the range 0x0400 to 0x1000 is reserved for Winlogon.
132// Flag 0x2000 appears to be a flag set when we call InitiateSystemShutdown* APIs (Winlogon shutdown APIs).
133// 0x4000 is also reserved.
134#define EWX_NOTIFY 0x8000
135#define EWX_NONOTIFY 0x10000
136
137// From WinCE 6.0 Imm.h SDK
138// Returns for ImmProcessHotKey
139#define IPHK_HOTKEY 0x0001
140#define IPHK_PROCESSBYIME 0x0002
141#define IPHK_CHECKCTRL 0x0004
142#define IPHK_SKIPTHISKEY 0x0010
143
144//
145// Undocumented flags for DrawCaptionTemp
146//
147#define DC_NOVISIBLE 0x0800
148#define DC_NOSENDMSG 0x2000
149#define DC_FRAME 0x8000 // Missing from WinUser.H!
150
151#define DC_DRAWCAPTIONMD 0x10000000
152#define DC_REDRAWHUNGWND 0x20000000
153#define DC_DRAWFRAMEMD 0x80000000
154
155//
156// Undocumented states for DrawFrameControl
157//
158#define DFCS_MENUARROWUP 0x0008
159#define DFCS_MENUARROWDOWN 0x0010
160
161//
162// Undocumented flags for CreateProcess
163//
164#define STARTF_INHERITDESKTOP 0x40000000
165#define STARTF_SCREENSAVER 0x80000000
166
167#define MOD_WINLOGON_SAS 0x8000
168
169#define CW_USEDEFAULT16 ((short)0x8000)
170
171#define SBRG_SCROLLBAR 0 /* the scrollbar itself */
172#define SBRG_TOPRIGHTBTN 1 /* the top or right button */
173#define SBRG_PAGEUPRIGHT 2 /* the page up or page right region */
174#define SBRG_SCROLLBOX 3 /* the scroll box */
175#define SBRG_PAGEDOWNLEFT 4 /* the page down or page left region */
176#define SBRG_BOTTOMLEFTBTN 5 /* the bottom or left button */
177
182DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD_PTR);
187DWORD WINAPI GetAppCompatFlags(HTASK hTask);
188DWORD WINAPI GetAppCompatFlags2(HTASK hTask);
190 LPDWORD lpdwRecipients,
191 UINT uiMessage,
194 PBSMINFO pBSMInfo);
195BOOL WINAPI CliImmSetHotKey(DWORD dwID, UINT uModifiers, UINT uVirtualKey, HKL hKl);
201
205
206#ifdef UNICODE
207#define DrawCaptionTemp DrawCaptionTempW
208#else
209#define DrawCaptionTemp DrawCaptionTempA
210#endif
211
212//
213// Hard error balloon package
214//
216{
219 DWORD dwType; /* any combination of the MB_ message box types */
223
224//
225// Undocumented SoftModalMessageBox() API, which constitutes
226// the basis of all implementations of the MessageBox*() APIs.
227//
228typedef struct _MSGBOXDATA
229{
230 MSGBOXPARAMSW mbp; // Size: 0x28 (on x86), 0x50 (on x64)
232#if defined(_WIN32) && (_WIN32_WINNT >= _WIN32_WINNT_WIN7) /* (NTDDI_VERSION >= NTDDI_WIN7) */
233 DWORD dwPadding;
234#endif
236 INT* pidButton; // Array of button IDs
237 LPCWSTR* ppszButtonText; // Array of button text strings
238 DWORD dwButtons; // Number of buttons
239 UINT uDefButton; // Default button ID
240 UINT uCancelId; // Button ID for Cancel action
241#if (_WIN32_WINNT >= _WIN32_WINNT_WINXP) /* (NTDDI_VERSION >= NTDDI_WINXP) */
242 DWORD dwTimeout; // Message box timeout
243#endif
245#if (_WIN32_WINNT >= _WIN32_WINNT_WIN7) /* (NTDDI_VERSION >= NTDDI_WIN7) */
246 DWORD dwReserved[4];
247#endif
249
250#if defined(_WIN64)
251
252#if (_WIN32_WINNT >= _WIN32_WINNT_WIN7) /* (NTDDI_VERSION >= NTDDI_WIN7) */
253C_ASSERT(sizeof(MSGBOXDATA) == 0x98);
254#elif (_WIN32_WINNT <= _WIN32_WINNT_WS03) /* (NTDDI_VERSION <= NTDDI_WS03) */
255C_ASSERT(sizeof(MSGBOXDATA) == 0x88);
256#endif
257
258#else
259
260#if (_WIN32_WINNT <= _WIN32_WINNT_WIN2K) /* (NTDDI_VERSION <= NTDDI_WIN2KSP4) */
261C_ASSERT(sizeof(MSGBOXDATA) == 0x48);
262#elif (_WIN32_WINNT >= _WIN32_WINNT_WIN7) /* (NTDDI_VERSION >= NTDDI_WIN7) */
263C_ASSERT(sizeof(MSGBOXDATA) == 0x60);
264#else // (_WIN32_WINNT == _WIN32_WINNT_WINXP || _WIN32_WINNT == _WIN32_WINNT_WS03) /* (NTDDI_VERSION == NTDDI_WS03) */
265C_ASSERT(sizeof(MSGBOXDATA) == 0x4C);
266#endif
267
268#endif /* defined(_WIN64) */
269
270int WINAPI SoftModalMessageBox(IN LPMSGBOXDATA lpMsgBoxData);
271
272int
273WINAPI
275 IN HWND hWnd,
276 IN LPCSTR lpText,
277 IN LPCSTR lpCaption,
278 IN UINT uType,
279 IN WORD wLanguageId,
281
282int
283WINAPI
285 IN HWND hWnd,
286 IN LPCWSTR lpText,
287 IN LPCWSTR lpCaption,
288 IN UINT uType,
289 IN WORD wLanguageId,
291
292#ifdef UNICODE
293#define MessageBoxTimeout MessageBoxTimeoutW
294#else
295#define MessageBoxTimeout MessageBoxTimeoutA
296#endif
297
299
300/* dwType for NtUserUpdateInputContext */
302{
306
307//
308// User api hook
309//
310
312typedef int (WINAPI *SETWINDOWRGN)(HWND hWnd, HRGN hRgn, BOOL bRedraw);
325
326typedef struct _UAHOWP
327{
331
332#define UAH_HOOK_MESSAGE(uahowp, msg) uahowp.MsgBitArray[msg/8] |= (1 << (msg % 8));
333#define UAH_IS_MESSAGE_HOOKED(uahowp, msg) (uahowp.MsgBitArray[msg/8] & (1 << (msg % 8)))
334#define UAHOWP_MAX_SIZE WM_USER/8
335
336typedef struct tagUSERAPIHOOK
337{
362
363typedef enum _UAPIHK
364{
369
371
372typedef struct _USERAPIHOOKINFO
373{
380
381#if (WINVER == _WIN32_WINNT_WINXP)
383#elif (WINVER == _WIN32_WINNT_WS03)
385#endif
386
388
389/* dwType for NtUserQueryInputContext */
391{
397
398/* NtUserSetImeHotKey actions */
400{
405
406#ifdef __cplusplus
407} /* extern "C" */
408#endif /* defined(__cplusplus) */
409
410#endif
static HDC hDC
Definition: 3dtext.c:33
HWND hWnd
Definition: settings.c:17
HINSTANCE hInstance
Definition: charmap.c:19
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
HANDLE HWND
Definition: compat.h:19
#define CALLBACK
Definition: compat.h:35
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
#define ULONG_PTR
Definition: config.h:101
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
GLdouble GLdouble GLdouble GLdouble top
Definition: glext.h:10859
GLdouble GLdouble right
Definition: glext.h:10859
GLint left
Definition: glext.h:7726
#define C_ASSERT(e)
Definition: intsafe.h:73
static _In_ DWORD dwflags
Definition: dispmode.c:64
static HDC
Definition: imagelist.c:92
static HICON
Definition: imagelist.c:84
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static HRGN hRgn
Definition: mapping.c:33
UINT_PTR HKL
Definition: msctf.idl:143
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:95
unsigned int UINT
Definition: ndis.h:50
#define BOOL
Definition: nt_native.h:43
#define DWORD
Definition: nt_native.h:44
#define LRESULT
Definition: ole.h:14
DWORD * PDWORD
Definition: pedump.c:68
long LONG
Definition: pedump.c:60
#define INT
Definition: polytest.cpp:20
DWORD dwButtons
Definition: messagebox.c:33
UINT uCancelId
Definition: messagebox.c:35
INT * pidButton
Definition: messagebox.c:31
WORD wLanguageId
Definition: messagebox.c:30
HWND hwndOwner
Definition: messagebox.c:26
DWORD dwReserved0
Definition: messagebox.c:39
DWORD dwTimeout
Definition: messagebox.c:37
LPCWSTR * ppszButtonText
Definition: messagebox.c:32
UINT uDefButton
Definition: messagebox.c:34
MSGBOXPARAMSW mbp
Definition: messagebox.c:25
BYTE * MsgBitArray
Definition: undocuser.h:328
DWORD Size
Definition: undocuser.h:329
LPCWSTR m_funname2
Definition: undocuser.h:378
LPCWSTR m_dllname2
Definition: undocuser.h:377
LPCWSTR m_funname1
Definition: undocuser.h:376
LPCWSTR m_dllname1
Definition: undocuser.h:375
SYSTEMPARAMETERSINFOA SystemParametersInfoA
Definition: undocuser.h:354
WNDPROC_OWP PostWndProc
Definition: undocuser.h:348
GETREALWINDOWOWNER GetRealWindowOwner
Definition: undocuser.h:360
FORCERESETUSERAPIHOOK ForceResetUserApiHook
Definition: undocuser.h:356
SETWINDOWRGN SetWindowRgn
Definition: undocuser.h:346
WNDPROC_OWP PreWndProc
Definition: undocuser.h:347
UAHOWP WndProcArray
Definition: undocuser.h:349
GETSCROLLINFO GetScrollInfo
Definition: undocuser.h:342
SYSTEMPARAMETERSINFOW SystemParametersInfoW
Definition: undocuser.h:355
GETSYSTEMMETRICS GetSystemMetrics
Definition: undocuser.h:353
DRAWFRAMECONTROL DrawFrameControl
Definition: undocuser.h:357
UAHOWP DlgProcArray
Definition: undocuser.h:352
UAHOWP DefWndProcArray
Definition: undocuser.h:341
MDIREDRAWFRAME MDIRedrawFrame
Definition: undocuser.h:359
ADJUSTWINDOWRECTEX AdjustWindowRectEx
Definition: undocuser.h:345
WNDPROC DefWindowProcA
Definition: undocuser.h:339
ENABLESCROLLBAR EnableScrollBar
Definition: undocuser.h:344
WNDPROC_OWP PreDefDlgProc
Definition: undocuser.h:350
WNDPROC_OWP PostDefDlgProc
Definition: undocuser.h:351
WNDPROC DefWindowProcW
Definition: undocuser.h:340
DRAWCAPTION DrawCaption
Definition: undocuser.h:358
SETSCROLLINFO SetScrollInfo
Definition: undocuser.h:343
PBSMINFO
Definition: dosdev.c:30
HANDLE HINSTANCE
Definition: typedefs.h:77
uint32_t DWORD_PTR
Definition: typedefs.h:65
void * PVOID
Definition: typedefs.h:50
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG_PTR
Definition: typedefs.h:65
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
BOOL(WINAPI * ADJUSTWINDOWRECTEX)(LPRECT, DWORD, BOOL, DWORD)
Definition: undocuser.h:316
enum tagSETIMEHOTKEY_ACTION SETIMEHOTKEY_ACTION
struct _BALLOON_HARD_ERROR_DATA * PBALLOON_HARD_ERROR_DATA
BOOL WINAPI UpdatePerUserSystemParameters(DWORD dwReserved, BOOL bEnable)
Definition: logon.c:101
HWND WINAPI GetTaskmanWindow(VOID)
Definition: window.c:1935
BOOL(WINAPI * ENABLESCROLLBAR)(HWND, UINT, UINT)
Definition: undocuser.h:315
BOOL WINAPI CliImmSetHotKey(DWORD dwID, UINT uModifiers, UINT uVirtualKey, HKL hKl)
Definition: input.c:288
struct _USERAPIHOOKINFO USERAPIHOOKINFO
INT(WINAPI * SETSCROLLINFO)(HWND, int, LPCSCROLLINFO, BOOL)
Definition: undocuser.h:314
struct _UAHOWP UAHOWP
BOOL WINAPI DrawCaptionTempW(HWND, HDC, const RECT *, HFONT, HICON, LPCWSTR, UINT)
Definition: nonclient.c:202
BOOL(WINAPI * SYSTEMPARAMETERSINFOW)(UINT, UINT, PVOID, UINT)
Definition: undocuser.h:319
int(WINAPI * SETWINDOWRGN)(HWND hWnd, HRGN hRgn, BOOL bRedraw)
Definition: undocuser.h:312
BOOL(WINAPI * DRAWFRAMECONTROL)(HDC, LPRECT, UINT, UINT)
Definition: undocuser.h:321
struct tagUSERAPIHOOK * PUSERAPIHOOK
BOOL(WINAPI * DRAWCAPTION)(HWND, HDC, LPCRECT, UINT)
Definition: undocuser.h:322
struct _MSGBOXDATA * LPMSGBOXDATA
enum _UAPIHK UAPIHK
_UPDATE_INPUT_CONTEXT
Definition: undocuser.h:302
@ UIC_CLIENTIMCDATA
Definition: undocuser.h:303
@ UIC_IMEWINDOW
Definition: undocuser.h:304
BOOL WINAPI SetLogonNotifyWindow(HWND Wnd)
Definition: logon.c:91
BOOL WINAPI SetShellWindow(HWND)
Definition: desktop.c:641
enum _UAPIHK * PUAPIHK
DWORD(WINAPI * GETREALWINDOWOWNER)(HWND)
Definition: undocuser.h:324
int WINAPI MessageBoxTimeoutA(IN HWND hWnd, IN LPCSTR lpText, IN LPCSTR lpCaption, IN UINT uType, IN WORD wLanguageId, IN DWORD dwTimeout)
Definition: messagebox.c:1250
int(WINAPI * GETSYSTEMMETRICS)(int)
Definition: undocuser.h:317
UINT_PTR WINAPI SetSystemTimer(HWND, UINT_PTR, UINT, TIMERPROC)
Definition: ntwrapper.h:106
LONG WINAPI CsrBroadcastSystemMessageExW(DWORD dwflags, LPDWORD lpdwRecipients, UINT uiMessage, WPARAM wParam, LPARAM lParam, PBSMINFO pBSMInfo)
Definition: stubs.c:240
BOOL WINAPI PaintMenuBar(HWND hWnd, HDC hDC, ULONG left, ULONG right, ULONG top, BOOL bActive)
BOOL WINAPI KillSystemTimer(HWND, UINT_PTR)
Definition: timer.c:35
struct _MSGBOXDATA MSGBOXDATA
BOOL WINAPI RegisterLogonProcess(DWORD, BOOL)
Definition: logon.c:43
struct _USERAPIHOOKINFO * PUSERAPIHOOKINFO
_QUERY_INPUT_CONTEXT
Definition: undocuser.h:391
@ QIC_DEFAULTWINDOWIME
Definition: undocuser.h:394
@ QIC_DEFAULTIMC
Definition: undocuser.h:395
@ QIC_INPUTTHREADID
Definition: undocuser.h:393
@ QIC_INPUTPROCESSID
Definition: undocuser.h:392
BOOL(WINAPI * FORCERESETUSERAPIHOOK)(HINSTANCE)
Definition: undocuser.h:320
DWORD WINAPI GetAppCompatFlags(HTASK hTask)
Definition: stubs.c:51
BOOL WINAPI UnregisterUserApiHook(VOID)
Definition: usrapihk.c:394
BOOL(WINAPI * MDIREDRAWFRAME)(HWND, DWORD)
Definition: undocuser.h:323
BOOL(CALLBACK * USERAPIHOOKPROC)(UAPIHK State, PUSERAPIHOOK puah)
Definition: undocuser.h:370
tagSETIMEHOTKEY_ACTION
Definition: undocuser.h:400
@ SETIMEHOTKEY_INITIALIZE
Definition: undocuser.h:403
@ SETIMEHOTKEY_ADD
Definition: undocuser.h:402
@ SETIMEHOTKEY_DELETE
Definition: undocuser.h:401
LRESULT(CALLBACK * WNDPROC_OWP)(HWND, UINT, WPARAM, LPARAM, ULONG_PTR, PDWORD)
Definition: undocuser.h:311
enum _QUERY_INPUT_CONTEXT QUERY_INPUT_CONTEXT
struct _BALLOON_HARD_ERROR_DATA BALLOON_HARD_ERROR_DATA
int WINAPI MessageBoxTimeoutW(IN HWND hWnd, IN LPCWSTR lpText, IN LPCWSTR lpCaption, IN UINT uType, IN WORD wLanguageId, IN DWORD dwTimeout)
Definition: messagebox.c:1299
VOID WINAPI ScrollChildren(HWND, UINT, WPARAM, LPARAM)
Definition: mdi.c:1899
int WINAPI SoftModalMessageBox(IN LPMSGBOXDATA lpMsgBoxData)
Definition: messagebox.c:617
BOOL WINAPI DrawCaptionTempA(HWND, HDC, const RECT *, HFONT, HICON, LPCSTR, UINT)
Definition: nonclient.c:222
HWND WINAPI GetProgmanWindow(VOID)
Definition: window.c:1926
BOOL WINAPI RegisterUserApiHook(HINSTANCE hInstance, USERAPIHOOKPROC CallbackFunc)
_UAPIHK
Definition: undocuser.h:364
@ uahStop
Definition: undocuser.h:366
@ uahLoadInit
Definition: undocuser.h:365
@ uahShutdown
Definition: undocuser.h:367
enum _UPDATE_INPUT_CONTEXT UPDATE_INPUT_CONTEXT
BOOL(WINAPI * SYSTEMPARAMETERSINFOA)(UINT, UINT, PVOID, UINT)
Definition: undocuser.h:318
struct _UAHOWP * PUAHOWP
HWND WINAPI SetTaskmanWindow(HWND)
Definition: window.c:1908
BOOL WINAPI SetShellWindowEx(HWND, HWND)
Definition: ntwrapper.h:58
DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD_PTR)
Definition: stubs.c:151
LPCWSTR WINAPI MB_GetString(IN UINT wBtn)
Definition: messagebox.c:1345
struct _MSGBOXDATA * PMSGBOXDATA
DWORD WINAPI GetAppCompatFlags2(HTASK hTask)
Definition: stubs.c:63
struct tagUSERAPIHOOK USERAPIHOOK
BOOL(WINAPI * GETSCROLLINFO)(HWND, INT, LPSCROLLINFO)
Definition: undocuser.h:313
BOOL WINAPI SetDeskWallPaper(LPCSTR)
void WINAPI CalcChildScroll(HWND, INT)
Definition: mdi.c:1800
#define LPCRECT
Definition: precomp.h:29
#define LPRECT
Definition: precomp.h:28
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
Definition: wincrypt.h:6081
_In_ BOOL bEnable
Definition: winddi.h:3426
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
DWORD COLORREF
Definition: windef.h:300
#define WINAPI
Definition: msvc.h:6
const SCROLLINFO * LPCSCROLLINFO
Definition: winuser.h:3287
struct tagSCROLLINFO * LPSCROLLINFO
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2906
VOID(CALLBACK * TIMERPROC)(HWND, UINT, UINT_PTR, DWORD)
Definition: winuser.h:2897
const char * LPCSTR
Definition: xmlstorage.h:183
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
unsigned char BYTE
Definition: xxhash.c:193