fix bug 838 (Sol.exe is missing it's menubar)
[reactos.git] / reactos / include / win32k / ntuser.h
1 #ifndef __WIN32K_NTUSER_H
2 #define __WIN32K_NTUSER_H
3
4
5 ULONG STDCALL
6 NtUserGetSystemMetrics(ULONG Index);
7
8 DWORD STDCALL
9 NtUserGetClassLong(HWND hWnd, DWORD Offset, BOOL Ansi);
10
11 LONG STDCALL
12 NtUserGetWindowLong(HWND hWnd, DWORD Index, BOOL Ansi);
13
14 INT STDCALL
15 NtUserReleaseDC(HWND hWnd, HDC hDc);
16
17 BOOL STDCALL
18 NtUserGetWindowRect(HWND hWnd, LPRECT Rect);
19
20 BOOL STDCALL
21 NtUserGetClientRect(HWND hWnd, LPRECT Rect);
22
23 HANDLE STDCALL
24 NtUserGetProp(HWND hWnd, ATOM Atom);
25
26 BOOL STDCALL
27 NtUserGetClientOrigin(HWND hWnd, LPPOINT Point);
28
29 HWND STDCALL
30 NtUserGetDesktopWindow();
31
32 NTSTATUS
33 STDCALL
34 NtUserAcquireOrReleaseInputOwnership(
35 BOOLEAN Release);
36
37 DWORD
38 STDCALL
39 NtUserActivateKeyboardLayout(
40 DWORD Unknown0,
41 DWORD Unknown1);
42
43 DWORD
44 STDCALL
45 NtUserAlterWindowStyle(
46 DWORD Unknown0,
47 DWORD Unknown1,
48 DWORD Unknown2);
49
50 DWORD
51 STDCALL
52 NtUserAttachThreadInput(
53 DWORD Unknown0,
54 DWORD Unknown1,
55 DWORD Unknown2);
56
57 HDC STDCALL
58 NtUserBeginPaint(HWND hWnd, PAINTSTRUCT* lPs);
59
60 DWORD
61 STDCALL
62 NtUserBitBltSysBmp(
63 DWORD Unknown0,
64 DWORD Unknown1,
65 DWORD Unknown2,
66 DWORD Unknown3,
67 DWORD Unknown4,
68 DWORD Unknown5,
69 DWORD Unknown6,
70 DWORD Unknown7);
71
72 BOOL
73 STDCALL
74 NtUserBlockInput(
75 BOOL BlockIt);
76
77 ULONG
78 STDCALL
79 NtUserBuildHwndList(
80 HDESK hDesktop,
81 HWND hwndParent,
82 BOOLEAN bChildren,
83 ULONG dwThreadId,
84 ULONG lParam,
85 HWND* pWnd,
86 ULONG nBufSize);
87
88 NTSTATUS STDCALL
89 NtUserBuildNameList(
90 HWINSTA hWinSta,
91 ULONG dwSize,
92 PVOID lpBuffer,
93 PULONG pRequiredSize);
94
95 NTSTATUS
96 STDCALL
97 NtUserBuildPropList(
98 HWND hWnd,
99 LPVOID Buffer,
100 DWORD BufferSize,
101 DWORD *Count);
102
103 enum {
104 HWND_ROUTINE_REGISTERSHELLHOOKWINDOW,
105 HWND_ROUTINE_DEREGISTERSHELLHOOKWINDOW
106 };
107
108 DWORD
109 STDCALL
110 NtUserCallHwnd(
111 DWORD Unknown0,
112 DWORD Unknown1);
113
114 #define HWNDLOCK_ROUTINE_ARRANGEICONICWINDOWS 0x54
115 #define HWNDLOCK_ROUTINE_DRAWMENUBAR 0x55
116 #define HWNDLOCK_ROUTINE_REDRAWFRAME 0x58
117 #define HWNDLOCK_ROUTINE_SETFOREGROUNDWINDOW 0x5B
118 #define HWNDLOCK_ROUTINE_UPDATEWINDOW 0x5E
119 BOOL
120 STDCALL
121 NtUserCallHwndLock(
122 HWND hWnd,
123 DWORD Routine);
124
125 #define HWNDOPT_ROUTINE_SETPROGMANWINDOW 0x4A
126 #define HWNDOPT_ROUTINE_SETTASKMANWINDOW 0x4B
127 HWND
128 STDCALL
129 NtUserCallHwndOpt(
130 HWND Param,
131 DWORD Routine);
132
133 DWORD
134 STDCALL
135 NtUserCallHwndParam(
136 DWORD Unknown0,
137 DWORD Unknown1,
138 DWORD Unknown2);
139
140 DWORD
141 STDCALL
142 NtUserCallHwndParamLock(
143 DWORD Unknown0,
144 DWORD Unknown1,
145 DWORD Unknown2);
146
147 BOOL
148 STDCALL
149 NtUserCallMsgFilter(
150 LPMSG msg,
151 INT code);
152
153 LRESULT
154 STDCALL
155 NtUserCallNextHookEx(
156 HHOOK Hook,
157 int Code,
158 WPARAM wParam,
159 LPARAM lParam);
160
161 #define NOPARAM_ROUTINE_MSQCLEARWAKEMASK 0x3
162 #define NOPARAM_ROUTINE_REGISTER_PRIMITIVE 0xffff0001 /* Private ROS */
163 #define NOPARAM_ROUTINE_DESTROY_CARET 0xffff0002
164 #define NOPARAM_ROUTINE_UNINIT_MESSAGE_PUMP 0xffff0003
165 #define NOPARAM_ROUTINE_INIT_MESSAGE_PUMP 0xffff0004
166 #define NOPARAM_ROUTINE_GETMESSAGEEXTRAINFO 0xffff0005
167 #define NOPARAM_ROUTINE_ANYPOPUP 0xffff0006
168 #define NOPARAM_ROUTINE_CSRSS_INITIALIZED 0xffff0007
169 DWORD
170 STDCALL
171 NtUserCallNoParam(
172 DWORD Routine);
173
174 #define ONEPARAM_ROUTINE_GETMENU 0x01
175 #define ONEPARAM_ROUTINE_ISWINDOWUNICODE 0x02
176 #define ONEPARAM_ROUTINE_WINDOWFROMDC 0x03
177 #define ONEPARAM_ROUTINE_GETWNDCONTEXTHLPID 0x04
178 #define ONEPARAM_ROUTINE_SWAPMOUSEBUTTON 0x05
179 #define ONEPARAM_ROUTINE_SETCARETBLINKTIME 0x06
180 #define ONEPARAM_ROUTINE_GETCARETINFO 0x07
181 #define ONEPARAM_ROUTINE_SWITCHCARETSHOWING 0x08
182 #define ONEPARAM_ROUTINE_ENUMCLIPBOARDFORMATS 0x09
183 #define ONEPARAM_ROUTINE_SETMESSAGEEXTRAINFO 0x0a
184 #define ONEPARAM_ROUTINE_GETCURSORPOSITION 0x0b
185 #define ONEPARAM_ROUTINE_ISWINDOWINDESTROY 0x0c
186 #define ONEPARAM_ROUTINE_ENABLEPROCWNDGHSTING 0x0d
187 #define ONEPARAM_ROUTINE_GETWINDOWINSTANCE 0x10
188 #define ONEPARAM_ROUTINE_MSQSETWAKEMASK 0x27
189 #define ONEPARAM_ROUTINE_GETKEYBOARDTYPE 0x28
190 #define ONEPARAM_ROUTINE_GETKEYBOARDLAYOUT 0x29
191 DWORD
192 STDCALL
193 NtUserCallOneParam(
194 DWORD Param,
195 DWORD Routine);
196
197 #define TWOPARAM_ROUTINE_SETDCPENCOLOR 0x45
198 #define TWOPARAM_ROUTINE_SETDCBRUSHCOLOR 0x46
199 #define TWOPARAM_ROUTINE_GETDCCOLOR 0x47
200 #define TWOPARAM_ROUTINE_GETWINDOWRGNBOX 0x48
201 #define TWOPARAM_ROUTINE_GETWINDOWRGN 0x49
202 #define TWOPARAM_ROUTINE_SETMENUBARHEIGHT 0x50
203 #define TWOPARAM_ROUTINE_SETMENUITEMRECT 0x51
204 #define TWOPARAM_ROUTINE_SETGUITHRDHANDLE 0x52
205 #define MSQ_STATE_CAPTURE 0x1
206 #define MSQ_STATE_ACTIVE 0x2
207 #define MSQ_STATE_FOCUS 0x3
208 #define MSQ_STATE_MENUOWNER 0x4
209 #define MSQ_STATE_MOVESIZE 0x5
210 #define MSQ_STATE_CARET 0x6
211 #define TWOPARAM_ROUTINE_ENABLEWINDOW 0x53
212 #define TWOPARAM_ROUTINE_UNKNOWN 0x54
213 #define TWOPARAM_ROUTINE_SHOWOWNEDPOPUPS 0x55
214 #define TWOPARAM_ROUTINE_SWITCHTOTHISWINDOW 0x56
215 #define TWOPARAM_ROUTINE_SETWNDCONTEXTHLPID 0x58
216 #define TWOPARAM_ROUTINE_SETCARETPOS 0x60
217 #define TWOPARAM_ROUTINE_GETWINDOWINFO 0x61
218 #define TWOPARAM_ROUTINE_REGISTERLOGONPROC 0x62
219 #define TWOPARAM_ROUTINE_GETSYSCOLORBRUSHES 0x63
220 #define TWOPARAM_ROUTINE_GETSYSCOLORPENS 0x64
221 #define TWOPARAM_ROUTINE_GETSYSCOLORS 0x65
222 #define TWOPARAM_ROUTINE_SETSYSCOLORS 0x66
223 #define TWOPARAM_ROUTINE_ROS_SHOWWINDOW 0x1000
224 DWORD
225 STDCALL
226 NtUserCallTwoParam(
227 DWORD Param1,
228 DWORD Param2,
229 DWORD Routine);
230
231 BOOL
232 STDCALL
233 NtUserChangeClipboardChain(
234 HWND hWndRemove,
235 HWND hWndNewNext);
236
237 LONG
238 STDCALL
239 NtUserChangeDisplaySettings(
240 PUNICODE_STRING lpszDeviceName,
241 LPDEVMODEW lpDevMode,
242 HWND hwnd,
243 DWORD dwflags,
244 LPVOID lParam);
245
246 HWND STDCALL
247 NtUserChildWindowFromPointEx(HWND Parent,
248 LONG x,
249 LONG y,
250 UINT Flags);
251
252 BOOL
253 STDCALL
254 NtUserClipCursor(
255 RECT *lpRect);
256
257 BOOL
258 STDCALL
259 NtUserCloseClipboard(VOID);
260
261 BOOL
262 STDCALL
263 NtUserCloseDesktop(
264 HDESK hDesktop);
265
266 BOOL
267 STDCALL
268 NtUserCloseWindowStation(
269 HWINSTA hWinSta);
270
271 DWORD
272 STDCALL
273 NtUserConvertMemHandle(
274 DWORD Unknown0,
275 DWORD Unknown1);
276
277 int
278 STDCALL
279 NtUserCopyAcceleratorTable(
280 HACCEL Table,
281 LPACCEL Entries,
282 int EntriesCount);
283
284 DWORD
285 STDCALL
286 NtUserCountClipboardFormats(VOID);
287
288 HACCEL
289 STDCALL
290 NtUserCreateAcceleratorTable(
291 LPACCEL Entries,
292 SIZE_T EntriesCount);
293
294 BOOL
295 STDCALL
296 NtUserCreateCaret(
297 HWND hWnd,
298 HBITMAP hBitmap,
299 int nWidth,
300 int nHeight);
301
302 HANDLE
303 STDCALL
304 NtUserCreateCursorIconHandle(
305 PICONINFO IconInfo,
306 BOOL Indirect);
307
308 HDESK
309 STDCALL
310 NtUserCreateDesktop(
311 PUNICODE_STRING lpszDesktopName,
312 DWORD dwFlags,
313 ACCESS_MASK dwDesiredAccess,
314 LPSECURITY_ATTRIBUTES lpSecurity,
315 HWINSTA hWindowStation);
316
317 DWORD
318 STDCALL
319 NtUserCreateLocalMemHandle(
320 DWORD Unknown0,
321 DWORD Unknown1,
322 DWORD Unknown2,
323 DWORD Unknown3);
324
325 HWND
326 STDCALL
327 NtUserCreateWindowEx(
328 DWORD dwExStyle,
329 PUNICODE_STRING lpClassName,
330 PUNICODE_STRING lpWindowName,
331 DWORD dwStyle,
332 LONG x,
333 LONG y,
334 LONG nWidth,
335 LONG nHeight,
336 HWND hWndParent,
337 HMENU hMenu,
338 HINSTANCE hInstance,
339 LPVOID lpParam,
340 DWORD dwShowMode,
341 BOOL bUnicodeWindow);
342
343 HWINSTA
344 STDCALL
345 NtUserCreateWindowStation(
346 PUNICODE_STRING lpszWindowStationName,
347 ACCESS_MASK dwDesiredAccess,
348 LPSECURITY_ATTRIBUTES lpSecurity,
349 DWORD Unknown3,
350 DWORD Unknown4,
351 DWORD Unknown5);
352
353 DWORD
354 STDCALL
355 NtUserDdeGetQualityOfService(
356 DWORD Unknown0,
357 DWORD Unknown1,
358 DWORD Unknown2);
359
360 DWORD
361 STDCALL
362 NtUserDdeInitialize(
363 DWORD Unknown0,
364 DWORD Unknown1,
365 DWORD Unknown2,
366 DWORD Unknown3,
367 DWORD Unknown4);
368
369 DWORD
370 STDCALL
371 NtUserDdeSetQualityOfService(
372 DWORD Unknown0,
373 DWORD Unknown1,
374 DWORD Unknown2);
375
376 HDWP STDCALL
377 NtUserDeferWindowPos(HDWP WinPosInfo,
378 HWND Wnd,
379 HWND WndInsertAfter,
380 int x,
381 int y,
382 int cx,
383 int cy,
384 UINT Flags);
385 BOOL STDCALL
386 NtUserDefSetText(HWND WindowHandle, PUNICODE_STRING WindowText);
387
388 BOOLEAN
389 STDCALL
390 NtUserDestroyAcceleratorTable(
391 HACCEL Table);
392
393 BOOL
394 STDCALL
395 NtUserDestroyCursorIcon(
396 HANDLE Handle,
397 DWORD Unknown);
398
399 BOOLEAN STDCALL
400 NtUserDestroyWindow(HWND Wnd);
401
402 typedef struct tagNTUSERDISPATCHMESSAGEINFO
403 {
404 BOOL HandledByKernel;
405 BOOL Ansi;
406 WNDPROC Proc;
407 MSG Msg;
408 } NTUSERDISPATCHMESSAGEINFO, *PNTUSERDISPATCHMESSAGEINFO;
409
410 LRESULT
411 STDCALL
412 NtUserDispatchMessage(PNTUSERDISPATCHMESSAGEINFO MsgInfo);
413
414 BOOL
415 STDCALL
416 NtUserDragDetect(
417 HWND hWnd,
418 LONG x,
419 LONG y);
420
421 DWORD
422 STDCALL
423 NtUserDragObject(
424 HWND hwnd1,
425 HWND hwnd2,
426 UINT u1,
427 DWORD dw1,
428 HCURSOR hc1
429 );
430
431 DWORD
432 STDCALL
433 NtUserDrawAnimatedRects(
434 DWORD Unknown0,
435 DWORD Unknown1,
436 DWORD Unknown2,
437 DWORD Unknown3);
438
439 DWORD
440 STDCALL
441 NtUserDrawCaption(
442 DWORD Unknown0,
443 DWORD Unknown1,
444 DWORD Unknown2,
445 DWORD Unknown3);
446
447 DWORD
448 STDCALL
449 NtUserDrawCaptionTemp(
450 DWORD Unknown0,
451 DWORD Unknown1,
452 DWORD Unknown2,
453 DWORD Unknown3,
454 DWORD Unknown4,
455 DWORD Unknown5,
456 DWORD Unknown6);
457
458 BOOL
459 STDCALL
460 NtUserDrawIconEx(
461 HDC hdc,
462 int xLeft,
463 int yTop,
464 HICON hIcon,
465 int cxWidth,
466 int cyWidth,
467 UINT istepIfAniCur,
468 HBRUSH hbrFlickerFreeDraw,
469 UINT diFlags,
470 DWORD Unknown0,
471 DWORD Unknown1);
472
473 DWORD
474 STDCALL
475 NtUserEmptyClipboard(VOID);
476
477 BOOL
478 STDCALL
479 NtUserEnableScrollBar(
480 HWND hWnd,
481 UINT wSBflags,
482 UINT wArrows);
483
484 DWORD
485 STDCALL
486 NtUserEndDeferWindowPosEx(
487 DWORD Unknown0,
488 DWORD Unknown1);
489
490 BOOL STDCALL
491 NtUserEndPaint(HWND hWnd, CONST PAINTSTRUCT* lPs);
492
493 BOOL
494 STDCALL
495 NtUserEnumDisplayDevices (
496 PUNICODE_STRING lpDevice, /* device name */
497 DWORD iDevNum, /* display device */
498 PDISPLAY_DEVICE lpDisplayDevice, /* device information */
499 DWORD dwFlags ); /* reserved */
500
501 /*BOOL
502 STDCALL
503 NtUserEnumDisplayMonitors (
504 HDC hdc,
505 LPCRECT lprcClip,
506 MONITORENUMPROC lpfnEnum,
507 LPARAM dwData );*/
508
509 #define MONITORINFOF_PRIMARY 1
510 #define MONITOR_DEFAULTTONULL 0
511 #define MONITOR_DEFAULTTOPRIMARY 1
512 #define MONITOR_DEFAULTTONEAREST 2
513 INT
514 STDCALL
515 NtUserEnumDisplayMonitors(
516 OPTIONAL IN HDC hDC,
517 OPTIONAL IN LPCRECT pRect,
518 OPTIONAL OUT HMONITOR *hMonitorList,
519 OPTIONAL OUT LPRECT monitorRectList,
520 OPTIONAL IN DWORD listSize );
521
522
523 BOOL
524 STDCALL
525 NtUserEnumDisplaySettings(
526 PUNICODE_STRING lpszDeviceName,
527 DWORD iModeNum,
528 LPDEVMODEW lpDevMode, /* FIXME is this correct? */
529 DWORD dwFlags );
530
531 DWORD
532 STDCALL
533 NtUserEvent(
534 DWORD Unknown0);
535
536 DWORD
537 STDCALL
538 NtUserExcludeUpdateRgn(
539 DWORD Unknown0,
540 DWORD Unknown1);
541
542 DWORD
543 STDCALL
544 NtUserFillWindow(
545 DWORD Unknown0,
546 DWORD Unknown1,
547 DWORD Unknown2,
548 DWORD Unknown3);
549
550 HICON
551 STDCALL
552 NtUserFindExistingCursorIcon(
553 HMODULE hModule,
554 HRSRC hRsrc,
555 LONG cx,
556 LONG cy);
557
558 HWND
559 STDCALL
560 NtUserFindWindowEx(
561 HWND hwndParent,
562 HWND hwndChildAfter,
563 PUNICODE_STRING ucClassName,
564 PUNICODE_STRING ucWindowName
565 );
566
567 DWORD
568 STDCALL
569 NtUserFlashWindowEx(
570 DWORD Unknown0);
571
572 DWORD
573 STDCALL
574 NtUserGetAltTabInfo(
575 DWORD Unknown0,
576 DWORD Unknown1,
577 DWORD Unknown2,
578 DWORD Unknown3,
579 DWORD Unknown4,
580 DWORD Unknown5);
581
582 HWND STDCALL
583 NtUserGetAncestor(HWND hWnd, UINT Flags);
584
585
586 DWORD
587 STDCALL
588 NtUserGetAsyncKeyState(
589 DWORD Unknown0);
590
591 UINT
592 STDCALL
593 NtUserGetCaretBlinkTime(VOID);
594
595 BOOL
596 STDCALL
597 NtUserGetCaretPos(
598 LPPOINT lpPoint);
599
600 DWORD STDCALL
601 NtUserGetClassInfo(HINSTANCE hInst,
602 LPCWSTR str,
603 LPWNDCLASSEXW wcex,
604 BOOL Ansi,
605 DWORD unknown3);
606
607 DWORD
608 STDCALL
609 NtUserGetClassName(HWND hWnd,
610 LPWSTR lpClassName,
611 ULONG nMaxCount);
612
613 HANDLE
614 STDCALL
615 NtUserGetClipboardData(
616 UINT uFormat,
617 DWORD Unknown1);
618
619 INT
620 STDCALL
621 NtUserGetClipboardFormatName(
622 UINT format,
623 PUNICODE_STRING FormatName,
624 INT cchMaxCount);
625
626 HWND
627 STDCALL
628 NtUserGetClipboardOwner(VOID);
629
630 DWORD
631 STDCALL
632 NtUserGetClipboardSequenceNumber(VOID);
633
634 HWND
635 STDCALL
636 NtUserGetClipboardViewer(VOID);
637
638 BOOL
639 STDCALL
640 NtUserGetClipCursor(
641 RECT *lpRect);
642
643 DWORD
644 STDCALL
645 NtUserGetComboBoxInfo(
646 DWORD Unknown0,
647 DWORD Unknown1);
648
649 DWORD
650 STDCALL
651 NtUserGetControlBrush(
652 DWORD Unknown0,
653 DWORD Unknown1,
654 DWORD Unknown2);
655
656 DWORD
657 STDCALL
658 NtUserGetControlColor(
659 DWORD Unknown0,
660 DWORD Unknown1,
661 DWORD Unknown2,
662 DWORD Unknown3);
663
664 DWORD
665 STDCALL
666 NtUserGetCPD(
667 DWORD Unknown0,
668 DWORD Unknown1,
669 DWORD Unknown2);
670
671 DWORD
672 STDCALL
673 NtUserGetCursorFrameInfo(
674 DWORD Unknown0,
675 DWORD Unknown1,
676 DWORD Unknown2,
677 DWORD Unknown3);
678
679 BOOL
680 STDCALL
681 NtUserGetCursorInfo(
682 PCURSORINFO pci);
683
684 HDC
685 STDCALL
686 NtUserGetDC(
687 HWND hWnd);
688
689 HDC
690 STDCALL
691 NtUserGetDCEx(
692 HWND hWnd,
693 HANDLE hRegion,
694 ULONG Flags);
695
696 UINT
697 STDCALL
698 NtUserGetDoubleClickTime(VOID);
699
700 HWND
701 STDCALL
702 NtUserGetForegroundWindow(VOID);
703
704 DWORD
705 STDCALL
706 NtUserGetGuiResources(
707 HANDLE hProcess,
708 DWORD uiFlags);
709
710 BOOL
711 STDCALL
712 NtUserGetGUIThreadInfo(
713 DWORD idThread,
714 LPGUITHREADINFO lpgui);
715
716 BOOL
717 STDCALL
718 NtUserGetCursorIconInfo(
719 HANDLE Handle,
720 PICONINFO IconInfo);
721
722 BOOL
723 STDCALL
724 NtUserGetCursorIconSize(
725 HANDLE Handle,
726 BOOL *fIcon,
727 SIZE *Size);
728
729 DWORD
730 STDCALL
731 NtUserGetImeHotKey(
732 DWORD Unknown0,
733 DWORD Unknown1,
734 DWORD Unknown2,
735 DWORD Unknown3);
736
737 DWORD
738 STDCALL
739 NtUserGetInternalWindowPos(
740 DWORD Unknown0,
741 DWORD Unknown1,
742 DWORD Unknown2);
743
744 HKL
745 STDCALL
746 NtUserGetKeyboardLayout(
747 DWORD dwThreadid);
748
749 DWORD
750 STDCALL
751 NtUserGetKeyboardLayoutList(
752 DWORD Unknown0,
753 DWORD Unknown1);
754
755 DWORD
756 STDCALL
757 NtUserGetKeyboardLayoutName(
758 DWORD Unknown0);
759
760 DWORD
761 STDCALL
762 NtUserGetKeyboardState(
763 LPBYTE Unknown0);
764
765 DWORD
766 STDCALL
767 NtUserGetKeyboardType(
768 DWORD TypeFlag);
769
770 DWORD
771 STDCALL
772 NtUserGetKeyNameText( LONG lParam, LPWSTR lpString, int nSize );
773
774 DWORD
775 STDCALL
776 NtUserGetKeyState(
777 DWORD Unknown0);
778
779 DWORD
780 STDCALL
781 NtUserGetListBoxInfo(
782 DWORD Unknown0);
783
784 typedef struct tagNTUSERGETMESSAGEINFO
785 {
786 MSG Msg;
787 ULONG LParamSize;
788 } NTUSERGETMESSAGEINFO, *PNTUSERGETMESSAGEINFO;
789
790 BOOL
791 STDCALL
792 NtUserGetMessage(
793 PNTUSERGETMESSAGEINFO MsgInfo,
794 HWND hWnd,
795 UINT wMsgFilterMin,
796 UINT wMsgFilterMax);
797
798 BOOL
799 STDCALL
800 NtUserGetMonitorInfo(
801 IN HMONITOR hMonitor,
802 OUT LPMONITORINFO pMonitorInfo);
803
804 DWORD
805 STDCALL
806 NtUserGetMouseMovePointsEx(
807 DWORD Unknown0,
808 DWORD Unknown1,
809 DWORD Unknown2,
810 DWORD Unknown3,
811 DWORD Unknown4);
812
813 BOOL
814 STDCALL
815 NtUserGetObjectInformation(
816 HANDLE hObject,
817 DWORD nIndex,
818 PVOID pvInformation,
819 DWORD nLength,
820 PDWORD nLengthNeeded);
821
822 HWND
823 STDCALL
824 NtUserGetOpenClipboardWindow(VOID);
825
826 INT
827 STDCALL
828 NtUserGetPriorityClipboardFormat(
829 UINT *paFormatPriorityList,
830 INT cFormats);
831
832 HWINSTA
833 STDCALL
834 NtUserGetProcessWindowStation(VOID);
835
836 BOOL
837 STDCALL
838 NtUserGetScrollBarInfo(
839 HWND hWnd,
840 LONG idObject,
841 PSCROLLBARINFO psbi);
842
843 BOOL
844 STDCALL
845 NtUserGetScrollInfo(
846 HWND hwnd,
847 int fnBar,
848 LPSCROLLINFO lpsi);
849
850 HDESK
851 STDCALL
852 NtUserGetThreadDesktop(
853 DWORD dwThreadId,
854 DWORD Unknown1);
855
856 #define THREADSTATE_FOCUSWINDOW (1)
857 #define THREADSTATE_INSENDMESSAGE (2)
858 DWORD
859 STDCALL
860 NtUserGetThreadState(
861 DWORD Routine);
862
863 DWORD
864 STDCALL
865 NtUserGetTitleBarInfo(
866 DWORD Unknown0,
867 DWORD Unknown1);
868
869 BOOL STDCALL
870 NtUserGetUpdateRect(HWND hWnd, LPRECT lpRect, BOOL fErase);
871
872 int
873 STDCALL
874 NtUserGetUpdateRgn(
875 HWND hWnd,
876 HRGN hRgn,
877 BOOL bErase);
878
879 DWORD
880 STDCALL
881 NtUserGetWindowDC(
882 HWND hWnd);
883
884 BOOL
885 STDCALL
886 NtUserGetWindowPlacement(
887 HWND hWnd,
888 WINDOWPLACEMENT *lpwndpl);
889
890 DWORD
891 STDCALL
892 NtUserGetWOWClass(
893 DWORD Unknown0,
894 DWORD Unknown1);
895
896 DWORD
897 STDCALL
898 NtUserImpersonateDdeClientWindow(
899 DWORD Unknown0,
900 DWORD Unknown1);
901
902 DWORD
903 STDCALL
904 NtUserInitializeClientPfnArrays(
905 DWORD Unknown0,
906 DWORD Unknown1,
907 DWORD Unknown2,
908 DWORD Unknown3);
909
910 DWORD
911 STDCALL
912 NtUserInitTask(
913 DWORD Unknown0,
914 DWORD Unknown1,
915 DWORD Unknown2,
916 DWORD Unknown3,
917 DWORD Unknown4,
918 DWORD Unknown5,
919 DWORD Unknown6,
920 DWORD Unknown7,
921 DWORD Unknown8,
922 DWORD Unknown9,
923 DWORD Unknown10);
924
925 INT
926 STDCALL
927 NtUserInternalGetWindowText(
928 HWND hWnd,
929 LPWSTR lpString,
930 INT nMaxCount);
931
932
933 BOOL
934 STDCALL
935 NtUserIsClipboardFormatAvailable(
936 UINT format);
937
938 BOOL
939 STDCALL
940 NtUserKillSystemTimer
941 (
942 HWND hWnd,
943 UINT_PTR uIDEvent
944 );
945
946 BOOL
947 STDCALL
948 NtUserKillTimer
949 (
950 HWND hWnd,
951 UINT_PTR uIDEvent
952 );
953
954 DWORD
955 STDCALL
956 NtUserLoadKeyboardLayoutEx(
957 DWORD Unknown0,
958 DWORD Unknown1,
959 DWORD Unknown2,
960 DWORD Unknown3,
961 DWORD Unknown4,
962 DWORD Unknown5);
963
964 BOOL
965 STDCALL
966 NtUserLockWindowStation(
967 HWINSTA hWindowStation);
968
969 DWORD
970 STDCALL
971 NtUserLockWindowUpdate(
972 DWORD Unknown0);
973
974 DWORD
975 STDCALL
976 NtUserLockWorkStation(VOID);
977
978 UINT
979 STDCALL
980 NtUserMapVirtualKeyEx( UINT keyCode,
981 UINT transType,
982 DWORD keyboardId,
983 HKL dwhkl );
984
985 DWORD
986 STDCALL
987 NtUserMessageCall(
988 DWORD Unknown0,
989 DWORD Unknown1,
990 DWORD Unknown2,
991 DWORD Unknown3,
992 DWORD Unknown4,
993 DWORD Unknown5,
994 DWORD Unknown6);
995
996 BOOL
997 STDCALL
998 NtUserGetMinMaxInfo(
999 HWND hwnd,
1000 MINMAXINFO *MinMaxInfo,
1001 BOOL SendMessage);
1002
1003 DWORD
1004 STDCALL
1005 NtUserMNDragLeave(VOID);
1006
1007 DWORD
1008 STDCALL
1009 NtUserMNDragOver(
1010 DWORD Unknown0,
1011 DWORD Unknown1);
1012
1013 DWORD
1014 STDCALL
1015 NtUserModifyUserStartupInfoFlags(
1016 DWORD Unknown0,
1017 DWORD Unknown1);
1018
1019 HMONITOR
1020 STDCALL
1021 NtUserMonitorFromPoint(
1022 IN POINT point,
1023 IN DWORD dwFlags);
1024
1025 HMONITOR
1026 STDCALL
1027 NtUserMonitorFromRect(
1028 IN LPCRECT pRect,
1029 IN DWORD dwFlags);
1030
1031 HMONITOR
1032 STDCALL
1033 NtUserMonitorFromWindow(
1034 IN HWND hWnd,
1035 IN DWORD dwFlags);
1036
1037
1038 BOOL
1039 STDCALL
1040 NtUserMoveWindow(
1041 HWND hWnd,
1042 int X,
1043 int Y,
1044 int nWidth,
1045 int nHeight,
1046 BOOL bRepaint
1047 );
1048
1049 DWORD
1050 STDCALL
1051 NtUserNotifyIMEStatus(
1052 DWORD Unknown0,
1053 DWORD Unknown1,
1054 DWORD Unknown2);
1055
1056 DWORD
1057 STDCALL
1058 NtUserNotifyWinEvent(
1059 DWORD Unknown0,
1060 DWORD Unknown1,
1061 DWORD Unknown2,
1062 DWORD Unknown3);
1063
1064 BOOL
1065 STDCALL
1066 NtUserOpenClipboard(
1067 HWND hWnd,
1068 DWORD Unknown1);
1069
1070 HDESK
1071 STDCALL
1072 NtUserOpenDesktop(
1073 PUNICODE_STRING lpszDesktopName,
1074 DWORD dwFlags,
1075 ACCESS_MASK dwDesiredAccess);
1076
1077 HDESK
1078 STDCALL
1079 NtUserOpenInputDesktop(
1080 DWORD dwFlags,
1081 BOOL fInherit,
1082 ACCESS_MASK dwDesiredAccess);
1083
1084 HWINSTA
1085 STDCALL
1086 NtUserOpenWindowStation(
1087 PUNICODE_STRING lpszWindowStationName,
1088 ACCESS_MASK dwDesiredAccess);
1089
1090 BOOL
1091 STDCALL
1092 NtUserPaintDesktop(
1093 HDC hDC);
1094
1095 BOOL
1096 STDCALL
1097 NtUserPeekMessage(
1098 PNTUSERGETMESSAGEINFO MsgInfo,
1099 HWND hWnd,
1100 UINT wMsgFilterMin,
1101 UINT wMsgFilterMax,
1102 UINT wRemoveMsg);
1103
1104 BOOL
1105 STDCALL
1106 NtUserPostMessage(
1107 HWND hWnd,
1108 UINT Msg,
1109 WPARAM wParam,
1110 LPARAM lParam);
1111
1112 BOOL
1113 STDCALL
1114 NtUserPostThreadMessage(
1115 DWORD idThread,
1116 UINT Msg,
1117 WPARAM wParam,
1118 LPARAM lParam);
1119
1120 DWORD
1121 STDCALL
1122 NtUserQuerySendMessage(
1123 DWORD Unknown0);
1124
1125 DWORD
1126 STDCALL
1127 NtUserQueryUserCounters(
1128 DWORD Unknown0,
1129 DWORD Unknown1,
1130 DWORD Unknown2,
1131 DWORD Unknown3,
1132 DWORD Unknown4);
1133
1134 #define QUERY_WINDOW_UNIQUE_PROCESS_ID 0x00
1135 #define QUERY_WINDOW_UNIQUE_THREAD_ID 0x01
1136 #define QUERY_WINDOW_ISHUNG 0x04
1137 DWORD
1138 STDCALL
1139 NtUserQueryWindow(
1140 HWND hWnd,
1141 DWORD Index);
1142
1143 DWORD
1144 STDCALL
1145 NtUserRealChildWindowFromPoint(
1146 DWORD Unknown0,
1147 DWORD Unknown1,
1148 DWORD Unknown2);
1149
1150 BOOL
1151 STDCALL
1152 NtUserRedrawWindow
1153 (
1154 HWND hWnd,
1155 CONST RECT *lprcUpdate,
1156 HRGN hrgnUpdate,
1157 UINT flags
1158 );
1159
1160 /* FIXME: These flag constans aren't what Windows uses. */
1161 #define REGISTERCLASS_ANSI 2
1162 #define REGISTERCLASS_SYSTEM 4
1163 #define REGISTERCLASS_ALL (REGISTERCLASS_ANSI | REGISTERCLASS_SYSTEM)
1164
1165 RTL_ATOM STDCALL
1166 NtUserRegisterClassExWOW(
1167 CONST WNDCLASSEXW* lpwcx,
1168 PUNICODE_STRING ClassName,
1169 PUNICODE_STRING ClassNameCopy,
1170 PUNICODE_STRING MenuName,
1171 WNDPROC wpExtra,
1172 DWORD Flags,
1173 DWORD Unknown7,
1174 HMENU hMenu);
1175
1176 BOOL
1177 STDCALL
1178 NtUserRegisterHotKey(HWND hWnd,
1179 int id,
1180 UINT fsModifiers,
1181 UINT vk);
1182
1183 DWORD
1184 STDCALL
1185 NtUserRegisterTasklist(
1186 DWORD Unknown0);
1187
1188 UINT STDCALL
1189 NtUserRegisterWindowMessage(PUNICODE_STRING MessageName);
1190
1191 HANDLE STDCALL
1192 NtUserRemoveProp(HWND hWnd, ATOM Atom);
1193
1194 DWORD
1195 STDCALL
1196 NtUserResolveDesktopForWOW(
1197 DWORD Unknown0);
1198
1199 DWORD
1200 STDCALL
1201 NtUserSBGetParms(
1202 DWORD Unknown0,
1203 DWORD Unknown1,
1204 DWORD Unknown2,
1205 DWORD Unknown3);
1206
1207 DWORD
1208 STDCALL
1209 NtUserScrollDC(
1210 HDC hDC,
1211 int dx,
1212 int dy,
1213 CONST RECT *lprcScroll,
1214 CONST RECT *lprcClip ,
1215 HRGN hrgnUpdate,
1216 LPRECT lprcUpdate);
1217
1218 DWORD STDCALL
1219 NtUserScrollWindowEx(HWND hWnd, INT dx, INT dy, const RECT *rect,
1220 const RECT *clipRect, HRGN hrgnUpdate, LPRECT rcUpdate, UINT flags);
1221
1222 UINT
1223 STDCALL
1224 NtUserSendInput(
1225 UINT nInputs,
1226 LPINPUT pInput,
1227 INT cbSize);
1228
1229 typedef struct tagNTUSERSENDMESSAGEINFO
1230 {
1231 BOOL HandledByKernel;
1232 BOOL Ansi;
1233 WNDPROC Proc;
1234 } NTUSERSENDMESSAGEINFO, *PNTUSERSENDMESSAGEINFO;
1235
1236 LRESULT STDCALL
1237 NtUserSendMessage(HWND hWnd,
1238 UINT Msg,
1239 WPARAM wParam,
1240 LPARAM lParam,
1241 PNTUSERSENDMESSAGEINFO Info);
1242
1243 BOOL
1244 STDCALL
1245 NtUserSendMessageCallback(
1246 HWND hWnd,
1247 UINT Msg,
1248 WPARAM wParam,
1249 LPARAM lParam,
1250 SENDASYNCPROC lpCallBack,
1251 ULONG_PTR dwData);
1252
1253 LRESULT STDCALL
1254 NtUserSendMessageTimeout(HWND hWnd,
1255 UINT Msg,
1256 WPARAM wParam,
1257 LPARAM lParam,
1258 UINT uFlags,
1259 UINT uTimeout,
1260 ULONG_PTR *uResult,
1261 PNTUSERSENDMESSAGEINFO Info);
1262
1263 BOOL
1264 STDCALL
1265 NtUserSendNotifyMessage(
1266 HWND hWnd,
1267 UINT Msg,
1268 WPARAM wParam,
1269 LPARAM lParam);
1270
1271 HWND STDCALL
1272 NtUserSetActiveWindow(HWND Wnd);
1273 HWND STDCALL
1274 NtUserGetActiveWindow(VOID);
1275
1276 HWND STDCALL
1277 NtUserSetCapture(HWND Wnd);
1278 HWND STDCALL
1279 NtUserGetCapture(VOID);
1280
1281 DWORD STDCALL
1282 NtUserSetClassLong(
1283 HWND hWnd,
1284 DWORD Offset,
1285 LONG dwNewLong,
1286 BOOL Ansi );
1287
1288
1289 DWORD
1290 STDCALL
1291 NtUserSetClassWord(
1292 DWORD Unknown0,
1293 DWORD Unknown1,
1294 DWORD Unknown2);
1295
1296 HANDLE
1297 STDCALL
1298 NtUserSetClipboardData(
1299 UINT uFormat,
1300 HANDLE hMem,
1301 DWORD Unknown2);
1302
1303 HWND
1304 STDCALL
1305 NtUserSetClipboardViewer(
1306 HWND hWndNewViewer);
1307
1308 DWORD
1309 STDCALL
1310 NtUserSetConsoleReserveKeys(
1311 DWORD Unknown0,
1312 DWORD Unknown1);
1313
1314 HCURSOR
1315 STDCALL
1316 NtUserSetCursor(
1317 HCURSOR hCursor);
1318
1319 BOOL
1320 STDCALL
1321 NtUserSetCursorIconContents(
1322 HANDLE Handle,
1323 PICONINFO IconInfo);
1324
1325 BOOL
1326 STDCALL
1327 NtUserSetCursorIconData(
1328 HANDLE Handle,
1329 PBOOL fIcon,
1330 POINT *Hotspot,
1331 HMODULE hModule,
1332 HRSRC hRsrc,
1333 HRSRC hGroupRsrc);
1334
1335 DWORD
1336 STDCALL
1337 NtUserSetDbgTag(
1338 DWORD Unknown0,
1339 DWORD Unknown1);
1340
1341 HWND
1342 STDCALL
1343 NtUserSetFocus(
1344 HWND hWnd);
1345
1346 DWORD
1347 STDCALL
1348 NtUserSetImeHotKey(
1349 DWORD Unknown0,
1350 DWORD Unknown1,
1351 DWORD Unknown2,
1352 DWORD Unknown3,
1353 DWORD Unknown4);
1354
1355 DWORD
1356 STDCALL
1357 NtUserSetImeOwnerWindow(
1358 DWORD Unknown0,
1359 DWORD Unknown1);
1360
1361 DWORD
1362 STDCALL
1363 NtUserSetInternalWindowPos(
1364 DWORD Unknown0,
1365 DWORD Unknown1,
1366 DWORD Unknown2,
1367 DWORD Unknown3);
1368
1369 DWORD
1370 STDCALL
1371 NtUserSetKeyboardState(
1372 LPBYTE Unknown0);
1373
1374 DWORD
1375 STDCALL
1376 NtUserSetLayeredWindowAttributes(
1377 DWORD Unknown0,
1378 DWORD Unknown1,
1379 DWORD Unknown2,
1380 DWORD Unknown3);
1381
1382 DWORD
1383 STDCALL
1384 NtUserSetLogonNotifyWindow(
1385 DWORD Unknown0);
1386
1387 BOOL
1388 STDCALL
1389 NtUserSetObjectInformation(
1390 HANDLE hObject,
1391 DWORD nIndex,
1392 PVOID pvInformation,
1393 DWORD nLength);
1394
1395 HWND
1396 STDCALL
1397 NtUserSetParent(
1398 HWND hWndChild,
1399 HWND hWndNewParent);
1400
1401 BOOL
1402 STDCALL
1403 NtUserSetProcessWindowStation(
1404 HWINSTA hWindowStation);
1405
1406 BOOL STDCALL
1407 NtUserSetProp(HWND hWnd, ATOM Atom, HANDLE Data);
1408
1409 DWORD
1410 STDCALL
1411 NtUserSetRipFlags(
1412 DWORD Unknown0,
1413 DWORD Unknown1);
1414
1415 DWORD
1416 STDCALL
1417 NtUserSetScrollInfo(
1418 HWND hwnd,
1419 int fnBar,
1420 LPCSCROLLINFO lpsi,
1421 BOOL bRedraw);
1422
1423 BOOL
1424 STDCALL
1425 NtUserSetShellWindowEx(
1426 HWND hwndShell,
1427 HWND hwndShellListView);
1428
1429 HWND
1430 STDCALL
1431 NtUserGetShellWindow();
1432
1433 DWORD
1434 STDCALL
1435 NtUserSetSysColors(
1436 DWORD Unknown0,
1437 DWORD Unknown1,
1438 DWORD Unknown2,
1439 DWORD Unknown3);
1440
1441 BOOL
1442 STDCALL
1443 NtUserSetSystemCursor(
1444 HCURSOR hcur,
1445 DWORD id);
1446
1447 BOOL
1448 STDCALL
1449 NtUserSetThreadDesktop(
1450 HDESK hDesktop);
1451
1452 DWORD
1453 STDCALL
1454 NtUserSetThreadState(
1455 DWORD Unknown0,
1456 DWORD Unknown1);
1457
1458 UINT_PTR
1459 STDCALL
1460 NtUserSetSystemTimer
1461 (
1462 HWND hWnd,
1463 UINT_PTR nIDEvent,
1464 UINT uElapse,
1465 TIMERPROC lpTimerFunc
1466 );
1467
1468 UINT_PTR
1469 STDCALL
1470 NtUserSetTimer
1471 (
1472 HWND hWnd,
1473 UINT_PTR nIDEvent,
1474 UINT uElapse,
1475 TIMERPROC lpTimerFunc
1476 );
1477
1478 DWORD
1479 STDCALL
1480 NtUserSetWindowFNID(
1481 DWORD Unknown0,
1482 DWORD Unknown1);
1483
1484 LONG
1485 STDCALL
1486 NtUserSetWindowLong(
1487 HWND hWnd,
1488 DWORD Index,
1489 LONG NewValue,
1490 BOOL Ansi);
1491
1492 BOOL
1493 STDCALL
1494 NtUserSetWindowPlacement(
1495 HWND hWnd,
1496 WINDOWPLACEMENT *lpwndpl);
1497
1498 BOOL
1499 STDCALL NtUserSetWindowPos(
1500 HWND hWnd,
1501 HWND hWndInsertAfter,
1502 int X,
1503 int Y,
1504 int cx,
1505 int cy,
1506 UINT uFlags
1507 );
1508
1509 INT
1510 STDCALL
1511 NtUserSetWindowRgn(
1512 HWND hWnd,
1513 HRGN hRgn,
1514 BOOL bRedraw);
1515
1516 DWORD
1517 STDCALL
1518 NtUserSetWindowsHookAW(
1519 DWORD Unknown0,
1520 DWORD Unknown1,
1521 DWORD Unknown2);
1522
1523 HHOOK
1524 STDCALL
1525 NtUserSetWindowsHookEx(
1526 HINSTANCE Mod,
1527 PUNICODE_STRING ModuleName,
1528 DWORD ThreadId,
1529 int HookId,
1530 HOOKPROC HookProc,
1531 BOOL Ansi);
1532
1533 DWORD
1534 STDCALL
1535 NtUserSetWindowStationUser(
1536 DWORD Unknown0,
1537 DWORD Unknown1,
1538 DWORD Unknown2,
1539 DWORD Unknown3);
1540
1541 WORD STDCALL
1542 NtUserSetWindowWord(HWND hWnd, INT Index, WORD NewVal);
1543
1544 DWORD
1545 STDCALL
1546 NtUserSetWinEventHook(
1547 DWORD Unknown0,
1548 DWORD Unknown1,
1549 DWORD Unknown2,
1550 DWORD Unknown3,
1551 DWORD Unknown4,
1552 DWORD Unknown5,
1553 DWORD Unknown6,
1554 DWORD Unknown7);
1555
1556 BOOL
1557 STDCALL
1558 NtUserShowCaret(
1559 HWND hWnd,
1560 BOOL bShow);
1561
1562 DWORD
1563 STDCALL
1564 NtUserShowScrollBar(HWND hWnd, int wBar, DWORD bShow);
1565
1566 BOOL
1567 STDCALL
1568 NtUserShowWindow(
1569 HWND hWnd,
1570 LONG nCmdShow);
1571
1572 BOOL
1573 STDCALL
1574 NtUserShowWindowAsync(
1575 HWND hWnd,
1576 LONG nCmdShow);
1577
1578 BOOL
1579 STDCALL
1580 NtUserSwitchDesktop(
1581 HDESK hDesktop);
1582
1583 BOOL
1584 STDCALL
1585 NtUserSystemParametersInfo(
1586 UINT uiAction,
1587 UINT uiParam,
1588 PVOID pvParam,
1589 UINT fWinIni);
1590
1591 int
1592 STDCALL
1593 NtUserToUnicodeEx(
1594 UINT wVirtKey,
1595 UINT wScanCode,
1596 PBYTE lpKeyState,
1597 LPWSTR pwszBuff,
1598 int cchBuff,
1599 UINT wFlags,
1600 HKL dwhkl );
1601
1602 DWORD
1603 STDCALL
1604 NtUserTrackMouseEvent(
1605 DWORD Unknown0);
1606
1607 int
1608 STDCALL
1609 NtUserTranslateAccelerator(
1610 HWND Window,
1611 HACCEL Table,
1612 LPMSG Message);
1613
1614 BOOL
1615 STDCALL
1616 NtUserTranslateMessage(
1617 LPMSG lpMsg,
1618 HKL dwhkl );
1619
1620 BOOL
1621 STDCALL
1622 NtUserUnhookWindowsHookEx(
1623 HHOOK Hook);
1624
1625 DWORD
1626 STDCALL
1627 NtUserUnhookWinEvent(
1628 DWORD Unknown0);
1629
1630 DWORD
1631 STDCALL
1632 NtUserUnloadKeyboardLayout(
1633 DWORD Unknown0);
1634
1635 BOOL
1636 STDCALL
1637 NtUserUnlockWindowStation(
1638 HWINSTA hWindowStation);
1639
1640 BOOL
1641 STDCALL
1642 NtUserUnregisterClass(
1643 LPCWSTR ClassNameOrAtom,
1644 HINSTANCE hInstance,
1645 DWORD Unknown);
1646
1647 BOOL
1648 STDCALL
1649 NtUserUnregisterHotKey(HWND hWnd,
1650 int id);
1651
1652 DWORD
1653 STDCALL
1654 NtUserUpdateInputContext(
1655 DWORD Unknown0,
1656 DWORD Unknown1,
1657 DWORD Unknown2);
1658
1659 DWORD
1660 STDCALL
1661 NtUserUpdateInstance(
1662 DWORD Unknown0,
1663 DWORD Unknown1,
1664 DWORD Unknown2);
1665
1666 DWORD
1667 STDCALL
1668 NtUserUpdateLayeredWindow(
1669 DWORD Unknown0,
1670 DWORD Unknown1,
1671 DWORD Unknown2,
1672 DWORD Unknown3,
1673 DWORD Unknown4,
1674 DWORD Unknown5,
1675 DWORD Unknown6,
1676 DWORD Unknown7,
1677 DWORD Unknown8);
1678
1679 BOOL
1680 STDCALL
1681 NtUserUpdatePerUserSystemParameters(
1682 DWORD dwReserved,
1683 BOOL bEnable);
1684
1685 DWORD
1686 STDCALL
1687 NtUserUserHandleGrantAccess(
1688 DWORD Unknown0,
1689 DWORD Unknown1,
1690 DWORD Unknown2);
1691
1692 DWORD
1693 STDCALL
1694 NtUserValidateHandleSecure(
1695 DWORD Unknown0);
1696
1697 DWORD
1698 STDCALL
1699 NtUserVkKeyScanEx(
1700 DWORD Unknown0,
1701 DWORD Unknown1,
1702 DWORD Unknown2);
1703
1704 DWORD
1705 STDCALL
1706 NtUserWaitForInputIdle(
1707 DWORD Unknown0,
1708 DWORD Unknown1,
1709 DWORD Unknown2);
1710
1711 DWORD
1712 STDCALL
1713 NtUserWaitForMsgAndEvent(
1714 DWORD Unknown0);
1715
1716 BOOL
1717 STDCALL
1718 NtUserWaitMessage(VOID);
1719
1720 DWORD
1721 STDCALL
1722 NtUserWin32PoolAllocationStats(
1723 DWORD Unknown0,
1724 DWORD Unknown1,
1725 DWORD Unknown2,
1726 DWORD Unknown3,
1727 DWORD Unknown4,
1728 DWORD Unknown5);
1729
1730 HWND
1731 STDCALL
1732 NtUserWindowFromPoint(
1733 LONG X,
1734 LONG Y);
1735
1736 DWORD
1737 STDCALL
1738 NtUserYieldTask(VOID);
1739
1740 DWORD STDCALL
1741 NtUserGetWindowThreadProcessId(HWND hWnd, LPDWORD UnsafePid);
1742
1743 DWORD STDCALL
1744 NtUserGetQueueStatus(BOOL ClearChanges);
1745
1746 HWND STDCALL
1747 NtUserGetParent(HWND hWnd);
1748
1749 HWND STDCALL
1750 NtUserGetWindow(HWND hWnd, UINT Relationship);
1751
1752 HWND STDCALL
1753 NtUserGetLastActivePopup(HWND hWnd);
1754 typedef struct _WndProcHandle
1755 {
1756 WNDPROC WindowProc;
1757 BOOL IsUnicode;
1758 HANDLE ProcessID;
1759 } WndProcHandle;
1760
1761 DWORD STDCALL
1762 NtUserDereferenceWndProcHandle(WNDPROC wpHandle, WndProcHandle *Data);
1763
1764 VOID STDCALL
1765 NtUserManualGuiCheck(LONG Check);
1766
1767 typedef struct _SETSCROLLBARINFO
1768 {
1769 int nTrackPos;
1770 int reserved;
1771 DWORD rgstate[CCHILDREN_SCROLLBAR+1];
1772 } SETSCROLLBARINFO, *PSETSCROLLBARINFO;
1773
1774 BOOL
1775 STDCALL
1776 NtUserSetScrollBarInfo(
1777 HWND hwnd,
1778 LONG idObject,
1779 SETSCROLLBARINFO *info);
1780
1781 /* lParam of DDE messages */
1782 typedef struct tagKMDDEEXECUTEDATA
1783 {
1784 HWND Sender;
1785 HGLOBAL ClientMem;
1786 /* BYTE Data[DataSize] */
1787 } KMDDEEXECUTEDATA, *PKMDDEEXECUTEDATA;
1788
1789 typedef struct tagKMDDELPARAM
1790 {
1791 BOOL Packed;
1792 union
1793 {
1794 struct
1795 {
1796 UINT uiLo;
1797 UINT uiHi;
1798 } Packed;
1799 LPARAM Unpacked;
1800 } Value;
1801 } KMDDELPARAM, *PKMDDELPARAM;
1802
1803 typedef struct _GDI_TABLE_ENTRY
1804 {
1805 PVOID KernelData; /* Points to the kernel mode structure */
1806 HANDLE ProcessId; /* process id that created the object, 0 for stock objects */
1807 LONG Type; /* the first 16 bit is the object type including the stock obj flag, the last 16 bits is just the object type */
1808 PVOID UserData; /* Points to the user mode structure, usually NULL though */
1809 } GDI_TABLE_ENTRY, *PGDI_TABLE_ENTRY;
1810
1811 #endif /* __WIN32K_NTUSER_H */
1812
1813 /* EOF */