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