ReactOS  0.4.14-dev-57-g333b8f1
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
14 EXTINLINE BOOL WINAPI
16 {
17  return NtUserGetScrollBarInfo(hWnd, idObject, psbi);
18 }
19 #endif
20 
21 EXTINLINE BOOL WINAPI
23 {
24  return NtUserShowScrollBar(hWnd, wBar, bShow);
25 }
26 
27 EXTINLINE BOOL WINAPI
28 CloseDesktop(HDESK hDesktop)
29 {
30  return NtUserCloseDesktop(hDesktop);
31 }
32 
33 EXTINLINE HDESK WINAPI
34 OpenInputDesktop(DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess)
35 {
36  return NtUserOpenInputDesktop(dwFlags, fInherit, dwDesiredAccess);
37 }
38 
39 EXTINLINE BOOL WINAPI
41 {
42  return NtUserPaintDesktop(hdc);
43 }
44 
45 EXTINLINE BOOL WINAPI
46 SetThreadDesktop(HDESK hDesktop)
47 {
48  return NtUserSetThreadDesktop(hDesktop);
49 }
50 
51 EXTINLINE BOOL WINAPI
52 SwitchDesktop(HDESK hDesktop)
53 {
54  return NtUserSwitchDesktop(hDesktop);
55 }
56 
57 EXTINLINE BOOL WINAPI
58 SetShellWindowEx(HWND hwndShell, HWND hwndShellListView)
59 {
60  return NtUserSetShellWindowEx(hwndShell, hwndShellListView);
61 }
62 
63 EXTINLINE DWORD WINAPI
65 {
66  return NtUserGetGuiResources(hProcess, uiFlags);
67 }
68 
69 EXTINLINE BOOL WINAPI
70 GetUserObjectInformationW(HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength, LPDWORD lpnLengthNeeded)
71 {
72  return NtUserGetObjectInformation(hObj, nIndex, pvInfo, nLength, lpnLengthNeeded);
73 }
74 
75 EXTINLINE BOOL WINAPI
77 {
78  return NtUserLockWindowUpdate(hWndLock);
79 }
80 
81 EXTINLINE BOOL WINAPI
83 {
84  return NtUserLockWorkStation();
85 }
86 
87 EXTINLINE DWORD WINAPI
89 {
90  return NtUserRegisterTasklist(x);
91 }
92 
93 EXTINLINE DWORD WINAPI
94 DragObject(HWND hwnd1, HWND hwnd2, UINT u1, ULONG_PTR dw1, HCURSOR hc1)
95 {
96  return NtUserDragObject(hwnd1, hwnd2, u1, dw1, hc1);
97 }
98 
99 EXTINLINE BOOL WINAPI
101 {
102  return NtUserKillTimer(hWnd, IDEvent);
103 }
104 
105 EXTINLINE UINT_PTR WINAPI
107 {
108  return NtUserSetSystemTimer(hWnd, IDEvent, Period, TimerFunc);
109 }
110 
111 EXTINLINE UINT_PTR WINAPI
113 {
114  return NtUserSetTimer(hWnd, IDEvent, Period, TimerFunc);
115 }
116 
117 EXTINLINE BOOL WINAPI
118 CloseWindowStation(HWINSTA hWinSta)
119 {
120  return NtUserCloseWindowStation(hWinSta);
121 }
122 
123 EXTINLINE HWINSTA WINAPI
125 {
127 }
128 
129 EXTINLINE BOOL WINAPI
130 SetProcessWindowStation(HWINSTA hWinSta)
131 {
132  return NtUserSetProcessWindowStation(hWinSta);
133 }
134 
135 EXTINLINE BOOL WINAPI
136 LockWindowStation(HWINSTA hWinSta)
137 {
138  return NtUserLockWindowStation(hWinSta);
139 }
140 
141 EXTINLINE BOOL WINAPI
142 UnlockWindowStation(HWINSTA hWinSta)
143 {
144  return NtUserUnlockWindowStation(hWinSta);
145 }
146 
147 EXTINLINE int WINAPI
148 CopyAcceleratorTableW(HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries)
149 {
150  return NtUserCopyAcceleratorTable(hAccelSrc, lpAccelDst, cAccelEntries);
151 }
152 
153 EXTINLINE HACCEL WINAPI
155 {
156  return NtUserCreateAcceleratorTable(lpaccl, cEntries);
157 }
158 
159 EXTINLINE BOOL WINAPI
160 CreateCaret(HWND hWnd, HBITMAP hBitmap, int nWidth, int nHeight)
161 {
162  return NtUserCreateCaret(hWnd, hBitmap, nWidth, nHeight);
163 }
164 
165 EXTINLINE UINT WINAPI
167 {
168  return NtUserGetCaretBlinkTime();
169 }
170 
171 EXTINLINE BOOL WINAPI
173 {
174  return NtUserGetCaretPos(lpPoint);
175 }
176 
177 EXTINLINE BOOL WINAPI
179 {
180  return NtUserCloseClipboard();
181 }
182 
183 EXTINLINE INT WINAPI
185 {
187 }
188 
189 EXTINLINE BOOL WINAPI
191 {
192  return NtUserEmptyClipboard();
193 }
194 
195 EXTINLINE HWND WINAPI
197 {
198  return NtUserGetClipboardOwner();
199 }
200 
201 EXTINLINE DWORD WINAPI
203 {
205 }
206 
207 EXTINLINE HWND WINAPI
209 {
210  return NtUserGetClipboardViewer();
211 }
212 
213 EXTINLINE HWND WINAPI
215 {
217 }
218 
219 EXTINLINE INT WINAPI
220 GetPriorityClipboardFormat(UINT *paFormatPriorityList, INT cFormats)
221 {
222  return NtUserGetPriorityClipboardFormat(paFormatPriorityList, cFormats);
223 }
224 
225 EXTINLINE BOOL WINAPI
227 {
229 }
230 
231 EXTINLINE HWND WINAPI
232 SetClipboardViewer(HWND hWndNewViewer)
233 {
234  return NtUserSetClipboardViewer(hWndNewViewer);
235 }
236 
237 EXTINLINE BOOL WINAPI
238 ChangeClipboardChain(HWND hWndRemove, HWND hWndNewNext)
239 {
240  return NtUserChangeClipboardChain(hWndRemove, hWndNewNext);
241 }
242 
243 EXTINLINE BOOL WINAPI
245 {
246  return NtUserGetClipCursor(lpRect);
247 }
248 
249 EXTINLINE HBRUSH WINAPI GetControlBrush(HWND hwnd, HDC hdc, UINT ctlType)
250 {
251  return NtUserGetControlBrush(hwnd, hdc, ctlType);
252 }
253 
254 EXTINLINE HBRUSH WINAPI GetControlColor(HWND hwndParent, HWND hwnd, HDC hdc, UINT CtlMsg)
255 {
256  return NtUserGetControlColor(hwndParent, hwnd, hdc, CtlMsg);
257 }
258 
259 EXTINLINE BOOL WINAPI
261 {
262  return NtUserGetCursorInfo(pci);
263 }
264 
265 EXTINLINE BOOL WINAPI
267 {
268  return NtUserClipCursor((RECT *)lpRect);
269 }
270 
271 EXTINLINE HCURSOR WINAPI
273 {
274  return NtUserSetCursor(hCursor);
275 }
276 
277 EXTINLINE HDC WINAPI
279 {
280  return NtUserGetDC(hWnd);
281 }
282 
283 EXTINLINE HDC WINAPI
284 GetDCEx(HWND hWnd, HRGN hrgnClip, DWORD flags)
285 {
286  return NtUserGetDCEx(hWnd, hrgnClip, flags);
287 }
288 
289 EXTINLINE HDC WINAPI
291 {
292  return NtUserGetWindowDC(hWnd);
293 }
294 
295 EXTINLINE BOOL WINAPI
296 FlashWindowEx(PFLASHWINFO pfwi)
297 {
298  return NtUserFlashWindowEx(pfwi);
299 }
300 
301 EXTINLINE BOOL WINAPI
302 DrawAnimatedRects(HWND hWnd, int idAni, CONST RECT *lprcFrom, CONST RECT *lprcTo)
303 {
304  return NtUserDrawAnimatedRects(hWnd, idAni, (RECT*)lprcFrom, (RECT*)lprcTo);
305 }
306 
307 EXTINLINE BOOL WINAPI
308 BlockInput(BOOL fBlockIt)
309 {
310  return NtUserBlockInput(fBlockIt);
311 }
312 
313 EXTINLINE UINT WINAPI
315 {
316  return NtUserGetDoubleClickTime();
317 }
318 
319 EXTINLINE BOOL WINAPI
321 {
322  return NtUserGetKeyboardState((LPBYTE)lpKeyState);
323 }
324 
325 EXTINLINE BOOL WINAPI
326 RegisterHotKey(HWND hWnd, int id, UINT fsModifiers, UINT vk)
327 {
328  return NtUserRegisterHotKey(hWnd, id, fsModifiers, vk);
329 }
330 
331 EXTINLINE HWND WINAPI
333 {
334  return NtUserSetFocus(hWnd);
335 }
336 
337 EXTINLINE BOOL WINAPI
339 {
340  return NtUserSetKeyboardState((LPBYTE)lpKeyState);
341 }
342 
343 EXTINLINE UINT WINAPI
344 SendInput(UINT nInputs, LPINPUT pInputs, int cbSize)
345 {
346  return NtUserSendInput(nInputs, pInputs, cbSize);
347 }
348 
349 EXTINLINE BOOL WINAPI
351 {
352  return NtUserWaitMessage();
353 }
354 
355 EXTINLINE HDC WINAPI
357 {
358  return NtUserBeginPaint(hwnd, lpPaint);
359 }
360 
361 EXTINLINE BOOL WINAPI
363 {
364  return NtUserEndPaint(hWnd, lpPaint);
365 }
366 
367 EXTINLINE int WINAPI
369 {
371 }
372 
373 EXTINLINE BOOL WINAPI
375 {
376  return NtUserInvalidateRgn(hWnd, hRgn, bErase);
377 }
378 
379 EXTINLINE BOOL WINAPI
380 RedrawWindow(HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
381 {
382  return NtUserRedrawWindow(hWnd, lprcUpdate, hrgnUpdate, flags);
383 }
384 
385 EXTINLINE BOOL WINAPI
387 {
388  return NtUserDestroyWindow(hWnd);
389 }
390 
391 EXTINLINE HWND WINAPI
393 {
394  return NtUserGetForegroundWindow();
395 }
396 
397 EXTINLINE BOOL WINAPI
399 {
400  return NtUserGetGUIThreadInfo(idThread, lpgui);
401 }
402 
403 EXTINLINE BOOL WINAPI
405 {
406  return NtUserGetTitleBarInfo(hwnd, pti);
407 }
408 
409 EXTINLINE BOOL WINAPI
411 {
412  return NtUserGetWindowPlacement(hWnd, lpwndpl);
413 }
414 
415 EXTINLINE BOOL WINAPI
416 MoveWindow(HWND hWnd, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
417 {
418  return NtUserMoveWindow(hWnd, X, Y, nWidth, nHeight, bRepaint);
419 }
420 
421 EXTINLINE HWND WINAPI
422 SetParent(HWND hWndChild, HWND hWndNewParent)
423 {
424  return NtUserSetParent(hWndChild, hWndNewParent);
425 }
426 
427 EXTINLINE BOOL WINAPI
429 {
430  return NtUserSetWindowPlacement(hWnd, (WINDOWPLACEMENT *)lpwndpl);
431 }
432 
433 EXTINLINE BOOL WINAPI
434 SetWindowPos(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 
439 EXTINLINE BOOL WINAPI
440 ShowWindow(HWND hWnd, int nCmdShow)
441 {
442  return NtUserShowWindow(hWnd, nCmdShow);
443 }
444 
445 EXTINLINE BOOL WINAPI
446 ShowWindowAsync(HWND hWnd, int nCmdShow)
447 {
448  return NtUserShowWindowAsync(hWnd, nCmdShow);
449 }
450 
451 EXTINLINE HWND WINAPI
453 {
454  return NtUserSetActiveWindow(hWnd);
455 }
456 
457 EXTINLINE DWORD WINAPI
459 {
460  return NtUserGetListBoxInfo(hwnd); // Do it right! Have the message org from kmode!
461 }
462 
463 EXTINLINE BOOL WINAPI
464 DeleteMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
465 {
466  return NtUserDeleteMenu(hMenu, uPosition, uFlags);
467 }
468 
469 EXTINLINE BOOL WINAPI
471 {
472  return NtUserDestroyMenu(hMenu);
473 }
474 
475 /*EXTINLINE BOOL WINAPI
476 GetMenuBarInfo(HWND hwnd, LONG idObject, LONG idItem, PMENUBARINFO pmbi)
477 {
478  return NtUserGetMenuBarInfo(hwnd, idObject, idItem, pmbi);
479 }
480 */
481 EXTINLINE BOOL WINAPI
482 GetMenuItemRect(HWND hWnd, HMENU hMenu, UINT uItem, LPRECT lprcItem)
483 {
484  return NtUserGetMenuItemRect(hWnd, hMenu, uItem, lprcItem);
485 }
486 
487 EXTINLINE BOOL WINAPI
488 RemoveMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
489 {
490  return NtUserRemoveMenu(hMenu, uPosition, uFlags);
491 }
492 
493 EXTINLINE BOOL WINAPI
494 SetMenuDefaultItem(HMENU hMenu, UINT uItem, UINT fByPos)
495 {
496  return NtUserSetMenuDefaultItem(hMenu, uItem, fByPos);
497 }
498 
499 EXTINLINE BOOL WINAPI
501 {
502  return NtUserSetMenuContextHelpId(hmenu, dwContextHelpId);
503 }
504 
505 EXTINLINE HWND WINAPI
507 {
508  return NtUserSetCapture(hWnd);
509 }
510 
511 EXTINLINE 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 
586 EXTINLINE BOOL NtUserxSetCaretBlinkTime(UINT uMSeconds)
587 {
589 }
590 
592 {
594 }
595 
597 {
599 }
600 
602 {
604 }
605 
606 EXTINLINE INT NtUserxShowCursor(BOOL bShow)
607 {
609 }
610 
612 {
614 }
615 
617 {
619 }
620 
621 EXTINLINE BOOL NtUserxMessageBeep(UINT uType)
622 {
624 }
625 
626 EXTINLINE HKL NtUserxGetKeyboardLayout(DWORD idThread)
627 {
629 }
630 
631 EXTINLINE INT NtUserxGetKeyboardType(INT nTypeFlag)
632 {
634 }
635 
637 {
639 }
640 
642 {
644 }
645 
646 EXTINLINE VOID NtUserxCreateSystemThreads(BOOL bRemoteProcess)
647 {
648  NtUserCallOneParam(bRemoteProcess, ONEPARAM_ROUTINE_CREATESYSTEMTHREADS);
649 }
650 
651 EXTINLINE HDWP NtUserxBeginDeferWindowPos(INT nNumWindows)
652 {
654 }
655 
656 EXTINLINE BOOL NtUserxReplyMessage(LRESULT lResult)
657 {
659 }
660 
661 EXTINLINE 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 
701 EXTINLINE 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 
811 EXTINLINE 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 
831 EXTINLINE BOOL NtUserxRegisterLogonProcess(DWORD dwProcessId, BOOL bRegister)
832 {
834 }
835 
837 {
839 }
840 
842 {
844 }
DWORD NTAPI NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:755
UINT_PTR NTAPI NtUserSetTimer(HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc)
Definition: timer.c:630
EXTINLINE BOOL NtUserxSetCaretBlinkTime(UINT uMSeconds)
Definition: ntwrapper.h:586
EXTINLINE HDESK WINAPI OpenInputDesktop(DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess)
Definition: ntwrapper.h:34
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
BOOL NTAPI NtUserGetCaretPos(LPPOINT lpPoint)
Definition: caret.c:395
EXTINLINE HACCEL WINAPI CreateAcceleratorTableW(LPACCEL lpaccl, int cEntries)
Definition: ntwrapper.h:154
#define ONEPARAM_ROUTINE_ENABLEPROCWNDGHSTING
Definition: ntuser.h:3538
static HICON
Definition: imagelist.c:84
EXTINLINE BOOL WINAPI DestroyWindow(HWND hWnd)
Definition: ntwrapper.h:386
EXTINLINE BOOL WINAPI RemoveMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: ntwrapper.h:488
EXTINLINE INT NtUserxReleaseDC(HDC hDC)
Definition: ntwrapper.h:636
EXTINLINE BOOL WINAPI ChangeClipboardChain(HWND hWndRemove, HWND hWndNewNext)
Definition: ntwrapper.h:238
DWORD_PTR NTAPI NtUserGetThreadState(DWORD Routine)
Definition: misc.c:231
HDESK NTAPI NtUserOpenInputDesktop(DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess)
Definition: desktop.c:2637
EXTINLINE BOOL NtUserxSetCursorPos(INT x, INT y)
Definition: ntwrapper.h:676
EXTINLINE INT WINAPI CountClipboardFormats(VOID)
Definition: ntwrapper.h:184
EXTINLINE BOOL WINAPI GetCursorInfo(PCURSORINFO pci)
Definition: ntwrapper.h:260
DWORD NTAPI NtUserDragObject(HWND hwnd1, HWND hwnd2, UINT u1, DWORD dw1, HCURSOR hc1)
Definition: ntstubs.c:71
static HMENU hmenu
Definition: win.c:66
#define Y(I)
HWND NTAPI NtUserSetCapture(HWND Wnd)
Definition: focus.c:1587
EXTINLINE int WINAPI CopyAcceleratorTableW(HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries)
Definition: ntwrapper.h:148
DWORD NTAPI NtUserGetListBoxInfo(HWND hWnd)
Definition: window.c:3383
EXTINLINE LPARAM NtUserxGetMessageExtraInfo(VOID)
Definition: ntwrapper.h:796
EXTINLINE VOID NtUserxCreateSystemThreads(BOOL bRemoteProcess)
Definition: ntwrapper.h:646
EXTINLINE BOOL WINAPI GetKeyboardState(PBYTE lpKeyState)
Definition: ntwrapper.h:320
EXTINLINE UINT WINAPI GetCaretBlinkTime(VOID)
Definition: ntwrapper.h:166
EXTINLINE BOOL WINAPI GetClipCursor(LPRECT lpRect)
Definition: ntwrapper.h:244
BOOL NTAPI NtUserCreateCaret(HWND hWnd, HBITMAP hBitmap, int nWidth, int nHeight)
Definition: caret.c:309
EXTINLINE BOOL NtUserxMDIRedrawFrame(HWND hWnd)
Definition: ntwrapper.h:783
EXTINLINE BOOL WINAPI PaintDesktop(HDC hdc)
Definition: ntwrapper.h:40
HCURSOR NTAPI NtUserSetCursor(HCURSOR hCursor)
Definition: cursoricon.c:1049
EXTINLINE DWORD NtUserxGetWindowContextHelpId(HWND hwnd)
Definition: ntwrapper.h:726
BOOL NTAPI NtUserRegisterHotKey(HWND hWnd, int id, UINT fsModifiers, UINT vk)
Definition: hotkey.c:512
EXTINLINE BOOL NtUserxRegisterLogonProcess(DWORD dwProcessId, BOOL bRegister)
Definition: ntwrapper.h:831
HWND NTAPI NtUserGetClipboardViewer(VOID)
Definition: clipboard.c:797
BOOL NTAPI NtUserUnlockWindowStation(HWINSTA hWindowStation)
Definition: winsta.c:1549
BOOL NTAPI NtUserCloseClipboard(VOID)
Definition: clipboard.c:586
static HDC
Definition: imagelist.c:92
_In_ DWORD nLength
Definition: wincon.h:461
HWND hWnd
Definition: settings.c:17
EXTINLINE VOID NtUserxSetDialogPointer(HWND hWnd, PVOID dlgInfo)
Definition: ntwrapper.h:716
EXTINLINE BOOL NtUserxSetMessageBox(HWND hWnd)
Definition: ntwrapper.h:741
static HRGN hRgn
Definition: mapping.c:33
BOOL NTAPI NtUserGetScrollBarInfo(HWND hWnd, LONG idObject, PSCROLLBARINFO psbi)
Definition: scrollbar.c:1172
INT NTAPI NtUserGetPriorityClipboardFormat(UINT *paFormatPriorityList, INT cFormats)
Definition: clipboard.c:820
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
_In_ LARGE_INTEGER _In_ ULONG Period
Definition: kefuncs.h:1268
EXTINLINE VOID NtUserxClearWindowState(PWND pWnd, UINT Flag)
Definition: ntwrapper.h:746
EXTINLINE BOOL WINAPI SetKeyboardState(LPBYTE lpKeyState)
Definition: ntwrapper.h:338
HBRUSH NTAPI NtUserGetControlBrush(HWND hwnd, HDC hdc, UINT ctlType)
Definition: misc.c:182
EXTINLINE BOOL WINAPI GetGUIThreadInfo(DWORD idThread, LPGUITHREADINFO lpgui)
Definition: ntwrapper.h:398
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:70
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
EXTINLINE DWORD WINAPI GetGuiResources(HANDLE hProcess, DWORD uiFlags)
Definition: ntwrapper.h:64
EXTINLINE BOOL NtUserxDrawMenuBar(HWND hWnd)
Definition: ntwrapper.h:778
EXTINLINE HWND WINAPI GetClipboardOwner(VOID)
Definition: ntwrapper.h:196
EXTINLINE BOOL WINAPI SetMenuContextHelpId(HMENU hmenu, DWORD dwContextHelpId)
Definition: ntwrapper.h:500
BOOL NTAPI NtUserValidateRect(HWND hWnd, CONST RECT *lpRect)
HICON HCURSOR
Definition: windef.h:284
UINT NTAPI NtUserGetCaretBlinkTime(VOID)
Definition: caret.c:380
UINT uFlags
Definition: api.c:60
GLdouble u1
Definition: glext.h:8308
EXTINLINE DWORD NtUserxGetQueueStatus(UINT flags)
Definition: ntwrapper.h:666
EXTINLINE HWND WINAPI GetClipboardViewer(VOID)
Definition: ntwrapper.h:208
EXTINLINE BOOL NtUserxDeregisterShellHookWindow(HWND hWnd)
Definition: ntwrapper.h:731
EXTINLINE BOOL NtUserxDestroyCaret(VOID)
Definition: ntwrapper.h:541
EXTINLINE HWND WINAPI GetForegroundWindow(VOID)
Definition: ntwrapper.h:392
EXTINLINE HWND WINAPI SetActiveWindow(HWND hWnd)
Definition: ntwrapper.h:452
EXTINLINE HDC WINAPI GetDCEx(HWND hWnd, HRGN hrgnClip, DWORD flags)
Definition: ntwrapper.h:284
EXTINLINE BOOL NtUserxGetCursorPos(POINT *lpPoint)
Definition: ntwrapper.h:811
HDC NTAPI NtUserGetDC(HWND hWnd)
Definition: windc.c:1013
#define FASTCALL
Definition: nt_native.h:50
BOOL NTAPI NtUserInvalidateRect(HWND hWnd, CONST RECT *lpRect, BOOL bErase)
Definition: painting.c:2532
EXTINLINE BOOL WINAPI LockWindowStation(HWINSTA hWinSta)
Definition: ntwrapper.h:136
int32_t INT
Definition: typedefs.h:56
UINT NTAPI NtUserSendInput(UINT nInputs, LPINPUT pInput, INT cbSize)
Definition: input.c:707
EXTINLINE BOOL WINAPI CreateCaret(HWND hWnd, HBITMAP hBitmap, int nWidth, int nHeight)
Definition: ntwrapper.h:160
VOID(CALLBACK * TIMERPROC)(HWND, UINT, UINT_PTR, DWORD)
Definition: winuser.h:2871
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
BOOL NTAPI NtUserGetObjectInformation(HANDLE hObject, DWORD nIndex, PVOID pvInformation, DWORD nLength, PDWORD nLengthNeeded)
Definition: winsta.c:1063
DWORD NTAPI NtUserGetGuiResources(HANDLE hProcess, DWORD uiFlags)
Definition: misc.c:505
LRESULT(CALLBACK * HOOKPROC)(int, WPARAM, LPARAM)
Definition: winuser.h:2873
BOOL NTAPI NtUserEmptyClipboard(VOID)
Definition: clipboard.c:719
EXTINLINE BOOL WINAPI KillTimer(HWND hWnd, UINT_PTR IDEvent)
Definition: ntwrapper.h:100
EXTINLINE BOOL WINAPI DeleteMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: ntwrapper.h:464
EXTINLINE BOOL WINAPI SetProcessWindowStation(HWINSTA hWinSta)
Definition: ntwrapper.h:130
EXTINLINE HICON NtUserxCreateEmptyCurObject(DWORD_PTR Param)
Definition: ntwrapper.h:616
HBRUSH NTAPI NtUserGetControlColor(HWND hwndParent, HWND hwnd, HDC hdc, UINT CtlMsg)
Definition: misc.c:206
uint32_t ULONG_PTR
Definition: typedefs.h:63
EXTINLINE VOID NtUserxMsqClearWakeMask(VOID)
Definition: ntwrapper.h:546
EXTINLINE BOOL NtUserxRegisterShellHookWindow(HWND hWnd)
Definition: ntwrapper.h:736
EXTINLINE BOOL NtUserxUnInitMessagePump(VOID)
Definition: ntwrapper.h:576
HWND NTAPI NtUserSetActiveWindow(HWND Wnd)
Definition: focus.c:1546
EXTINLINE DWORD NtUserxGetMessagePos(VOID)
Definition: ntwrapper.h:561
EXTINLINE HWND WINAPI GetOpenClipboardWindow(VOID)
Definition: ntwrapper.h:214
BOOL NTAPI NtUserCloseDesktop(HDESK hDesktop)
Definition: desktop.c:2677
EXTINLINE DWORD WINAPI DragObject(HWND hwnd1, HWND hwnd2, UINT u1, ULONG_PTR dw1, HCURSOR hc1)
Definition: ntwrapper.h:94
BOOL NTAPI NtUserSwitchDesktop(HDESK hDesktop)
Definition: desktop.c:2888
EXTINLINE DWORD WINAPI GetListBoxInfo(HWND hwnd)
Definition: ntwrapper.h:458
EXTINLINE BOOL NtUserxEnableWindow(HWND hWnd, BOOL bEnable)
Definition: ntwrapper.h:681
unsigned char * LPBYTE
Definition: typedefs.h:52
EXTINLINE HMENU NtUserxCreateMenu(VOID)
Definition: ntwrapper.h:551
EXTINLINE HKL NtUserxGetKeyboardLayout(DWORD idThread)
Definition: ntwrapper.h:626
#define TWOPARAM_ROUTINE_ROS_UPDATEUISTATE
Definition: ntuser.h:3551
EXTINLINE BOOL NtUserxKillSystemTimer(HWND hWnd, UINT_PTR IDEvent)
Definition: ntwrapper.h:711
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
EXTINLINE INT NtUserxShowCursor(BOOL bShow)
Definition: ntwrapper.h:606
EXTINLINE BOOL NtUserxLockSetForegroundWindow(UINT uLockCode)
Definition: ntwrapper.h:841
EXTINLINE HCURSOR WINAPI SetCursor(HCURSOR hCursor)
Definition: ntwrapper.h:272
BOOL NTAPI NtUserSetMenuDefaultItem(HMENU hMenu, UINT uItem, UINT fByPos)
Definition: menu.c:6475
EXTINLINE BOOL WINAPI FlashWindowEx(PFLASHWINFO pfwi)
Definition: ntwrapper.h:296
static PVOID ptr
Definition: dispmode.c:27
BOOL NTAPI NtUserCallHwndLock(HWND hWnd, DWORD Routine)
Definition: simplecall.c:577
HWND NTAPI NtUserGetOpenClipboardWindow(VOID)
Definition: clipboard.c:598
HDC NTAPI NtUserBeginPaint(HWND hWnd, PAINTSTRUCT *lPs)
Definition: painting.c:1593
EXTINLINE BOOL WINAPI SetMenuDefaultItem(HMENU hMenu, UINT uItem, UINT fByPos)
Definition: ntwrapper.h:494
BOOL NTAPI NtUserEndPaint(HWND hWnd, CONST PAINTSTRUCT *lPs)
Definition: painting.c:1640
BOOL NTAPI NtUserGetCursorInfo(PCURSORINFO pci)
Definition: cursoricon.c:645
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
EXTINLINE BOOL WINAPI EndPaint(HWND hWnd, CONST PAINTSTRUCT *lpPaint)
Definition: ntwrapper.h:362
EXTINLINE UINT NtUserxArrangeIconicWindows(HWND hWnd)
Definition: ntwrapper.h:768
EXTINLINE INT NtUserxGetKeyboardType(INT nTypeFlag)
Definition: ntwrapper.h:631
UINT NTAPI NtUserGetDoubleClickTime(VOID)
Definition: misc.c:355
BOOL NTAPI NtUserKillTimer(HWND hWnd, UINT_PTR uIDEvent)
Definition: timer.c:657
static HWND hwndParent
Definition: cryptui.c:300
EXTINLINE BOOL WINAPI ShowCaret(HWND hWnd)
Definition: ntwrapper.h:522
BOOLEAN NTAPI NtUserDestroyWindow(HWND Wnd)
Definition: window.c:2832
EXTINLINE HWND WINAPI SetFocus(HWND hWnd)
Definition: ntwrapper.h:332
EXTINLINE INT WINAPI GetPriorityClipboardFormat(UINT *paFormatPriorityList, INT cFormats)
Definition: ntwrapper.h:220
LONG_PTR LPARAM
Definition: windef.h:208
EXTINLINE BOOL WINAPI GetMenuItemRect(HWND hWnd, HMENU hMenu, UINT uItem, LPRECT lprcItem)
Definition: ntwrapper.h:482
EXTINLINE BOOL WINAPI SetWindowPlacement(HWND hWnd, CONST WINDOWPLACEMENT *lpwndpl)
Definition: ntwrapper.h:428
EXTINLINE BOOL WINAPI ShowWindowAsync(HWND hWnd, int nCmdShow)
Definition: ntwrapper.h:446
EXTINLINE BOOL WINAPI DestroyMenu(HMENU hMenu)
Definition: ntwrapper.h:470
HWND NTAPI NtUserSetFocus(HWND hWnd)
Definition: focus.c:1606
BOOL WINAPI GetScrollBarInfo(_In_ HWND, _In_ LONG, _Inout_ PSCROLLBARINFO)
EXTINLINE VOID NtUserxNotifyWinEvent(HWND hWnd, PVOID ne)
Definition: ntwrapper.h:721
BOOL NTAPI NtUserLockWindowStation(HWINSTA hWindowStation)
Definition: winsta.c:1505
EXTINLINE VOID NtUserxSetWindowState(PWND pWnd, UINT Flag)
Definition: ntwrapper.h:752
EXTINLINE BOOL WINAPI ValidateRect(HWND hWnd, CONST RECT *lpRect)
Definition: ntwrapper.h:517
BOOL NTAPI NtUserLockWindowUpdate(HWND hWnd)
Definition: ntstubs.c:948
EXTINLINE HWND NtUserxWindowFromDC(HDC hDC)
Definition: ntwrapper.h:591
#define UserHMGetHandle(obj)
Definition: ntuser.h:208
BOOL NTAPI NtUserGetGUIThreadInfo(DWORD idThread, LPGUITHREADINFO lpgui)
Definition: misc.c:372
#define HWNDPARAM_ROUTINE_ROS_NOTIFYWINEVENT
Definition: ntuser.h:3552
BOOL NTAPI NtUserShowWindowAsync(HWND hWnd, LONG nCmdShow)
Definition: winpos.c:3652
EXTINLINE BOOL WINAPI LockWindowUpdate(HWND hWndLock)
Definition: ntwrapper.h:76
EXTINLINE VOID NtUserxPostQuitMessage(int nExitCode)
Definition: ntwrapper.h:661
EXTINLINE BOOL NtUserxAllowSetForegroundWindow(DWORD dwProcessId)
Definition: ntwrapper.h:836
BOOL NTAPI NtUserSetProcessWindowStation(HWINSTA hWindowStation)
Definition: winsta.c:1482
EXTINLINE HWND WINAPI SetParent(HWND hWndChild, HWND hWndNewParent)
Definition: ntwrapper.h:422
EXTINLINE HMENU NtUserxCreatePopupMenu(VOID)
Definition: ntwrapper.h:556
EXTINLINE BOOL NtUserxUpdateWindow(HWND hWnd)
Definition: ntwrapper.h:773
BOOL NTAPI NtUserShowCaret(HWND hWnd)
Definition: caret.c:426
EXTINLINE BOOL WINAPI CloseDesktop(HDESK hDesktop)
Definition: ntwrapper.h:28
BOOL NTAPI NtUserChangeClipboardChain(HWND hWndRemove, HWND hWndNewNext)
Definition: clipboard.c:621
BOOL FASTCALL TestState(PWND, UINT)
Definition: misc.c:187
INT NTAPI NtUserExcludeUpdateRgn(HDC hDC, HWND hWnd)
Definition: painting.c:2509
Definition: parser.c:43
EXTINLINE int WINAPI ExcludeUpdateRgn(HDC hDC, HWND hWnd)
Definition: ntwrapper.h:368
BOOL NTAPI NtUserGetWindowPlacement(HWND hWnd, WINDOWPLACEMENT *lpwndpl)
Definition: winpos.c:3283
EXTINLINE BOOL WINAPI IsClipboardFormatAvailable(UINT format)
Definition: ntwrapper.h:226
BOOL NTAPI NtUserGetClipCursor(RECT *lpRect)
HWND NTAPI NtUserCallHwndOpt(HWND hWnd, DWORD Routine)
Definition: simplecall.c:679
#define WINAPI
Definition: msvc.h:8
Definition: xml2sdb.h:79
EXTINLINE VOID NtUserxEnableProcessWindowGhosting(BOOL bEnable)
Definition: ntwrapper.h:801
EXTINLINE BOOL WINAPI DrawAnimatedRects(HWND hWnd, int idAni, CONST RECT *lprcFrom, CONST RECT *lprcTo)
Definition: ntwrapper.h:302
HACCEL NTAPI NtUserCreateAcceleratorTable(LPACCEL Entries, ULONG EntriesCount)
Definition: accelerator.c:229
unsigned long DWORD
Definition: ntddk_ex.h:95
EXTINLINE HDC WINAPI GetDC(HWND hWnd)
Definition: ntwrapper.h:278
EXTINLINE BOOL WINAPI SwitchDesktop(HDESK hDesktop)
Definition: ntwrapper.h:52
#define TWOPARAM_ROUTINE_SETMENUBARHEIGHT
Definition: ntuser.h:3540
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
DWORD NTAPI NtUserShowScrollBar(HWND hWnd, int wBar, DWORD bShow)
Definition: scrollbar.c:1409
EXTINLINE BOOL WINAPI RegisterHotKey(HWND hWnd, int id, UINT fsModifiers, UINT vk)
Definition: ntwrapper.h:326
EXTINLINE BOOL WINAPI ClipCursor(CONST RECT *lpRect)
Definition: ntwrapper.h:266
BOOL NTAPI NtUserInvalidateRgn(HWND hWnd, HRGN hRgn, BOOL bErase)
Definition: painting.c:2548
EXTINLINE UINT_PTR WINAPI SetTimer(HWND hWnd, UINT_PTR IDEvent, UINT Period, TIMERPROC TimerFunc)
Definition: ntwrapper.h:112
BOOL NTAPI NtUserLockWorkStation(VOID)
Definition: winsta.c:1936
EXTINLINE BOOL WINAPI LockWorkStation(VOID)
Definition: ntwrapper.h:82
GLbitfield flags
Definition: glext.h:7161
_In_ UINT _In_ UINT cEntries
Definition: wingdi.h:3615
DWORD NTAPI NtUserCountClipboardFormats(VOID)
Definition: clipboard.c:655
EXTINLINE BOOL WINAPI UnlockWindowStation(HWINSTA hWinSta)
Definition: ntwrapper.h:142
BOOL NTAPI NtUserSetWindowPlacement(HWND hWnd, WINDOWPLACEMENT *lpwndpl)
Definition: winpos.c:3600
BOOL NTAPI NtUserSetThreadDesktop(HDESK hDesktop)
Definition: desktop.c:3403
EXTINLINE BOOL NtUserxSetGUIThreadHandle(DWORD_PTR field, HWND hwnd)
Definition: ntwrapper.h:821
BOOL NTAPI NtUserFlashWindowEx(IN PFLASHWINFO pfwi)
Definition: painting.c:1731
BOOL NTAPI NtUserCloseWindowStation(HWINSTA hWinSta)
Definition: winsta.c:983
EXTINLINE BOOL NtUserxMessageBeep(UINT uType)
Definition: ntwrapper.h:621
HDC hdc
Definition: main.c:9
EXTINLINE UINT WINAPI SendInput(UINT nInputs, LPINPUT pInputs, int cbSize)
Definition: ntwrapper.h:344
UINT_PTR NTAPI NtUserSetSystemTimer(HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc)
Definition: timer.c:680
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
EXTINLINE VOID NtUserxSwitchToThisWindow(HWND hWnd, BOOL fAltTab)
Definition: ntwrapper.h:691
EXTINLINE BOOL NtUserxSetMenuBarHeight(HMENU menu, INT height)
Definition: ntwrapper.h:816
UINT_PTR HKL
Definition: msctf.idl:101
EXTINLINE BOOL NtUserxValidateRgn(HWND hWnd, HRGN hRgn)
Definition: ntwrapper.h:671
EXTINLINE BOOL WINAPI BlockInput(BOOL fBlockIt)
Definition: ntwrapper.h:308
uint32_t DWORD_PTR
Definition: typedefs.h:63
BOOL NTAPI NtUserIsClipboardFormatAvailable(UINT format)
Definition: clipboard.c:869
BOOL NTAPI NtUserWaitMessage(VOID)
Definition: message.c:2116
DWORD NTAPI NtUserCallHwndParamLock(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:864
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
EXTINLINE DWORD WINAPI GetClipboardSequenceNumber(VOID)
Definition: ntwrapper.h:202
EXTINLINE HDWP NtUserxBeginDeferWindowPos(INT nNumWindows)
Definition: ntwrapper.h:651
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59
ULONG NTAPI NtUserCopyAcceleratorTable(HACCEL Table, LPACCEL Entries, ULONG EntriesCount)
Definition: accelerator.c:171
Definition: ntuser.h:657
EXTINLINE BOOL NtUserxSetForegroundWindow(HWND hWnd)
Definition: ntwrapper.h:788
EXTINLINE BOOL NtUserxReleaseCapture(VOID)
Definition: ntwrapper.h:566
static HDC hDC
Definition: 3dtext.c:33
BOOL NTAPI NtUserRemoveMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: menu.c:6376
EXTINLINE BOOL WINAPI InvalidateRgn(HWND hWnd, HRGN hRgn, BOOL bErase)
Definition: ntwrapper.h:374
EXTINLINE BOOL WINAPI ShowWindow(HWND hWnd, int nCmdShow)
Definition: ntwrapper.h:440
_In_ BOOL bEnable
Definition: winddi.h:3426
BOOL NTAPI NtUserRedrawWindow(HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
Definition: painting.c:1990
HWND NTAPI NtUserSetClipboardViewer(HWND hWndNewViewer)
Definition: clipboard.c:1111
EXTINLINE BOOL WINAPI SetThreadDesktop(HDESK hDesktop)
Definition: ntwrapper.h:46
BOOL NTAPI NtUserGetMenuItemRect(HWND hWnd, HMENU hMenu, UINT uItem, LPRECT lprcItem)
#define TWOPARAM_ROUTINE_SETGUITHRDHANDLE
Definition: ntuser.h:3541
EXTINLINE BOOL WINAPI GetTitleBarInfo(HWND hwnd, PTITLEBARINFO pti)
Definition: ntwrapper.h:404
EXTINLINE BOOL NtUserxSetWindowContextHelpId(HWND hWnd, DWORD_PTR dwContextHelpId)
Definition: ntwrapper.h:706
DWORD NTAPI NtUserGetKeyboardState(LPBYTE Unknown0)
Definition: msgqueue.c:2589
EXTINLINE BOOL WINAPI SetShellWindowEx(HWND hwndShell, HWND hwndShellListView)
Definition: ntwrapper.h:58
EXTINLINE DWORD WINAPI RegisterTasklist(DWORD x)
Definition: ntwrapper.h:88
#define ONEPARAM_ROUTINE_GETDESKTOPMAPPING
Definition: ntuser.h:3539
BOOL NTAPI NtUserShowWindow(HWND hWnd, LONG nCmdShow)
Definition: winpos.c:3691
EXTINLINE BOOL WINAPI SetWindowPos(HWND hWnd, HWND hWndAfter, int X, int Y, int cx, int cy, UINT uFlags)
Definition: ntwrapper.h:434
HWINSTA NTAPI NtUserGetProcessWindowStation(VOID)
Definition: winsta.c:1340
HDC NTAPI NtUserGetWindowDC(HWND hWnd)
Definition: windc.c:1007
BOOL NTAPI NtUserSetWindowPos(HWND hWnd, HWND hWndInsertAfter, int X, int Y, int cx, int cy, UINT uFlags)
Definition: winpos.c:3400
HWND NTAPI NtUserSetParent(HWND hWndChild, HWND hWndNewParent)
Definition: window.c:3456
BOOL NTAPI NtUserBlockInput(BOOL BlockIt)
Definition: input.c:419
EXTINLINE BOOL NtUserxSwapMouseButton(BOOL fSwap)
Definition: ntwrapper.h:596
unsigned int UINT
Definition: ndis.h:50
HDC NTAPI NtUserGetDCEx(HWND hWnd, HANDLE hRegion, ULONG Flags)
Definition: windc.c:973
HWND NTAPI NtUserGetForegroundWindow(VOID)
Definition: focus.c:1530
BOOL NTAPI NtUserClipCursor(RECT *lpRect)
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
EXTINLINE BOOL WINAPI RedrawWindow(HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
Definition: ntwrapper.h:380
EXTINLINE BOOL NtUserxShowOwnedPopups(HWND hWnd, BOOL fShow)
Definition: ntwrapper.h:696
EXTINLINE UINT NtUserxEnumClipboardFormats(UINT format)
Definition: ntwrapper.h:611
EXTINLINE LPARAM NtUserxSetMessageExtraInfo(LPARAM lParam)
Definition: ntwrapper.h:601
_Out_opt_ int * cx
Definition: commctrl.h:570
BOOL NTAPI NtUserSetKeyboardState(LPBYTE lpKeyState)
Definition: msgqueue.c:2627
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426
EXTINLINE HANDLE NtUserxMsqSetWakeMask(DWORD_PTR dwWaitMask)
Definition: ntwrapper.h:581
uint32_t * LPDWORD
Definition: typedefs.h:57
BOOL NTAPI NtUserDrawAnimatedRects(HWND hwnd, INT idAni, RECT *lprcFrom, RECT *lprcTo)
Definition: ntstubs.c:86
EXTINLINE BOOL WINAPI CloseWindowStation(HWINSTA hWinSta)
Definition: ntwrapper.h:118
EXTINLINE HWND NtUserxSetProgmanWindow(HWND hWnd)
Definition: ntwrapper.h:763
EXTINLINE BOOL WINAPI CloseClipboard(VOID)
Definition: ntwrapper.h:178
EXTINLINE BOOL NtUserxReplyMessage(LRESULT lResult)
Definition: ntwrapper.h:656
EXTINLINE HDC WINAPI GetWindowDC(HWND hWnd)
Definition: ntwrapper.h:290
EXTINLINE BOOL WINAPI EmptyClipboard(VOID)
Definition: ntwrapper.h:190
EXTINLINE HWND WINAPI SetClipboardViewer(HWND hWndNewViewer)
Definition: ntwrapper.h:232
EXTINLINE HDC WINAPI BeginPaint(HWND hwnd, LPPAINTSTRUCT lpPaint)
Definition: ntwrapper.h:356
static HBITMAP
Definition: button.c:44
EXTINLINE HBRUSH WINAPI GetControlBrush(HWND hwnd, HDC hdc, UINT ctlType)
Definition: ntwrapper.h:249
DWORD NTAPI NtUserRegisterTasklist(DWORD Unknown0)
Definition: ntstubs.c:237
EXTINLINE BOOL WINAPI InvalidateRect(HWND hWnd, CONST RECT *lpRect, BOOL bErase)
Definition: ntwrapper.h:512
DWORD NTAPI NtUserGetClipboardSequenceNumber(VOID)
Definition: clipboard.c:1161
EXTINLINE BOOL WINAPI ShowScrollBar(HWND hWnd, INT wBar, BOOL bShow)
Definition: ntwrapper.h:22
EXTINLINE BOOL WINAPI GetUserObjectInformationW(HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength, LPDWORD lpnLengthNeeded)
Definition: ntwrapper.h:70
EXTINLINE HBRUSH WINAPI GetControlColor(HWND hwndParent, HWND hwnd, HDC hdc, UINT CtlMsg)
Definition: ntwrapper.h:254
LONG_PTR LRESULT
Definition: windef.h:209
EXTINLINE UINT_PTR WINAPI SetSystemTimer(HWND hWnd, UINT_PTR IDEvent, UINT Period, TIMERPROC TimerFunc)
Definition: ntwrapper.h:106
HWND NTAPI NtUserGetClipboardOwner(VOID)
Definition: clipboard.c:774
EXTINLINE BOOL NtUserxSetCaretPos(INT x, INT y)
Definition: ntwrapper.h:826
HWND hWndChild[NUM_TABS]
Definition: main.h:75
BOOL NTAPI NtUserSetShellWindowEx(HWND hwndShell, HWND hwndShellListView)
Definition: window.c:3524
BOOL NTAPI NtUserSetMenuContextHelpId(HMENU hmenu, DWORD dwContextHelpId)
Definition: menu.c:6448
EXTINLINE UINT NtUserxRealizePalette(HDC hDC)
Definition: ntwrapper.h:641
EXTINLINE BOOL WINAPI HideCaret(HWND hWnd)
Definition: ntwrapper.h:527
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60
EXTINLINE HWINSTA WINAPI GetProcessWindowStation(VOID)
Definition: ntwrapper.h:124
EXTINLINE BOOL WINAPI GetCaretPos(LPPOINT lpPoint)
Definition: ntwrapper.h:172
EXTINLINE UINT WINAPI GetDoubleClickTime(VOID)
Definition: ntwrapper.h:314
BYTE * PBYTE
Definition: pedump.c:66
static HBITMAP hBitmap
Definition: timezone.c:35
LPARAM lParam
Definition: combotst.c:139
EXTINLINE PVOID NtUserxGetDesktopMapping(PVOID ptr)
Definition: ntwrapper.h:806
EXTINLINE BOOL WINAPI GetWindowPlacement(HWND hWnd, WINDOWPLACEMENT *lpwndpl)
Definition: ntwrapper.h:410
BOOL NTAPI NtUserDestroyMenu(HMENU hMenu)
Definition: menu.c:5826
BOOL NTAPI NtUserDeleteMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: menu.c:5609
#define CONST
Definition: pedump.c:81
ULONG ACCESS_MASK
Definition: nt_native.h:40
EXTINLINE HWND WINAPI SetCapture(HWND hWnd)
Definition: ntwrapper.h:506
BOOL NTAPI NtUserPaintDesktop(HDC hDC)
Definition: desktop.c:2734
EXTINLINE BOOL NtUserxUnhookWindowsHook(int nCode, HOOKPROC pfnFilterProc)
Definition: ntwrapper.h:701
EXTINLINE BOOL NtUserxUpdateUiState(HWND hWnd, DWORD Param)
Definition: ntwrapper.h:686
EXTINLINE BOOL WINAPI WaitMessage(VOID)
Definition: ntwrapper.h:350
EXTINLINE HWND NtUserxSetTaskmanWindow(HWND hWnd)
Definition: ntwrapper.h:758
BOOL NTAPI NtUserHideCaret(HWND hWnd)
Definition: caret.c:457
EXTINLINE BOOL WINAPI MoveWindow(HWND hWnd, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
Definition: ntwrapper.h:416
BOOLEAN NTAPI NtUserGetTitleBarInfo(HWND hwnd, PTITLEBARINFO pti)
Definition: menu.c:5738
DWORD NTAPI NtUserCallHwnd(HWND hWnd, DWORD Routine)
Definition: simplecall.c:699
BOOL NTAPI NtUserMoveWindow(HWND hWnd, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
Definition: winpos.c:3363
EXTINLINE BOOL NtUserxInitMessagePump(VOID)
Definition: ntwrapper.h:571