1 #ifndef __WIN32K_NTUSER_H
2 #define __WIN32K_NTUSER_H
5 NtUserGetSystemMetrics(ULONG Index
);
8 NtUserGetClassLong(HWND hWnd
, DWORD Offset
, BOOL Ansi
);
11 NtUserGetWindowLong(HWND hWnd
, DWORD Index
, BOOL Ansi
);
15 NtUserReleaseDC(HWND hWnd
, HDC hDc
);
18 NtUserGetWindowRect(HWND hWnd
, LPRECT Rect
);
21 NtUserGetClientRect(HWND hWnd
, LPRECT Rect
);
24 NtUserGetProp(HWND hWnd
, ATOM Atom
);
27 NtUserGetClientOrigin(HWND hWnd
, LPPOINT Point
);
30 NtUserGetDesktopWindow();
34 NtUserAcquireOrReleaseInputOwnership(
39 NtUserActivateKeyboardLayout(
45 NtUserAlterWindowStyle(
52 NtUserAttachThreadInput(
58 NtUserBeginPaint(HWND hWnd
, PAINTSTRUCT
* lPs
);
90 NtUserBuildMenuItemList(
140 NtUserCallHwndParamLock(
153 NtUserCallNextHookEx(
159 #define NOPARAM_ROUTINE_REGISTER_PRIMITIVE 0xffff0001 /* Private ROS */
160 #define NOPARAM_ROUTINE_DESTROY_CARET 0xffff0002
166 #define ONEPARAM_ROUTINE_GETMENU 0x01
167 #define ONEPARAM_ROUTINE_ISWINDOWUNICODE 0x02
168 #define ONEPARAM_ROUTINE_WINDOWFROMDC 0x03
169 #define ONEPARAM_ROUTINE_GETWNDCONTEXTHLPID 0x04
170 #define ONEPARAM_ROUTINE_SWAPMOUSEBUTTON 0x05
171 #define ONEPARAM_ROUTINE_SETCARETBLINKTIME 0x06
172 #define ONEPARAM_ROUTINE_GETCARETINFO 0x07
173 #define ONEPARAM_ROUTINE_SWITCHCARETSHOWING 0x08
180 #define TWOPARAM_ROUTINE_ENABLEWINDOW 0x53
181 #define TWOPARAM_ROUTINE_UNKNOWN 0x54
182 #define TWOPARAM_ROUTINE_SHOWOWNEDPOPUPS 0x55
183 #define TWOPARAM_ROUTINE_SWITCHTOTHISWINDOW 0x56
184 #define TWOPARAM_ROUTINE_VALIDATERGN 0x57
185 #define TWOPARAM_ROUTINE_SETWNDCONTEXTHLPID 0x58
186 #define TWOPARAM_ROUTINE_CURSORPOSITION 0x59
187 #define TWOPARAM_ROUTINE_SETCARETPOS 0x60
197 NtUserChangeClipboardChain(
203 NtUserChangeDisplaySettings(
204 PUNICODE_STRING lpszDeviceName
,
205 LPDEVMODEW lpDevMode
,
218 NtUserChildWindowFromPointEx(HWND Parent
,
230 NtUserCloseClipboard(VOID
);
239 NtUserCloseWindowStation(
244 NtUserConvertMemHandle(
250 NtUserCopyAcceleratorTable(
257 NtUserCountClipboardFormats(VOID
);
261 NtUserCreateAcceleratorTable(
263 SIZE_T EntriesCount
);
276 PUNICODE_STRING lpszDesktopName
,
278 ACCESS_MASK dwDesiredAccess
,
279 LPSECURITY_ATTRIBUTES lpSecurity
,
280 HWINSTA hWindowStation
);
284 NtUserCreateLocalMemHandle(
292 NtUserCreateMenu(VOID
);
296 NtUserCreateWindowEx(
298 PUNICODE_STRING lpClassName
,
299 PUNICODE_STRING lpWindowName
,
313 NtUserCreateWindowStation(
314 PUNICODE_STRING lpszWindowStationName
,
315 ACCESS_MASK dwDesiredAccess
,
316 LPSECURITY_ATTRIBUTES lpSecurity
,
323 NtUserDdeGetQualityOfService(
339 NtUserDdeSetQualityOfService(
345 NtUserDeferWindowPos(HDWP WinPosInfo
,
368 NtUserDestroyAcceleratorTable(
383 NtUserDestroyWindow(HWND Wnd
);
387 NtUserDispatchMessage(CONST MSG
* lpmsg
);
407 NtUserDrawAnimatedRects(
423 NtUserDrawCaptionTemp(
449 NtUserDrawMenuBarTemp(
458 NtUserEmptyClipboard(VOID
);
462 NtUserEnableMenuItem(
469 NtUserInsertMenuItem(
473 LPCMENUITEMINFOW lpmii
);
478 NtUserEnableScrollBar(
485 NtUserEndDeferWindowPosEx(
494 NtUserEndPaint(HWND hWnd
, CONST PAINTSTRUCT
* lPs
);
498 NtUserEnumDisplayDevices (
499 PUNICODE_STRING lpDevice
, /* device name */
500 DWORD iDevNum
, /* display device */
501 PDISPLAY_DEVICE lpDisplayDevice
, /* device information */
502 DWORD dwFlags
); /* reserved */
506 NtUserEnumDisplayMonitors (
509 MONITORENUMPROC lpfnEnum
,
514 NtUserEnumDisplaySettings(
515 PUNICODE_STRING lpszDeviceName
,
517 LPDEVMODEW lpDevMode
, /* FIXME is this correct? */
527 NtUserExcludeUpdateRgn(
541 NtUserFindExistingCursorIcon(
551 PUNICODE_STRING ucClassName
,
552 PUNICODE_STRING ucWindowName
571 NtUserGetAncestor(HWND hWnd
, UINT Flags
);
576 NtUserGetAsyncKeyState(
581 NtUserGetCaretBlinkTime(VOID
);
589 NtUserGetClassInfo(HINSTANCE hInst
,
597 NtUserGetClassName(HWND hWnd
,
603 NtUserGetClipboardData(
609 NtUserGetClipboardFormatName(
616 NtUserGetClipboardOwner(VOID
);
620 NtUserGetClipboardSequenceNumber(VOID
);
624 NtUserGetClipboardViewer(VOID
);
633 NtUserGetComboBoxInfo(
639 NtUserGetControlBrush(
646 NtUserGetControlColor(
661 NtUserGetCursorFrameInfo(
673 NtUserGetMenuDefaultItem(
679 NtUserGetDC(HWND hWnd
);
681 HDC STDCALL
NtUserGetDCEx(HWND hWnd
, HANDLE hRegion
, ULONG Flags
);
685 NtUserGetDoubleClickTime(VOID
);
689 NtUserGetForegroundWindow(VOID
);
693 NtUserGetGuiResources(
699 NtUserGetGUIThreadInfo(
731 NtUserGetInternalWindowPos(
738 NtUserGetKeyboardLayoutList(
744 NtUserGetKeyboardLayoutName(
749 NtUserGetKeyboardState(
754 NtUserGetKeyNameText( LONG lParam
, LPWSTR lpString
, int nSize
);
763 NtUserGetListBoxInfo(
768 NtUserGetMenuBarInfo(
782 NtUserGetMenuItemRect(
798 NtUserGetMouseMovePointsEx(
807 NtUserGetObjectInformation(
812 PDWORD nLengthNeeded
);
816 NtUserGetOpenClipboardWindow(VOID
);
820 NtUserGetPriorityClipboardFormat(
826 NtUserGetProcessWindowStation(VOID
);
830 NtUserGetScrollBarInfo(
833 PSCROLLBARINFO psbi
);
850 NtUserGetThreadDesktop(
856 NtUserGetThreadState(
861 NtUserGetTitleBarInfo(
886 NtUserGetWindowPlacement(
903 NtUserHiliteMenuItem(
911 NtUserImpersonateDdeClientWindow(
917 NtUserInitializeClientPfnArrays(
940 NtUserInternalGetWindowText(
947 NtUserInvalidateRect(
962 NtUserIsClipboardFormatAvailable(
967 NtUserKillSystemTimer
983 NtUserLoadKeyboardLayoutEx(
993 NtUserLockWindowStation(
994 HWINSTA hWindowStation
);
998 NtUserLockWindowUpdate(
1003 NtUserLockWorkStation(VOID
);
1007 NtUserMapVirtualKeyEx( UINT keyCode
,
1022 NtUserMenuItemFromPoint(
1034 LPMENUITEMINFOW lpmii
,
1058 NtUserMNDragLeave(VOID
);
1068 NtUserModifyUserStartupInfoFlags(
1085 NtUserNotifyIMEStatus(
1092 NtUserNotifyWinEvent(
1100 NtUserOpenClipboard(
1107 PUNICODE_STRING lpszDesktopName
,
1109 ACCESS_MASK dwDesiredAccess
);
1113 NtUserOpenInputDesktop(
1116 ACCESS_MASK dwDesiredAccess
);
1120 NtUserOpenWindowStation(
1121 PUNICODE_STRING lpszWindowStationName
,
1122 ACCESS_MASK dwDesiredAccess
);
1148 NtUserPostThreadMessage(
1156 NtUserQuerySendMessage(
1161 NtUserQueryUserCounters(
1176 NtUserRealChildWindowFromPoint(
1186 CONST RECT
*lprcUpdate
,
1193 NtUserRegisterClassExWOW(CONST WNDCLASSEXW
* lpwcx
,
1201 NtUserRegisterHotKey(HWND hWnd
,
1208 NtUserRegisterTasklist(
1212 NtUserRegisterWindowMessage(PUNICODE_STRING MessageName
);
1222 NtUserRemoveProp(HWND hWnd
, ATOM Atom
);
1226 NtUserResolveDesktopForWOW(
1243 CONST RECT
*lprcScroll
,
1244 CONST RECT
*lprcClip
,
1250 NtUserScrollWindowEx(
1268 NtUserSendMessage(HWND hWnd
,
1275 NtUserSendMessageCallback(
1280 SENDASYNCPROC lpCallBack
,
1285 NtUserSendNotifyMessage(
1292 NtUserSetActiveWindow(HWND Wnd
);
1294 NtUserGetActiveWindow(VOID
);
1297 NtUserSetCapture(HWND Wnd
);
1299 NtUserGetCapture(VOID
);
1318 NtUserSetClipboardData(
1325 NtUserSetClipboardViewer(
1330 NtUserSetConsoleReserveKeys(
1341 NtUserSetCursorContents(
1347 NtUserSetCursorIconData(
1375 NtUserSetImeOwnerWindow(
1381 NtUserSetInternalWindowPos(
1389 NtUserSetKeyboardState(
1394 NtUserSetLayeredWindowAttributes(
1402 NtUserSetLogonNotifyWindow(
1414 NtUserSetMenuContextHelpId(
1416 DWORD dwContextHelpId
);
1420 NtUserSetMenuDefaultItem(
1427 NtUserSetMenuFlagRtoL(
1432 NtUserSetObjectInformation(
1435 PVOID pvInformation
,
1442 HWND hWndNewParent
);
1446 NtUserSetProcessWindowStation(
1447 HWINSTA hWindowStation
);
1450 NtUserSetProp(HWND hWnd
, ATOM Atom
, HANDLE Data
);
1460 NtUserSetScrollInfo(
1468 NtUserSetShellWindowEx(
1470 HWND hwndShellListView
);
1474 NtUserGetShellWindow();
1486 NtUserSetSystemCursor(
1492 NtUserSetSystemMenu(
1498 NtUserSetThreadDesktop(
1503 NtUserSetThreadState(
1509 NtUserSetSystemTimer
1514 TIMERPROC lpTimerFunc
1524 TIMERPROC lpTimerFunc
1529 NtUserSetWindowFNID(
1535 NtUserSetWindowLong(
1543 NtUserSetWindowPlacement(
1548 STDCALL
NtUserSetWindowPos(
1550 HWND hWndInsertAfter
,
1567 NtUserSetWindowsHookAW(
1574 NtUserSetWindowsHookEx(
1584 NtUserSetWindowStationUser(
1591 NtUserSetWindowWord(HWND hWnd
, INT Index
, WORD NewVal
);
1595 NtUserSetWinEventHook(
1612 NtUserShowScrollBar(HWND hWnd
, int wBar
, DWORD bShow
);
1622 NtUserShowWindowAsync(
1628 NtUserSwitchDesktop(
1633 NtUserSystemParametersInfo(
1641 NtUserThunkedMenuInfo(
1647 NtUserThunkedMenuItemInfo(
1652 LPMENUITEMINFOW lpmii
,
1653 PUNICODE_STRING lpszCaption
);
1668 NtUserTrackMouseEvent(
1673 NtUserTrackPopupMenuEx(
1683 NtUserTranslateAccelerator(
1690 NtUserTranslateMessage(
1696 NtUserUnhookWindowsHookEx(
1701 NtUserUnhookWinEvent(
1706 NtUserUnloadKeyboardLayout(
1711 NtUserUnlockWindowStation(
1712 HWINSTA hWindowStation
);
1716 NtUserUnregisterClass(
1723 NtUserUnregisterHotKey(HWND hWnd
,
1728 NtUserUpdateInputContext(
1735 NtUserUpdateInstance(
1741 NtUserUpdateWindow( HWND hWnd
);
1745 NtUserUpdateLayeredWindow(
1758 NtUserUpdatePerUserSystemParameters(
1764 NtUserUserHandleGrantAccess(
1771 NtUserValidateHandleSecure(
1775 NtUserValidateRect(HWND Wnd
, const RECT
* Rect
);
1787 NtUserWaitForInputIdle(
1794 NtUserWaitForMsgAndEvent(
1799 NtUserWaitMessage(VOID
);
1803 NtUserWin32PoolAllocationStats(
1813 NtUserWindowFromPoint(
1819 NtUserYieldTask(VOID
);
1822 NtUserGetWindowThreadProcessId(HWND hWnd
, LPDWORD UnsafePid
);
1825 NtUserGetQueueStatus(BOOL ClearChanges
);
1828 NtUserGetParent(HWND hWnd
);
1831 NtUserGetWindow(HWND hWnd
, UINT Relationship
);
1834 NtUserGetLastActivePopup(HWND hWnd
);
1836 #endif /* __WIN32K_NTUSER_H */