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(
92 LPCMENUITEMINFOW
* lpmiil
,
140 NtUserCallHwndParamLock(
153 NtUserCallNextHookEx(
164 #define ONEPARAM_ROUTINE_GETMENU 0x01
165 #define ONEPARAM_ROUTINE_ISWINDOWUNICODE 0x02
166 #define ONEPARAM_ROUTINE_WINDOWFROMDC 0x03
167 #define ONEPARAM_ROUTINE_GETWNDCONTEXTHLPID 0x04
174 #define TWOPARAM_ROUTINE_ENABLEWINDOW 0x53
175 #define TWOPARAM_ROUTINE_UNKNOWN 0x54
176 #define TWOPARAM_ROUTINE_SHOWOWNEDPOPUPS 0x55
177 #define TWOPARAM_ROUTINE_SWITCHTOTHISWINDOW 0x56
178 #define TWOPARAM_ROUTINE_VALIDATERGN 0x57
179 #define TWOPARAM_ROUTINE_SETWNDCONTEXTHLPID 0x58
180 #define TWOPARAM_ROUTINE_CURSORPOSITION 0x59
190 NtUserChangeClipboardChain(
196 NtUserChangeDisplaySettings(
197 PUNICODE_STRING lpszDeviceName
,
198 LPDEVMODEW lpDevMode
,
211 NtUserChildWindowFromPointEx(HWND Parent
,
223 NtUserCloseClipboard(VOID
);
232 NtUserCloseWindowStation(
237 NtUserConvertMemHandle(
243 NtUserCopyAcceleratorTable(
250 NtUserCountClipboardFormats(VOID
);
254 NtUserCreateAcceleratorTable(
256 SIZE_T EntriesCount
);
269 PUNICODE_STRING lpszDesktopName
,
271 ACCESS_MASK dwDesiredAccess
,
272 LPSECURITY_ATTRIBUTES lpSecurity
,
273 HWINSTA hWindowStation
);
277 NtUserCreateLocalMemHandle(
285 NtUserCreateMenu(VOID
);
289 NtUserCreateWindowEx(
291 PUNICODE_STRING lpClassName
,
292 PUNICODE_STRING lpWindowName
,
306 NtUserCreateWindowStation(
307 PUNICODE_STRING lpszWindowStationName
,
308 ACCESS_MASK dwDesiredAccess
,
309 LPSECURITY_ATTRIBUTES lpSecurity
,
316 NtUserDdeGetQualityOfService(
332 NtUserDdeSetQualityOfService(
338 NtUserDeferWindowPos(HDWP WinPosInfo
,
361 NtUserDestroyAcceleratorTable(
376 NtUserDestroyWindow(HWND Wnd
);
380 NtUserDispatchMessage(CONST MSG
* lpmsg
);
400 NtUserDrawAnimatedRects(
416 NtUserDrawCaptionTemp(
442 NtUserDrawMenuBarTemp(
451 NtUserEmptyClipboard(VOID
);
455 NtUserEnableMenuItem(
462 NtUserInsertMenuItem(
466 LPCMENUITEMINFOW lpmii
);
471 NtUserEnableScrollBar(
478 NtUserEndDeferWindowPosEx(
487 NtUserEndPaint(HWND hWnd
, CONST PAINTSTRUCT
* lPs
);
491 NtUserEnumDisplayDevices (
492 PUNICODE_STRING lpDevice
, /* device name */
493 DWORD iDevNum
, /* display device */
494 PDISPLAY_DEVICE lpDisplayDevice
, /* device information */
495 DWORD dwFlags
); /* reserved */
499 NtUserEnumDisplayMonitors (
502 MONITORENUMPROC lpfnEnum
,
507 NtUserEnumDisplaySettings(
508 PUNICODE_STRING lpszDeviceName
,
510 LPDEVMODEW lpDevMode
, /* FIXME is this correct? */
520 NtUserExcludeUpdateRgn(
534 NtUserFindExistingCursorIcon(
544 PUNICODE_STRING ucClassName
,
545 PUNICODE_STRING ucWindowName
564 NtUserGetAncestor(HWND hWnd
, UINT Flags
);
569 NtUserGetAsyncKeyState(
574 NtUserGetCaretBlinkTime(VOID
);
582 NtUserGetClassInfo(HINSTANCE hInst
,
590 NtUserGetClassName(HWND hWnd
,
596 NtUserGetClipboardData(
602 NtUserGetClipboardFormatName(
609 NtUserGetClipboardOwner(VOID
);
613 NtUserGetClipboardSequenceNumber(VOID
);
617 NtUserGetClipboardViewer(VOID
);
626 NtUserGetComboBoxInfo(
632 NtUserGetControlBrush(
639 NtUserGetControlColor(
654 NtUserGetCursorFrameInfo(
666 NtUserGetMenuDefaultItem(
672 NtUserGetDC(HWND hWnd
);
674 HDC STDCALL
NtUserGetDCEx(HWND hWnd
, HANDLE hRegion
, ULONG Flags
);
678 NtUserGetDoubleClickTime(VOID
);
682 NtUserGetForegroundWindow(VOID
);
686 NtUserGetGuiResources(
692 NtUserGetGUIThreadInfo(
724 NtUserGetInternalWindowPos(
731 NtUserGetKeyboardLayoutList(
737 NtUserGetKeyboardLayoutName(
742 NtUserGetKeyboardState(
747 NtUserGetKeyNameText(
759 NtUserGetListBoxInfo(
764 NtUserGetMenuBarInfo(
778 NtUserGetMenuItemRect(
794 NtUserGetMouseMovePointsEx(
803 NtUserGetObjectInformation(
808 PDWORD nLengthNeeded
);
812 NtUserGetOpenClipboardWindow(VOID
);
816 NtUserGetPriorityClipboardFormat(
822 NtUserGetProcessWindowStation(VOID
);
826 NtUserGetScrollBarInfo(HWND hWnd
, LONG idObject
, PSCROLLBARINFO psbi
);
836 NtUserGetThreadDesktop(
842 NtUserGetThreadState(
847 NtUserGetTitleBarInfo(
872 NtUserGetWindowPlacement(
889 NtUserHiliteMenuItem(
897 NtUserImpersonateDdeClientWindow(
903 NtUserInitializeClientPfnArrays(
926 NtUserInternalGetWindowText(
933 NtUserInvalidateRect(
948 NtUserIsClipboardFormatAvailable(
961 NtUserLoadKeyboardLayoutEx(
971 NtUserLockWindowStation(
972 HWINSTA hWindowStation
);
976 NtUserLockWindowUpdate(
981 NtUserLockWorkStation(VOID
);
985 NtUserMapVirtualKeyEx(
1001 NtUserMenuItemFromPoint(
1013 LPMENUITEMINFOW lpmii
,
1037 NtUserMNDragLeave(VOID
);
1047 NtUserModifyUserStartupInfoFlags(
1064 NtUserNotifyIMEStatus(
1071 NtUserNotifyWinEvent(
1079 NtUserOpenClipboard(
1086 PUNICODE_STRING lpszDesktopName
,
1088 ACCESS_MASK dwDesiredAccess
);
1092 NtUserOpenInputDesktop(
1095 ACCESS_MASK dwDesiredAccess
);
1099 NtUserOpenWindowStation(
1100 PUNICODE_STRING lpszWindowStationName
,
1101 ACCESS_MASK dwDesiredAccess
);
1127 NtUserPostThreadMessage(
1135 NtUserQuerySendMessage(
1140 NtUserQueryUserCounters(
1155 NtUserRealChildWindowFromPoint(
1165 CONST RECT
*lprcUpdate
,
1172 NtUserRegisterClassExWOW(CONST WNDCLASSEXW
* lpwcx
,
1181 NtUserRegisterHotKey(
1189 NtUserRegisterTasklist(
1193 NtUserRegisterWindowMessage(PUNICODE_STRING MessageName
);
1203 NtUserRemoveProp(HWND hWnd
, ATOM Atom
);
1207 NtUserResolveDesktopForWOW(
1231 NtUserScrollWindowEx(
1249 NtUserSendMessage(HWND hWnd
,
1256 NtUserSendMessageCallback(
1261 SENDASYNCPROC lpCallBack
,
1266 NtUserSendNotifyMessage(
1273 NtUserSetActiveWindow(HWND Wnd
);
1275 NtUserGetActiveWindow(VOID
);
1278 NtUserSetCapture(HWND Wnd
);
1280 NtUserGetCapture(VOID
);
1299 NtUserSetClipboardData(
1306 NtUserSetClipboardViewer(
1311 NtUserSetConsoleReserveKeys(
1322 NtUserSetCursorContents(
1328 NtUserSetCursorIconData(
1356 NtUserSetImeOwnerWindow(
1362 NtUserSetInternalWindowPos(
1370 NtUserSetKeyboardState(
1375 NtUserSetLayeredWindowAttributes(
1383 NtUserSetLogonNotifyWindow(
1395 NtUserSetMenuContextHelpId(
1397 DWORD dwContextHelpId
);
1401 NtUserSetMenuDefaultItem(
1408 NtUserSetMenuFlagRtoL(
1413 NtUserSetObjectInformation(
1416 PVOID pvInformation
,
1423 HWND hWndNewParent
);
1427 NtUserSetProcessWindowStation(
1428 HWINSTA hWindowStation
);
1431 NtUserSetProp(HWND hWnd
, ATOM Atom
, HANDLE Data
);
1441 NtUserSetScrollInfo(
1449 NtUserSetShellWindowEx(
1451 HWND hwndShellListView
);
1455 NtUserGetShellWindow();
1467 NtUserSetSystemCursor(
1473 NtUserSetSystemMenu(
1479 NtUserSetSystemTimer(
1487 NtUserSetThreadDesktop(
1492 NtUserSetThreadState(
1503 TIMERPROC lpTimerFunc
1508 NtUserSetWindowFNID(
1514 NtUserSetWindowLong(
1522 NtUserSetWindowPlacement(
1527 STDCALL
NtUserSetWindowPos(
1529 HWND hWndInsertAfter
,
1546 NtUserSetWindowsHookAW(
1553 NtUserSetWindowsHookEx(
1563 NtUserSetWindowStationUser(
1570 NtUserSetWindowWord(HWND hWnd
, INT Index
, WORD NewVal
);
1574 NtUserSetWinEventHook(
1591 NtUserShowScrollBar(HWND hWnd
, int wBar
, DWORD bShow
);
1601 NtUserShowWindowAsync(
1607 NtUserSwitchDesktop(
1612 NtUserSystemParametersInfo(
1620 NtUserThunkedMenuInfo(
1626 NtUserThunkedMenuItemInfo(
1631 LPMENUITEMINFOW lpmii
,
1632 PUNICODE_STRING lpszCaption
);
1647 NtUserTrackMouseEvent(
1652 NtUserTrackPopupMenuEx(
1662 NtUserTranslateAccelerator(
1669 NtUserTranslateMessage(
1675 NtUserUnhookWindowsHookEx(
1680 NtUserUnhookWinEvent(
1685 NtUserUnloadKeyboardLayout(
1690 NtUserUnlockWindowStation(
1691 HWINSTA hWindowStation
);
1695 NtUserUnregisterClass(
1702 NtUserUnregisterHotKey(
1708 NtUserUpdateInputContext(
1715 NtUserUpdateInstance(
1721 NtUserUpdateWindow( HWND hWnd
);
1725 NtUserUpdateLayeredWindow(
1738 NtUserUpdatePerUserSystemParameters(
1744 NtUserUserHandleGrantAccess(
1751 NtUserValidateHandleSecure(
1755 NtUserValidateRect(HWND Wnd
, const RECT
* Rect
);
1767 NtUserWaitForInputIdle(
1774 NtUserWaitForMsgAndEvent(
1779 NtUserWaitMessage(VOID
);
1783 NtUserWin32PoolAllocationStats(
1793 NtUserWindowFromPoint(
1799 NtUserYieldTask(VOID
);
1802 NtUserGetWindowThreadProcessId(HWND hWnd
, LPDWORD UnsafePid
);
1805 NtUserGetQueueStatus(BOOL ClearChanges
);
1808 NtUserGetParent(HWND hWnd
);
1811 NtUserGetWindow(HWND hWnd
, UINT Relationship
);
1814 NtUserGetLastActivePopup(HWND hWnd
);
1816 #endif /* __WIN32K_NTUSER_H */