ReactOS 0.4.15-dev-7788-g1ad9096
ntwrapper.h
Go to the documentation of this file.
1#pragma once
2
3#if defined(__GNUC__)
4#define EXTINLINE extern inline __attribute__((always_inline)) __attribute__((gnu_inline))
5#elif defined(_MSC_VER)
6#define EXTINLINE extern __forceinline
7#else
8#error
9#endif
10
12
13#if 0
14EXTINLINE BOOL WINAPI
16{
17 return NtUserGetScrollBarInfo(hWnd, idObject, psbi);
18}
19#endif
20
21EXTINLINE BOOL WINAPI
23{
24 return NtUserShowScrollBar(hWnd, wBar, bShow);
25}
26
27EXTINLINE BOOL WINAPI
28CloseDesktop(HDESK hDesktop)
29{
30 return NtUserCloseDesktop(hDesktop);
31}
32
33EXTINLINE HDESK WINAPI
34OpenInputDesktop(DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess)
35{
36 return NtUserOpenInputDesktop(dwFlags, fInherit, dwDesiredAccess);
37}
38
39EXTINLINE BOOL WINAPI
41{
42 return NtUserPaintDesktop(hdc);
43}
44
45EXTINLINE BOOL WINAPI
46SetThreadDesktop(HDESK hDesktop)
47{
48 return NtUserSetThreadDesktop(hDesktop);
49}
50
51EXTINLINE BOOL WINAPI
52SwitchDesktop(HDESK hDesktop)
53{
54 return NtUserSwitchDesktop(hDesktop);
55}
56
57EXTINLINE BOOL WINAPI
58SetShellWindowEx(HWND hwndShell, HWND hwndShellListView)
59{
60 return NtUserSetShellWindowEx(hwndShell, hwndShellListView);
61}
62
63EXTINLINE DWORD WINAPI
65{
66 return NtUserGetGuiResources(hProcess, uiFlags);
67}
68
69EXTINLINE BOOL WINAPI
70GetUserObjectInformationW(HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength, LPDWORD lpnLengthNeeded)
71{
72 return NtUserGetObjectInformation(hObj, nIndex, pvInfo, nLength, lpnLengthNeeded);
73}
74
75EXTINLINE BOOL WINAPI
77{
78 return NtUserLockWindowUpdate(hWndLock);
79}
80
81EXTINLINE BOOL WINAPI
83{
84 return NtUserLockWorkStation();
85}
86
87EXTINLINE DWORD WINAPI
89{
91}
92
93EXTINLINE DWORD WINAPI
94DragObject(HWND hwnd1, HWND hwnd2, UINT u1, ULONG_PTR dw1, HCURSOR hc1)
95{
96 return NtUserDragObject(hwnd1, hwnd2, u1, dw1, hc1);
97}
98
99EXTINLINE BOOL WINAPI
101{
102 return NtUserKillTimer(hWnd, IDEvent);
103}
104
105EXTINLINE UINT_PTR WINAPI
107{
108 return NtUserSetSystemTimer(hWnd, IDEvent, Period, TimerFunc);
109}
110
111EXTINLINE UINT_PTR WINAPI
113{
114 return NtUserSetTimer(hWnd, IDEvent, Period, TimerFunc);
115}
116
117EXTINLINE BOOL WINAPI
118CloseWindowStation(HWINSTA hWinSta)
119{
120 return NtUserCloseWindowStation(hWinSta);
121}
122
123EXTINLINE HWINSTA WINAPI
125{
127}
128
129EXTINLINE BOOL WINAPI
131{
132 return NtUserSetProcessWindowStation(hWinSta);
133}
134
135EXTINLINE BOOL WINAPI
136LockWindowStation(HWINSTA hWinSta)
137{
138 return NtUserLockWindowStation(hWinSta);
139}
140
141EXTINLINE BOOL WINAPI
142UnlockWindowStation(HWINSTA hWinSta)
143{
144 return NtUserUnlockWindowStation(hWinSta);
145}
146
147EXTINLINE int WINAPI
148CopyAcceleratorTableW(HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries)
149{
150 return NtUserCopyAcceleratorTable(hAccelSrc, lpAccelDst, cAccelEntries);
151}
152
153EXTINLINE HACCEL WINAPI
155{
157}
158
159EXTINLINE BOOL WINAPI
160CreateCaret(HWND hWnd, HBITMAP hBitmap, int nWidth, int nHeight)
161{
162 return NtUserCreateCaret(hWnd, hBitmap, nWidth, nHeight);
163}
164
165EXTINLINE UINT WINAPI
167{
169}
170
171EXTINLINE BOOL WINAPI
173{
174 return NtUserGetCaretPos(lpPoint);
175}
176
177EXTINLINE BOOL WINAPI
179{
180 return NtUserCloseClipboard();
181}
182
183EXTINLINE INT WINAPI
185{
187}
188
189EXTINLINE BOOL WINAPI
191{
192 return NtUserEmptyClipboard();
193}
194
195EXTINLINE HWND WINAPI
197{
199}
200
201EXTINLINE DWORD WINAPI
203{
205}
206
207EXTINLINE HWND WINAPI
209{
211}
212
213EXTINLINE HWND WINAPI
215{
217}
218
219EXTINLINE INT WINAPI
220GetPriorityClipboardFormat(UINT *paFormatPriorityList, INT cFormats)
221{
222 return NtUserGetPriorityClipboardFormat(paFormatPriorityList, cFormats);
223}
224
225EXTINLINE BOOL WINAPI
227{
229}
230
231EXTINLINE HWND WINAPI
233{
234 return NtUserSetClipboardViewer(hWndNewViewer);
235}
236
237EXTINLINE BOOL WINAPI
238ChangeClipboardChain(HWND hWndRemove, HWND hWndNewNext)
239{
240 return NtUserChangeClipboardChain(hWndRemove, hWndNewNext);
241}
242
243EXTINLINE BOOL WINAPI
245{
246 return NtUserGetClipCursor(lpRect);
247}
248
249EXTINLINE HBRUSH WINAPI GetControlBrush(HWND hwnd, HDC hdc, UINT ctlType)
250{
251 return NtUserGetControlBrush(hwnd, hdc, ctlType);
252}
253
255{
256 return NtUserGetControlColor(hwndParent, hwnd, hdc, CtlMsg);
257}
258
259EXTINLINE BOOL WINAPI
261{
262 return NtUserGetCursorInfo(pci);
263}
264
265EXTINLINE BOOL WINAPI
267{
268 return NtUserClipCursor((RECT *)lpRect);
269}
270
271EXTINLINE HCURSOR WINAPI
273{
274 return NtUserSetCursor(hCursor);
275}
276
277EXTINLINE HDC WINAPI
279{
280 return NtUserGetDC(hWnd);
281}
282
283EXTINLINE HDC WINAPI
284GetDCEx(HWND hWnd, HRGN hrgnClip, DWORD flags)
285{
286 return NtUserGetDCEx(hWnd, hrgnClip, flags);
287}
288
289EXTINLINE HDC WINAPI
291{
292 return NtUserGetWindowDC(hWnd);
293}
294
295EXTINLINE BOOL WINAPI
296FlashWindowEx(PFLASHWINFO pfwi)
297{
298 return NtUserFlashWindowEx(pfwi);
299}
300
301EXTINLINE BOOL WINAPI
302DrawAnimatedRects(HWND hWnd, int idAni, CONST RECT *lprcFrom, CONST RECT *lprcTo)
303{
304 return NtUserDrawAnimatedRects(hWnd, idAni, (RECT*)lprcFrom, (RECT*)lprcTo);
305}
306
307EXTINLINE BOOL WINAPI
309{
310 return NtUserBlockInput(fBlockIt);
311}
312
313EXTINLINE UINT WINAPI
315{
317}
318
319EXTINLINE BOOL WINAPI
321{
322 return NtUserGetKeyboardState((LPBYTE)lpKeyState);
323}
324
325EXTINLINE BOOL WINAPI
326RegisterHotKey(HWND hWnd, int id, UINT fsModifiers, UINT vk)
327{
328 return NtUserRegisterHotKey(hWnd, id, fsModifiers, vk);
329}
330
331EXTINLINE HWND WINAPI
333{
334 return NtUserSetFocus(hWnd);
335}
336
337EXTINLINE BOOL WINAPI
339{
340 return NtUserSetKeyboardState((LPBYTE)lpKeyState);
341}
342
343EXTINLINE UINT WINAPI
344SendInput(UINT nInputs, LPINPUT pInputs, int cbSize)
345{
346 return NtUserSendInput(nInputs, pInputs, cbSize);
347}
348
349EXTINLINE BOOL WINAPI
351{
352 return NtUserWaitMessage();
353}
354
355EXTINLINE HDC WINAPI
357{
358 return NtUserBeginPaint(hwnd, lpPaint);
359}
360
361EXTINLINE BOOL WINAPI
363{
364 return NtUserEndPaint(hWnd, lpPaint);
365}
366
367EXTINLINE int WINAPI
369{
371}
372
373EXTINLINE BOOL WINAPI
375{
376 return NtUserInvalidateRgn(hWnd, hRgn, bErase);
377}
378
379EXTINLINE BOOL WINAPI
380RedrawWindow(HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
381{
382 return NtUserRedrawWindow(hWnd, lprcUpdate, hrgnUpdate, flags);
383}
384
385EXTINLINE BOOL WINAPI
387{
389}
390
391EXTINLINE HWND WINAPI
393{
395}
396
397EXTINLINE BOOL WINAPI
399{
400 return NtUserGetGUIThreadInfo(idThread, lpgui);
401}
402
403EXTINLINE BOOL WINAPI
405{
406 return NtUserGetTitleBarInfo(hwnd, pti);
407}
408
409EXTINLINE BOOL WINAPI
411{
412 return NtUserGetWindowPlacement(hWnd, lpwndpl);
413}
414
415EXTINLINE BOOL WINAPI
416MoveWindow(HWND hWnd, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
417{
418 return NtUserMoveWindow(hWnd, X, Y, nWidth, nHeight, bRepaint);
419}
420
421EXTINLINE HWND WINAPI
423{
424 return NtUserSetParent(hWndChild, hWndNewParent);
425}
426
427EXTINLINE BOOL WINAPI
429{
431}
432
433EXTINLINE BOOL WINAPI
434SetWindowPos(HWND hWnd, HWND hWndAfter, int X, int Y, int cx, int cy, UINT uFlags)
435{
436 return NtUserSetWindowPos(hWnd,hWndAfter, X, Y, cx, cy, uFlags);
437}
438
439EXTINLINE BOOL WINAPI
440ShowWindow(HWND hWnd, int nCmdShow)
441{
442 return NtUserShowWindow(hWnd, nCmdShow);
443}
444
445EXTINLINE BOOL WINAPI
447{
448 return NtUserShowWindowAsync(hWnd, nCmdShow);
449}
450
451EXTINLINE HWND WINAPI
453{
455}
456
457EXTINLINE DWORD WINAPI
459{
460 return NtUserGetListBoxInfo(hwnd); // Do it right! Have the message org from kmode!
461}
462
463EXTINLINE BOOL WINAPI
464DeleteMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
465{
466 return NtUserDeleteMenu(hMenu, uPosition, uFlags);
467}
468
469EXTINLINE BOOL WINAPI
471{
472 return NtUserDestroyMenu(hMenu);
473}
474
475/*EXTINLINE BOOL WINAPI
476GetMenuBarInfo(HWND hwnd, LONG idObject, LONG idItem, PMENUBARINFO pmbi)
477{
478 return NtUserGetMenuBarInfo(hwnd, idObject, idItem, pmbi);
479}
480*/
481EXTINLINE BOOL WINAPI
482GetMenuItemRect(HWND hWnd, HMENU hMenu, UINT uItem, LPRECT lprcItem)
483{
484 return NtUserGetMenuItemRect(hWnd, hMenu, uItem, lprcItem);
485}
486
487EXTINLINE BOOL WINAPI
488RemoveMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
489{
490 return NtUserRemoveMenu(hMenu, uPosition, uFlags);
491}
492
493EXTINLINE BOOL WINAPI
494SetMenuDefaultItem(HMENU hMenu, UINT uItem, UINT fByPos)
495{
496 return NtUserSetMenuDefaultItem(hMenu, uItem, fByPos);
497}
498
499EXTINLINE BOOL WINAPI
501{
502 return NtUserSetMenuContextHelpId(hmenu, dwContextHelpId);
503}
504
505EXTINLINE HWND WINAPI
507{
508 return NtUserSetCapture(hWnd);
509}
510
511EXTINLINE BOOL WINAPI
513{
514 return NtUserInvalidateRect(hWnd, lpRect, bErase);
515}
516
518{
519 return NtUserValidateRect(hWnd, lpRect);
520}
521
523{
524 return NtUserShowCaret(hWnd);
525}
526
528{
529 return NtUserHideCaret(hWnd);
530}
531
532
533
534
535/*
536 Inline functions that make calling NtUserCall*** functions readable
537 These functions are prepended with NtUserx because they are not
538 real syscalls and they are inlined
539*/
540
542{
544}
545
547{
549}
550
552{
554}
555
557{
559}
560
562{
564}
565
567{
569}
570
572{
574}
575
577{
579}
580
582{
584}
585
587{
589}
590
592{
594}
595
597{
599}
600
602{
604}
605
606EXTINLINE INT NtUserxShowCursor(BOOL bShow)
607{
609}
610
612{
614}
615
617{
619}
620
622{
624}
625
627{
629}
630
631EXTINLINE INT NtUserxGetKeyboardType(INT nTypeFlag)
632{
634}
635
637{
639}
640
642{
644}
645
646EXTINLINE VOID NtUserxCreateSystemThreads(BOOL bRemoteProcess)
647{
648 NtUserCallOneParam(bRemoteProcess, ONEPARAM_ROUTINE_CREATESYSTEMTHREADS);
649}
650
651EXTINLINE HDWP NtUserxBeginDeferWindowPos(INT nNumWindows)
652{
654}
655
657{
659}
660
661EXTINLINE VOID NtUserxPostQuitMessage(int nExitCode)
662{
664}
665
667{
669}
670
672{
674}
675
677{
679}
680
682{
684}
685
687{
689}
690
692{
694}
695
697{
699}
700
701EXTINLINE BOOL NtUserxUnhookWindowsHook(int nCode, HOOKPROC pfnFilterProc)
702{
704}
705
707{
709}
710
712{
714}
715
717{
719}
720
722{
724}
725
727{
729}
730
732{
734}
735
737{
739}
740
742{
744}
745
747{
748 if (!TestState(pWnd, Flag)) return;
750}
751
753{
754 if (TestState(pWnd, Flag)) return;
756}
757
759{
761}
762
764{
766}
767
769{
771}
772
774{
776}
777
779{
781}
782
784{
786}
787
789{
791}
792
793
794/* ReactOS-specific definitions */
795
797{
799}
800
802{
804}
805
807{
809}
810
811EXTINLINE BOOL NtUserxGetCursorPos(POINT* lpPoint)
812{
813 return (BOOL)NtUserCallOneParam((DWORD_PTR)lpPoint, ONEPARAM_ROUTINE_GETCURSORPOS);
814}
815
817{
819}
820
822{
824}
825
827{
829}
830
831EXTINLINE BOOL NtUserxRegisterLogonProcess(DWORD dwProcessId, BOOL bRegister)
832{
834}
835
837{
839}
840
842{
844}
static HDC hDC
Definition: 3dtext.c:33
HWND hWnd
Definition: settings.c:17
LPARAM lParam
Definition: combotst.c:139
static HWND hwndParent
Definition: cryptui.c:300
static HBITMAP hBitmap
Definition: timezone.c:26
#define Y(I)
UINT uFlags
Definition: api.c:59
HWND hWndChild[NUM_TABS]
Definition: main.h:74
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLbitfield flags
Definition: glext.h:7161
GLdouble u1
Definition: glext.h:8308
DWORD NTAPI NtUserGetKeyboardState(LPBYTE Unknown0)
Definition: msgqueue.c:2551
BOOL NTAPI NtUserHideCaret(HWND hWnd)
Definition: caret.c:452
BOOL NTAPI NtUserSetWindowPos(HWND hWnd, HWND hWndInsertAfter, int X, int Y, int cx, int cy, UINT uFlags)
Definition: winpos.c:3506
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:153
HWND NTAPI NtUserGetOpenClipboardWindow(VOID)
Definition: clipboard.c:601
BOOL NTAPI NtUserValidateRect(HWND hWnd, CONST RECT *lpRect)
DWORD NTAPI NtUserCountClipboardFormats(VOID)
Definition: clipboard.c:658
HWND NTAPI NtUserGetClipboardOwner(VOID)
Definition: clipboard.c:777
BOOL NTAPI NtUserSetWindowPlacement(HWND hWnd, WINDOWPLACEMENT *lpwndpl)
Definition: winpos.c:3700
INT NTAPI NtUserExcludeUpdateRgn(HDC hDC, HWND hWnd)
Definition: painting.c:2512
BOOL NTAPI NtUserPaintDesktop(HDC hDC)
Definition: desktop.c:2779
UINT NTAPI NtUserGetCaretBlinkTime(VOID)
Definition: caret.c:381
BOOL NTAPI NtUserShowWindowAsync(HWND hWnd, LONG nCmdShow)
Definition: winpos.c:3752
BOOL NTAPI NtUserShowCaret(HWND hWnd)
Definition: caret.c:424
#define TWOPARAM_ROUTINE_SETGUITHRDHANDLE
Definition: ntuser.h:3578
HWND NTAPI NtUserCallHwndOpt(HWND hWnd, DWORD Routine)
Definition: simplecall.c:691
BOOL NTAPI NtUserBlockInput(BOOL BlockIt)
Definition: input.c:419
BOOL NTAPI NtUserFlashWindowEx(IN PFLASHWINFO pfwi)
Definition: painting.c:1745
BOOL NTAPI NtUserSwitchDesktop(HDESK hDesktop)
Definition: desktop.c:2936
HWND NTAPI NtUserSetFocus(HWND hWnd)
Definition: focus.c:1721
BOOL NTAPI NtUserGetScrollBarInfo(HWND hWnd, LONG idObject, PSCROLLBARINFO psbi)
Definition: scrollbar.c:1142
UINT_PTR NTAPI NtUserSetSystemTimer(HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc)
Definition: timer.c:679
#define UserHMGetHandle(obj)
Definition: ntuser.h:230
BOOL NTAPI NtUserCloseWindowStation(HWINSTA hWinSta)
Definition: winsta.c:1019
BOOL NTAPI NtUserSetThreadDesktop(HDESK hDesktop)
Definition: desktop.c:3452
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59
BOOL NTAPI NtUserWaitMessage(VOID)
Definition: message.c:2283
BOOL NTAPI NtUserGetMenuItemRect(HWND hWnd, HMENU hMenu, UINT uItem, LPRECT lprcItem)
HWND NTAPI NtUserSetClipboardViewer(HWND hWndNewViewer)
Definition: clipboard.c:1114
HCURSOR NTAPI NtUserSetCursor(HCURSOR hCursor)
Definition: cursoricon.c:1045
BOOL NTAPI NtUserInvalidateRect(HWND hWnd, CONST RECT *lpRect, BOOL bErase)
Definition: painting.c:2535
DWORD NTAPI NtUserCallHwndParamLock(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:884
HWND NTAPI NtUserGetForegroundWindow(VOID)
Definition: focus.c:1647
BOOLEAN NTAPI NtUserGetTitleBarInfo(HWND hwnd, PTITLEBARINFO pti)
Definition: menu.c:5722
DWORD NTAPI NtUserGetGuiResources(HANDLE hProcess, DWORD uiFlags)
Definition: misc.c:534
BOOL NTAPI NtUserGetCaretPos(LPPOINT lpPoint)
Definition: caret.c:396
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:434
#define HWNDPARAM_ROUTINE_ROS_NOTIFYWINEVENT
Definition: ntuser.h:3589
BOOL NTAPI NtUserSetProcessWindowStation(HWINSTA hWindowStation)
Definition: winsta.c:1518
BOOL NTAPI NtUserCloseClipboard(VOID)
Definition: clipboard.c:589
BOOL NTAPI NtUserLockWorkStation(VOID)
Definition: winsta.c:1972
BOOL NTAPI NtUserInvalidateRgn(HWND hWnd, HRGN hRgn, BOOL bErase)
Definition: painting.c:2551
BOOL NTAPI NtUserUnlockWindowStation(HWINSTA hWindowStation)
Definition: winsta.c:1585
DWORD NTAPI NtUserGetClipboardSequenceNumber(VOID)
Definition: clipboard.c:1164
BOOL NTAPI NtUserMoveWindow(HWND hWnd, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
Definition: winpos.c:3469
BOOL NTAPI NtUserDrawAnimatedRects(HWND hwnd, INT idAni, RECT *lprcFrom, RECT *lprcTo)
Definition: ntstubs.c:63
BOOL NTAPI NtUserChangeClipboardChain(HWND hWndRemove, HWND hWndNewNext)
Definition: clipboard.c:624
DWORD NTAPI NtUserRegisterTasklist(DWORD Unknown0)
Definition: ntstubs.c:214
BOOL NTAPI NtUserLockWindowStation(HWINSTA hWindowStation)
Definition: winsta.c:1541
BOOL NTAPI NtUserCreateCaret(HWND hWnd, HBITMAP hBitmap, int nWidth, int nHeight)
Definition: caret.c:310
@ THREADSTATE_GETMESSAGEEXTRAINFO
Definition: ntuser.h:2481
ULONG NTAPI NtUserCopyAcceleratorTable(HACCEL Table, LPACCEL Entries, ULONG EntriesCount)
Definition: accelerator.c:171
BOOL NTAPI NtUserEmptyClipboard(VOID)
Definition: clipboard.c:722
BOOLEAN NTAPI NtUserDestroyWindow(HWND Wnd)
Definition: window.c:3037
BOOL NTAPI NtUserKillTimer(HWND hWnd, UINT_PTR uIDEvent)
Definition: timer.c:656
DWORD NTAPI NtUserDragObject(HWND hwnd1, HWND hwnd2, UINT u1, DWORD dw1, HCURSOR hc1)
Definition: ntstubs.c:48
HWND NTAPI NtUserSetParent(HWND hWndChild, HWND hWndNewParent)
Definition: window.c:3647
#define ONEPARAM_ROUTINE_ENABLEPROCWNDGHSTING
Definition: ntuser.h:3575
#define ONEPARAM_ROUTINE_GETDESKTOPMAPPING
Definition: ntuser.h:3576
#define TWOPARAM_ROUTINE_ROS_UPDATEUISTATE
Definition: ntuser.h:3588
UINT NTAPI NtUserGetDoubleClickTime(VOID)
Definition: misc.c:386
DWORD NTAPI NtUserGetListBoxInfo(HWND hWnd)
Definition: window.c:3579
@ TWOPARAM_ROUTINE_REGISTERLOGONPROCESS
Definition: ntuser.h:1655
@ TWOPARAM_ROUTINE_SHOWOWNEDPOPUPS
Definition: ntuser.h:1641
@ HWNDLOCK_ROUTINE_UPDATEWINDOW
Definition: ntuser.h:1637
@ TWOPARAM_ROUTINE_UNHOOKWINDOWSHOOK
Definition: ntuser.h:1669
@ NOPARAM_ROUTINE_INIT_MESSAGE_PUMP
Definition: ntuser.h:1544
@ ONEPARAM_ROUTINE_GETKEYBOARDTYPE
Definition: ntuser.h:1567
@ TWOPARAM_ROUTINE_SWITCHTOTHISWINDOW
Definition: ntuser.h:1642
@ NOPARAM_ROUTINE_CREATEMENUPOPUP
Definition: ntuser.h:1499
@ HWNDPARAM_ROUTINE_SETDIALOGPOINTER
Definition: ntuser.h:1622
@ ONEPARAM_ROUTINE_WINDOWFROMDC
Definition: ntuser.h:1553
@ HWNDPARAM_ROUTINE_KILLSYSTEMTIMER
Definition: ntuser.h:1621
@ HWNDPARAM_ROUTINE_SETWNDCONTEXTHLPID
Definition: ntuser.h:1624
@ TWOPARAM_ROUTINE_ENABLEWINDOW
Definition: ntuser.h:1639
@ ONEPARAM_ROUTINE_MESSAGEBEEP
Definition: ntuser.h:1577
@ HWNDLOCK_ROUTINE_DRAWMENUBAR
Definition: ntuser.h:1628
@ ONEPARAM_ROUTINE_ENUMCLIPBOARDFORMATS
Definition: ntuser.h:1561
@ ONEPARAM_ROUTINE_BEGINDEFERWNDPOS
Definition: ntuser.h:1549
@ HWND_ROUTINE_REGISTERSHELLHOOKWINDOW
Definition: ntuser.h:1615
@ NOPARAM_ROUTINE_GETMSESSAGEPOS
Definition: ntuser.h:1515
@ ONEPARAM_ROUTINE_GETKEYBOARDLAYOUT
Definition: ntuser.h:1566
@ HWNDLOCK_ROUTINE_SETFOREGROUNDWINDOW
Definition: ntuser.h:1634
@ NOPARAM_ROUTINE_MSQCLEARWAKEMASK
Definition: ntuser.h:1502
@ ONEPARAM_ROUTINE_POSTQUITMESSAGE
Definition: ntuser.h:1579
@ HWND_ROUTINE_SETMSGBOX
Definition: ntuser.h:1616
@ HWNDPARAM_ROUTINE_CLEARWINDOWSTATE
Definition: ntuser.h:1620
@ NOPARAM_ROUTINE_CREATEMENU
Definition: ntuser.h:1498
@ ONEPARAM_ROUTINE_LOCKFOREGNDWINDOW
Definition: ntuser.h:1574
@ HWND_ROUTINE_GETWNDCONTEXTHLPID
Definition: ntuser.h:1614
@ ONEPARAM_ROUTINE_RELEASEDC
Definition: ntuser.h:1590
@ ONEPARAM_ROUTINE_SWAPMOUSEBUTTON
Definition: ntuser.h:1607
@ HWNDLOCK_ROUTINE_ARRANGEICONICWINDOWS
Definition: ntuser.h:1627
@ ONEPARAM_ROUTINE_SHOWCURSOR
Definition: ntuser.h:1605
@ ONEPARAM_ROUTINE_SETMESSAGEEXTRAINFO
Definition: ntuser.h:1600
@ ONEPARAM_ROUTINE_REALIZEPALETTE
Definition: ntuser.h:1583
@ NOPARAM_ROUTINE_DESTROY_CARET
Definition: ntuser.h:1504
@ HWND_ROUTINE_DEREGISTERSHELLHOOKWINDOW
Definition: ntuser.h:1612
@ ONEPARAM_ROUTINE_REPLYMESSAGE
Definition: ntuser.h:1594
@ HWNDLOCK_ROUTINE_REDRAWFRAME
Definition: ntuser.h:1631
@ ONEPARAM_ROUTINE_GETQUEUESTATUS
Definition: ntuser.h:1569
@ HWNDOPT_ROUTINE_SETTASKMANWINDOW
Definition: ntuser.h:1618
@ NOPARAM_ROUTINE_RELEASECAPTURE
Definition: ntuser.h:1527
@ ONEPARAM_ROUTINE_CREATEEMPTYCUROBJECT
Definition: ntuser.h:1555
@ NOPARAM_ROUTINE_UNINIT_MESSAGE_PUMP
Definition: ntuser.h:1545
@ ONEPARAM_ROUTINE_SETCARETBLINKTIME
Definition: ntuser.h:1595
@ TWOPARAM_ROUTINE_VALIDATERGN
Definition: ntuser.h:1644
@ TWOPARAM_ROUTINE_SETCARETPOS
Definition: ntuser.h:1664
@ HWNDOPT_ROUTINE_SETPROGMANWINDOW
Definition: ntuser.h:1617
@ ONEPARAM_ROUTINE_GETINPUTEVENT
Definition: ntuser.h:1565
@ ONEPARAM_ROUTINE_ALLOWSETFOREGND
Definition: ntuser.h:1554
@ HWNDPARAM_ROUTINE_SETWINDOWSTATE
Definition: ntuser.h:1625
@ TWOPARAM_ROUTINE_SETCURSORPOS
Definition: ntuser.h:1665
BOOL NTAPI NtUserSetMenuDefaultItem(HMENU hMenu, UINT uItem, UINT fByPos)
Definition: menu.c:6457
BOOL NTAPI NtUserLockWindowUpdate(HWND hWnd)
Definition: ntstubs.c:912
UINT NTAPI NtUserSendInput(UINT nInputs, LPINPUT pInput, INT cbSize)
Definition: input.c:708
HDC NTAPI NtUserGetDCEx(HWND hWnd, HANDLE hRegion, ULONG Flags)
Definition: windc.c:974
HWND NTAPI NtUserGetClipboardViewer(VOID)
Definition: clipboard.c:800
UINT_PTR NTAPI NtUserSetTimer(HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc)
Definition: timer.c:630
BOOL NTAPI NtUserEndPaint(HWND hWnd, CONST PAINTSTRUCT *lPs)
Definition: painting.c:1654
HDC NTAPI NtUserBeginPaint(HWND hWnd, PAINTSTRUCT *lPs)
Definition: painting.c:1608
HWND NTAPI NtUserSetCapture(HWND Wnd)
Definition: focus.c:1703
BOOL NTAPI NtUserGetWindowPlacement(HWND hWnd, WINDOWPLACEMENT *lpwndpl)
Definition: winpos.c:3389
HACCEL NTAPI NtUserCreateAcceleratorTable(LPACCEL Entries, ULONG EntriesCount)
Definition: accelerator.c:225
BOOL NTAPI NtUserCallHwndLock(HWND hWnd, DWORD Routine)
Definition: simplecall.c:585
BOOL NTAPI NtUserRedrawWindow(HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
Definition: painting.c:1996
DWORD NTAPI NtUserCallHwnd(HWND hWnd, DWORD Routine)
Definition: simplecall.c:711
BOOL NTAPI NtUserCloseDesktop(HDESK hDesktop)
Definition: desktop.c:2722
BOOL NTAPI NtUserClipCursor(RECT *lpRect)
BOOL NTAPI NtUserGetObjectInformation(HANDLE hObject, DWORD nIndex, PVOID pvInformation, DWORD nLength, PDWORD nLengthNeeded)
Definition: winsta.c:1099
HDESK NTAPI NtUserOpenInputDesktop(DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess)
Definition: desktop.c:2682
BOOL NTAPI NtUserDeleteMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: menu.c:5598
BOOL NTAPI NtUserDestroyMenu(HMENU hMenu)
Definition: menu.c:5806
HWND NTAPI NtUserSetActiveWindow(HWND Wnd)
Definition: focus.c:1662
HWINSTA NTAPI NtUserGetProcessWindowStation(VOID)
Definition: winsta.c:1376
HBRUSH NTAPI NtUserGetControlBrush(HWND hwnd, HDC hdc, UINT ctlType)
Definition: misc.c:191
BOOL NTAPI NtUserShowWindow(HWND hWnd, LONG nCmdShow)
Definition: winpos.c:3789
BOOL NTAPI NtUserIsClipboardFormatAvailable(UINT format)
Definition: clipboard.c:872
DWORD_PTR NTAPI NtUserGetThreadState(DWORD Routine)
Definition: misc.c:240
HBRUSH NTAPI NtUserGetControlColor(HWND hwndParent, HWND hwnd, HDC hdc, UINT CtlMsg)
Definition: misc.c:215
BOOL NTAPI NtUserGetGUIThreadInfo(DWORD idThread, LPGUITHREADINFO lpgui)
Definition: misc.c:403
BOOL NTAPI NtUserRemoveMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: menu.c:6363
DWORD NTAPI NtUserShowScrollBar(HWND hWnd, int wBar, DWORD bShow)
Definition: scrollbar.c:1370
BOOL NTAPI NtUserSetShellWindowEx(HWND hwndShell, HWND hwndShellListView)
Definition: window.c:3714
INT NTAPI NtUserGetPriorityClipboardFormat(UINT *paFormatPriorityList, INT cFormats)
Definition: clipboard.c:823
BOOL NTAPI NtUserSetMenuContextHelpId(HMENU hmenu, DWORD dwContextHelpId)
Definition: menu.c:6432
HDC NTAPI NtUserGetWindowDC(HWND hWnd)
Definition: windc.c:1008
#define TWOPARAM_ROUTINE_SETMENUBARHEIGHT
Definition: ntuser.h:3577
BOOL NTAPI NtUserRegisterHotKey(HWND hWnd, int id, UINT fsModifiers, UINT vk)
Definition: hotkey.c:512
BOOL NTAPI NtUserGetCursorInfo(PCURSORINFO pci)
Definition: cursoricon.c:645
DWORD NTAPI NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:767
BOOL NTAPI NtUserGetClipCursor(RECT *lpRect)
BOOL NTAPI NtUserSetKeyboardState(LPBYTE lpKeyState)
Definition: msgqueue.c:2589
HDC NTAPI NtUserGetDC(HWND hWnd)
Definition: windc.c:1014
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:71
static PVOID ptr
Definition: dispmode.c:27
HDC hdc
Definition: main.c:9
static HBITMAP
Definition: button.c:44
static HDC
Definition: imagelist.c:92
static HICON
Definition: imagelist.c:84
static HRGN hRgn
Definition: mapping.c:33
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:63
WORD vk
Definition: input.c:77
UINT_PTR HKL
Definition: msctf.idl:143
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
unsigned int UINT
Definition: ndis.h:50
ULONG ACCESS_MASK
Definition: nt_native.h:40
#define FASTCALL
Definition: nt_native.h:50
EXTINLINE VOID NtUserxNotifyWinEvent(HWND hWnd, PVOID ne)
Definition: ntwrapper.h:721
EXTINLINE HDC WINAPI GetWindowDC(HWND hWnd)
Definition: ntwrapper.h:290
EXTINLINE BOOL NtUserxSetWindowContextHelpId(HWND hWnd, DWORD_PTR dwContextHelpId)
Definition: ntwrapper.h:706
EXTINLINE BOOL WINAPI SetProcessWindowStation(HWINSTA hWinSta)
Definition: ntwrapper.h:130
EXTINLINE BOOL NtUserxAllowSetForegroundWindow(DWORD dwProcessId)
Definition: ntwrapper.h:836
BOOL FASTCALL TestState(PWND, UINT)
Definition: misc.c:177
EXTINLINE HCURSOR WINAPI SetCursor(HCURSOR hCursor)
Definition: ntwrapper.h:272
EXTINLINE BOOL NtUserxSetCursorPos(INT x, INT y)
Definition: ntwrapper.h:676
EXTINLINE BOOL NtUserxUnhookWindowsHook(int nCode, HOOKPROC pfnFilterProc)
Definition: ntwrapper.h:701
EXTINLINE BOOL WINAPI ClipCursor(CONST RECT *lpRect)
Definition: ntwrapper.h:266
EXTINLINE BOOL WINAPI GetGUIThreadInfo(DWORD idThread, LPGUITHREADINFO lpgui)
Definition: ntwrapper.h:398
EXTINLINE BOOL NtUserxReplyMessage(LRESULT lResult)
Definition: ntwrapper.h:656
EXTINLINE BOOL WINAPI MoveWindow(HWND hWnd, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
Definition: ntwrapper.h:416
EXTINLINE DWORD WINAPI GetGuiResources(HANDLE hProcess, DWORD uiFlags)
Definition: ntwrapper.h:64
EXTINLINE BOOL NtUserxSwapMouseButton(BOOL fSwap)
Definition: ntwrapper.h:596
EXTINLINE BOOL WINAPI SetWindowPos(HWND hWnd, HWND hWndAfter, int X, int Y, int cx, int cy, UINT uFlags)
Definition: ntwrapper.h:434
EXTINLINE DWORD WINAPI GetListBoxInfo(HWND hwnd)
Definition: ntwrapper.h:458
EXTINLINE BOOL WINAPI SetMenuContextHelpId(HMENU hmenu, DWORD dwContextHelpId)
Definition: ntwrapper.h:500
EXTINLINE BOOL WINAPI BlockInput(BOOL fBlockIt)
Definition: ntwrapper.h:308
EXTINLINE BOOL NtUserxLockSetForegroundWindow(UINT uLockCode)
Definition: ntwrapper.h:841
EXTINLINE VOID NtUserxCreateSystemThreads(BOOL bRemoteProcess)
Definition: ntwrapper.h:646
EXTINLINE HBRUSH WINAPI GetControlColor(HWND hwndParent, HWND hwnd, HDC hdc, UINT CtlMsg)
Definition: ntwrapper.h:254
EXTINLINE BOOL WINAPI CloseDesktop(HDESK hDesktop)
Definition: ntwrapper.h:28
EXTINLINE BOOL WINAPI DestroyMenu(HMENU hMenu)
Definition: ntwrapper.h:470
EXTINLINE BOOL WINAPI SetMenuDefaultItem(HMENU hMenu, UINT uItem, UINT fByPos)
Definition: ntwrapper.h:494
EXTINLINE BOOL WINAPI GetCursorInfo(PCURSORINFO pci)
Definition: ntwrapper.h:260
EXTINLINE BOOL WINAPI DrawAnimatedRects(HWND hWnd, int idAni, CONST RECT *lprcFrom, CONST RECT *lprcTo)
Definition: ntwrapper.h:302
EXTINLINE VOID NtUserxSetDialogPointer(HWND hWnd, PVOID dlgInfo)
Definition: ntwrapper.h:716
EXTINLINE BOOL WINAPI CreateCaret(HWND hWnd, HBITMAP hBitmap, int nWidth, int nHeight)
Definition: ntwrapper.h:160
EXTINLINE BOOL WINAPI DestroyWindow(HWND hWnd)
Definition: ntwrapper.h:386
EXTINLINE BOOL WINAPI GetUserObjectInformationW(HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength, LPDWORD lpnLengthNeeded)
Definition: ntwrapper.h:70
EXTINLINE BOOL WINAPI SetThreadDesktop(HDESK hDesktop)
Definition: ntwrapper.h:46
EXTINLINE HDESK WINAPI OpenInputDesktop(DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess)
Definition: ntwrapper.h:34
EXTINLINE BOOL WINAPI ValidateRect(HWND hWnd, CONST RECT *lpRect)
Definition: ntwrapper.h:517
EXTINLINE BOOL WINAPI GetTitleBarInfo(HWND hwnd, PTITLEBARINFO pti)
Definition: ntwrapper.h:404
EXTINLINE HBRUSH WINAPI GetControlBrush(HWND hwnd, HDC hdc, UINT ctlType)
Definition: ntwrapper.h:249
EXTINLINE BOOL WINAPI SetWindowPlacement(HWND hWnd, CONST WINDOWPLACEMENT *lpwndpl)
Definition: ntwrapper.h:428
EXTINLINE BOOL NtUserxRegisterLogonProcess(DWORD dwProcessId, BOOL bRegister)
Definition: ntwrapper.h:831
EXTINLINE HWND WINAPI SetParent(HWND hWndChild, HWND hWndNewParent)
Definition: ntwrapper.h:422
EXTINLINE HWND WINAPI SetActiveWindow(HWND hWnd)
Definition: ntwrapper.h:452
EXTINLINE HMENU NtUserxCreatePopupMenu(VOID)
Definition: ntwrapper.h:556
EXTINLINE BOOL WINAPI LockWindowStation(HWINSTA hWinSta)
Definition: ntwrapper.h:136
EXTINLINE BOOL WINAPI SwitchDesktop(HDESK hDesktop)
Definition: ntwrapper.h:52
EXTINLINE HWND WINAPI SetClipboardViewer(HWND hWndNewViewer)
Definition: ntwrapper.h:232
EXTINLINE BOOL WINAPI UnlockWindowStation(HWINSTA hWinSta)
Definition: ntwrapper.h:142
EXTINLINE BOOL WINAPI ShowWindowAsync(HWND hWnd, int nCmdShow)
Definition: ntwrapper.h:446
EXTINLINE DWORD WINAPI GetClipboardSequenceNumber(VOID)
Definition: ntwrapper.h:202
EXTINLINE HDC WINAPI GetDC(HWND hWnd)
Definition: ntwrapper.h:278
EXTINLINE HWND NtUserxSetTaskmanWindow(HWND hWnd)
Definition: ntwrapper.h:758
EXTINLINE BOOL NtUserxRegisterShellHookWindow(HWND hWnd)
Definition: ntwrapper.h:736
EXTINLINE BOOL NtUserxSetCaretPos(INT x, INT y)
Definition: ntwrapper.h:826
EXTINLINE DWORD NtUserxGetWindowContextHelpId(HWND hwnd)
Definition: ntwrapper.h:726
EXTINLINE DWORD WINAPI RegisterTasklist(DWORD x)
Definition: ntwrapper.h:88
EXTINLINE BOOL WINAPI LockWorkStation(VOID)
Definition: ntwrapper.h:82
EXTINLINE BOOL WINAPI GetWindowPlacement(HWND hWnd, WINDOWPLACEMENT *lpwndpl)
Definition: ntwrapper.h:410
EXTINLINE BOOL WINAPI GetClipCursor(LPRECT lpRect)
Definition: ntwrapper.h:244
EXTINLINE int WINAPI CopyAcceleratorTableW(HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries)
Definition: ntwrapper.h:148
EXTINLINE BOOL NtUserxMessageBeep(UINT uType)
Definition: ntwrapper.h:621
EXTINLINE BOOL NtUserxUnInitMessagePump(VOID)
Definition: ntwrapper.h:576
EXTINLINE VOID NtUserxEnableProcessWindowGhosting(BOOL bEnable)
Definition: ntwrapper.h:801
EXTINLINE VOID NtUserxSwitchToThisWindow(HWND hWnd, BOOL fAltTab)
Definition: ntwrapper.h:691
EXTINLINE HMENU NtUserxCreateMenu(VOID)
Definition: ntwrapper.h:551
EXTINLINE BOOL NtUserxDeregisterShellHookWindow(HWND hWnd)
Definition: ntwrapper.h:731
EXTINLINE BOOL WINAPI SetKeyboardState(LPBYTE lpKeyState)
Definition: ntwrapper.h:338
EXTINLINE BOOL WINAPI KillTimer(HWND hWnd, UINT_PTR IDEvent)
Definition: ntwrapper.h:100
EXTINLINE BOOL WINAPI ShowScrollBar(HWND hWnd, INT wBar, BOOL bShow)
Definition: ntwrapper.h:22
EXTINLINE BOOL NtUserxSetForegroundWindow(HWND hWnd)
Definition: ntwrapper.h:788
EXTINLINE UINT NtUserxEnumClipboardFormats(UINT format)
Definition: ntwrapper.h:611
EXTINLINE VOID NtUserxSetWindowState(PWND pWnd, UINT Flag)
Definition: ntwrapper.h:752
EXTINLINE UINT NtUserxRealizePalette(HDC hDC)
Definition: ntwrapper.h:641
EXTINLINE BOOL WINAPI RedrawWindow(HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
Definition: ntwrapper.h:380
EXTINLINE DWORD NtUserxGetMessagePos(VOID)
Definition: ntwrapper.h:561
EXTINLINE HWND WINAPI SetFocus(HWND hWnd)
Definition: ntwrapper.h:332
EXTINLINE BOOL NtUserxDrawMenuBar(HWND hWnd)
Definition: ntwrapper.h:778
EXTINLINE BOOL WINAPI ShowWindow(HWND hWnd, int nCmdShow)
Definition: ntwrapper.h:440
EXTINLINE INT NtUserxReleaseDC(HDC hDC)
Definition: ntwrapper.h:636
EXTINLINE BOOL NtUserxInitMessagePump(VOID)
Definition: ntwrapper.h:571
EXTINLINE BOOL NtUserxReleaseCapture(VOID)
Definition: ntwrapper.h:566
EXTINLINE UINT_PTR WINAPI SetTimer(HWND hWnd, UINT_PTR IDEvent, UINT Period, TIMERPROC TimerFunc)
Definition: ntwrapper.h:112
EXTINLINE BOOL NtUserxDestroyCaret(VOID)
Definition: ntwrapper.h:541
EXTINLINE BOOL WINAPI HideCaret(HWND hWnd)
Definition: ntwrapper.h:527
EXTINLINE HDC WINAPI GetDCEx(HWND hWnd, HRGN hrgnClip, DWORD flags)
Definition: ntwrapper.h:284
EXTINLINE BOOL NtUserxShowOwnedPopups(HWND hWnd, BOOL fShow)
Definition: ntwrapper.h:696
EXTINLINE int WINAPI ExcludeUpdateRgn(HDC hDC, HWND hWnd)
Definition: ntwrapper.h:368
EXTINLINE BOOL WINAPI GetCaretPos(LPPOINT lpPoint)
Definition: ntwrapper.h:172
EXTINLINE UINT NtUserxArrangeIconicWindows(HWND hWnd)
Definition: ntwrapper.h:768
EXTINLINE DWORD NtUserxGetQueueStatus(UINT flags)
Definition: ntwrapper.h:666
EXTINLINE BOOL NtUserxKillSystemTimer(HWND hWnd, UINT_PTR IDEvent)
Definition: ntwrapper.h:711
EXTINLINE BOOL NtUserxMDIRedrawFrame(HWND hWnd)
Definition: ntwrapper.h:783
EXTINLINE BOOL WINAPI ChangeClipboardChain(HWND hWndRemove, HWND hWndNewNext)
Definition: ntwrapper.h:238
EXTINLINE HANDLE NtUserxMsqSetWakeMask(DWORD_PTR dwWaitMask)
Definition: ntwrapper.h:581
EXTINLINE BOOL NtUserxGetCursorPos(POINT *lpPoint)
Definition: ntwrapper.h:811
EXTINLINE BOOL WINAPI CloseWindowStation(HWINSTA hWinSta)
Definition: ntwrapper.h:118
EXTINLINE BOOL NtUserxSetMenuBarHeight(HMENU menu, INT height)
Definition: ntwrapper.h:816
EXTINLINE VOID NtUserxPostQuitMessage(int nExitCode)
Definition: ntwrapper.h:661
EXTINLINE VOID NtUserxMsqClearWakeMask(VOID)
Definition: ntwrapper.h:546
EXTINLINE UINT_PTR WINAPI SetSystemTimer(HWND hWnd, UINT_PTR IDEvent, UINT Period, TIMERPROC TimerFunc)
Definition: ntwrapper.h:106
EXTINLINE HWND NtUserxWindowFromDC(HDC hDC)
Definition: ntwrapper.h:591
EXTINLINE DWORD WINAPI DragObject(HWND hwnd1, HWND hwnd2, UINT u1, ULONG_PTR dw1, HCURSOR hc1)
Definition: ntwrapper.h:94
EXTINLINE HWND WINAPI SetCapture(HWND hWnd)
Definition: ntwrapper.h:506
EXTINLINE BOOL WINAPI EndPaint(HWND hWnd, CONST PAINTSTRUCT *lpPaint)
Definition: ntwrapper.h:362
EXTINLINE HICON NtUserxCreateEmptyCurObject(DWORD_PTR Param)
Definition: ntwrapper.h:616
EXTINLINE HDWP NtUserxBeginDeferWindowPos(INT nNumWindows)
Definition: ntwrapper.h:651
EXTINLINE HWND NtUserxSetProgmanWindow(HWND hWnd)
Definition: ntwrapper.h:763
EXTINLINE BOOL WINAPI RegisterHotKey(HWND hWnd, int id, UINT fsModifiers, UINT vk)
Definition: ntwrapper.h:326
EXTINLINE HACCEL WINAPI CreateAcceleratorTableW(LPACCEL lpaccl, int cEntries)
Definition: ntwrapper.h:154
EXTINLINE BOOL WINAPI DeleteMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: ntwrapper.h:464
EXTINLINE BOOL WINAPI IsClipboardFormatAvailable(UINT format)
Definition: ntwrapper.h:226
EXTINLINE LPARAM NtUserxGetMessageExtraInfo(VOID)
Definition: ntwrapper.h:796
EXTINLINE INT NtUserxShowCursor(BOOL bShow)
Definition: ntwrapper.h:606
EXTINLINE BOOL WINAPI GetMenuItemRect(HWND hWnd, HMENU hMenu, UINT uItem, LPRECT lprcItem)
Definition: ntwrapper.h:482
EXTINLINE BOOL WINAPI InvalidateRgn(HWND hWnd, HRGN hRgn, BOOL bErase)
Definition: ntwrapper.h:374
EXTINLINE BOOL WINAPI PaintDesktop(HDC hdc)
Definition: ntwrapper.h:40
EXTINLINE PVOID NtUserxGetDesktopMapping(PVOID ptr)
Definition: ntwrapper.h:806
EXTINLINE BOOL NtUserxSetGUIThreadHandle(DWORD_PTR field, HWND hwnd)
Definition: ntwrapper.h:821
EXTINLINE BOOL NtUserxEnableWindow(HWND hWnd, BOOL bEnable)
Definition: ntwrapper.h:681
EXTINLINE BOOL NtUserxUpdateWindow(HWND hWnd)
Definition: ntwrapper.h:773
EXTINLINE BOOL WINAPI RemoveMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: ntwrapper.h:488
EXTINLINE UINT WINAPI SendInput(UINT nInputs, LPINPUT pInputs, int cbSize)
Definition: ntwrapper.h:344
EXTINLINE BOOL WINAPI SetShellWindowEx(HWND hwndShell, HWND hwndShellListView)
Definition: ntwrapper.h:58
EXTINLINE INT WINAPI GetPriorityClipboardFormat(UINT *paFormatPriorityList, INT cFormats)
Definition: ntwrapper.h:220
EXTINLINE LPARAM NtUserxSetMessageExtraInfo(LPARAM lParam)
Definition: ntwrapper.h:601
EXTINLINE BOOL WINAPI ShowCaret(HWND hWnd)
Definition: ntwrapper.h:522
EXTINLINE BOOL NtUserxSetMessageBox(HWND hWnd)
Definition: ntwrapper.h:741
EXTINLINE BOOL NtUserxSetCaretBlinkTime(UINT uMSeconds)
Definition: ntwrapper.h:586
EXTINLINE HDC WINAPI BeginPaint(HWND hwnd, LPPAINTSTRUCT lpPaint)
Definition: ntwrapper.h:356
EXTINLINE BOOL WINAPI FlashWindowEx(PFLASHWINFO pfwi)
Definition: ntwrapper.h:296
EXTINLINE BOOL NtUserxValidateRgn(HWND hWnd, HRGN hRgn)
Definition: ntwrapper.h:671
EXTINLINE BOOL WINAPI InvalidateRect(HWND hWnd, CONST RECT *lpRect, BOOL bErase)
Definition: ntwrapper.h:512
EXTINLINE BOOL NtUserxUpdateUiState(HWND hWnd, DWORD Param)
Definition: ntwrapper.h:686
EXTINLINE BOOL WINAPI LockWindowUpdate(HWND hWndLock)
Definition: ntwrapper.h:76
EXTINLINE INT NtUserxGetKeyboardType(INT nTypeFlag)
Definition: ntwrapper.h:631
EXTINLINE BOOL WINAPI GetKeyboardState(PBYTE lpKeyState)
Definition: ntwrapper.h:320
EXTINLINE HKL NtUserxGetKeyboardLayout(DWORD idThread)
Definition: ntwrapper.h:626
EXTINLINE VOID NtUserxClearWindowState(PWND pWnd, UINT Flag)
Definition: ntwrapper.h:746
#define CONST
Definition: pedump.c:81
BYTE * PBYTE
Definition: pedump.c:66
long LONG
Definition: pedump.c:60
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:586
_Out_opt_ int * cx
Definition: commctrl.h:585
Definition: xml2sdb.h:80
Definition: ntuser.h:694
Definition: parser.c:44
uint32_t DWORD_PTR
Definition: typedefs.h:65
unsigned char * LPBYTE
Definition: typedefs.h:53
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG_PTR
Definition: typedefs.h:65
static HMENU hmenu
Definition: win.c:66
HWINSTA WINAPI GetProcessWindowStation(void)
Definition: ntwrapper.h:124
_In_ DWORD nLength
Definition: wincon.h:473
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
_In_ BOOL bEnable
Definition: winddi.h:3426
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
HICON HCURSOR
Definition: windef.h:299
#define WINAPI
Definition: msvc.h:6
_In_ UINT _In_ UINT cEntries
Definition: wingdi.h:3621
LRESULT(CALLBACK * HOOKPROC)(int, WPARAM, LPARAM)
Definition: winuser.h:2899
HWND WINAPI GetForegroundWindow(void)
Definition: ntwrapper.h:392
HWND WINAPI GetOpenClipboardWindow(void)
Definition: ntwrapper.h:214
BOOL WINAPI CloseClipboard(void)
Definition: ntwrapper.h:178
HWND WINAPI GetClipboardOwner(void)
Definition: ntwrapper.h:196
UINT WINAPI GetDoubleClickTime(void)
Definition: ntwrapper.h:314
BOOL WINAPI EmptyClipboard(void)
Definition: ntwrapper.h:190
BOOL WINAPI WaitMessage(void)
Definition: ntwrapper.h:350
int WINAPI CountClipboardFormats(void)
Definition: ntwrapper.h:184
VOID(CALLBACK * TIMERPROC)(HWND, UINT, UINT_PTR, DWORD)
Definition: winuser.h:2897
BOOL WINAPI GetScrollBarInfo(_In_ HWND, _In_ LONG, _Inout_ PSCROLLBARINFO)
HWND WINAPI GetClipboardViewer(void)
Definition: ntwrapper.h:208
UINT WINAPI GetCaretBlinkTime(void)
Definition: ntwrapper.h:166
_In_ LARGE_INTEGER _In_ ULONG Period
Definition: kefuncs.h:1313