Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1984 lines
33 KiB

  1. /****************************** Module Header ******************************\
  2. * Module Name: ntuser.h
  3. *
  4. * Copyright (c) 1985 - 1999, Microsoft Corporation
  5. *
  6. * This header file contains all kernel mode entry points
  7. *
  8. * History:
  9. * 03-22-95 JimA Created.
  10. \***************************************************************************/
  11. #ifndef _NTUSER_
  12. #define _NTUSER_
  13. #include "w32wow64.h"
  14. #ifndef W32KAPI
  15. #define W32KAPI DECLSPEC_ADDRSAFE
  16. #endif
  17. #include "usercall.h"
  18. #ifdef GENERIC_INPUT
  19. W32KAPI
  20. UINT
  21. NtUserGetRawInputData(
  22. IN HRAWINPUT hRawInput,
  23. IN UINT uiCommand,
  24. OUT LPVOID pData OPTIONAL,
  25. IN OUT PUINT pcbSize,
  26. IN UINT cbSizeHeader);
  27. W32KAPI
  28. UINT
  29. NtUserGetRawInputDeviceInfo(
  30. IN HANDLE hDevice,
  31. IN UINT uiCommand,
  32. OUT LPVOID pData OPTIONAL,
  33. IN OUT PUINT pcbSize);
  34. W32KAPI
  35. UINT
  36. NtUserGetRawInputBuffer(
  37. OUT PRAWINPUT pData OPTIONAL,
  38. IN PUINT pcbSize,
  39. #ifdef LATER
  40. IN DWORD dwFlags,
  41. #endif
  42. IN UINT cbSizeHeader);
  43. W32KAPI
  44. UINT
  45. NtUserGetRegisteredRawInputDevices(
  46. PRAWINPUTDEVICE pRawInputDevices,
  47. PUINT puiNumDevices,
  48. UINT cbSize);
  49. W32KAPI
  50. BOOL
  51. NtUserRegisterRawInputDevices(
  52. PRAWINPUTDEVICE pRawInputDevices,
  53. UINT uiNumDevices,
  54. UINT cbSize);
  55. W32KAPI
  56. UINT NtUserGetRawInputDeviceList(
  57. PRAWINPUTDEVICELIST pRawInputDeviceList,
  58. PUINT puiNumDevices,
  59. UINT cbSize);
  60. #endif // GENERIC_INPUT
  61. W32KAPI
  62. UINT
  63. NtUserHardErrorControl(
  64. IN HARDERRORCONTROL dwCmd,
  65. IN HANDLE handle OPTIONAL,
  66. OUT PDESKRESTOREDATA pdrdRestore OPTIONAL);
  67. W32KAPI
  68. BOOL
  69. NtUserGetObjectInformation(
  70. IN HANDLE hObject,
  71. IN int nIndex,
  72. OUT PVOID pvInfo,
  73. IN DWORD nLength,
  74. OUT LPDWORD pnLengthNeeded);
  75. W32KAPI
  76. BOOL
  77. NtUserSetObjectInformation(
  78. IN HANDLE hObject,
  79. IN int nIndex,
  80. IN LPCVOID pvInfo,
  81. IN DWORD nLength);
  82. W32KAPI
  83. BOOL
  84. NtUserWin32PoolAllocationStats(
  85. IN LPDWORD parrTags,
  86. IN SIZE_T tagsCount,
  87. OUT SIZE_T* lpdwMaxMem,
  88. OUT SIZE_T* lpdwCrtMem,
  89. OUT LPDWORD lpdwMaxAlloc,
  90. OUT LPDWORD lpdwCrtAlloc);
  91. #if DBG
  92. W32KAPI
  93. VOID
  94. NtUserDbgWin32HeapFail(
  95. IN DWORD dwFlags,
  96. IN BOOL bFail);
  97. W32KAPI
  98. DWORD
  99. NtUserDbgWin32HeapStat(
  100. PDBGHEAPSTAT phs,
  101. DWORD dwLen);
  102. #endif // DBG
  103. W32KAPI
  104. NTSTATUS
  105. NtUserConsoleControl(
  106. IN CONSOLECONTROL ConsoleCommand,
  107. IN PVOID ConsoleInformation,
  108. IN DWORD ConsoleInformationLength);
  109. W32KAPI
  110. HWINSTA
  111. NtUserCreateWindowStation(
  112. IN POBJECT_ATTRIBUTES pObja,
  113. IN ACCESS_MASK amRequest,
  114. IN HANDLE hKbdLayoutFile,
  115. IN DWORD offTable,
  116. PKBDTABLE_MULTI_INTERNAL pKbdTableMulti,
  117. IN PUNICODE_STRING pstrKLID,
  118. IN UINT uKbdInputLocale);
  119. W32KAPI
  120. HWINSTA
  121. NtUserOpenWindowStation(
  122. IN POBJECT_ATTRIBUTES pObja,
  123. IN ACCESS_MASK amRequest);
  124. W32KAPI
  125. BOOL
  126. NtUserCloseWindowStation(
  127. IN HWINSTA hwinsta);
  128. W32KAPI
  129. BOOL
  130. NtUserSetProcessWindowStation(
  131. IN HWINSTA hwinsta);
  132. W32KAPI
  133. HWINSTA
  134. NtUserGetProcessWindowStation(
  135. VOID);
  136. W32KAPI
  137. BOOL
  138. NtUserLockWorkStation(
  139. VOID);
  140. W32KAPI
  141. HDESK
  142. NtUserCreateDesktop(
  143. IN POBJECT_ATTRIBUTES pObja,
  144. IN PUNICODE_STRING pstrDevice,
  145. IN LPDEVMODEW pDevmode,
  146. IN DWORD dwFlags,
  147. IN ACCESS_MASK amRequest);
  148. W32KAPI
  149. HDESK
  150. NtUserOpenDesktop(
  151. IN POBJECT_ATTRIBUTES pObja,
  152. IN DWORD dwFlags,
  153. IN ACCESS_MASK amRequest);
  154. W32KAPI
  155. HDESK
  156. NtUserOpenInputDesktop(
  157. IN DWORD dwFlags,
  158. IN BOOL fInherit,
  159. IN DWORD amRequest);
  160. W32KAPI
  161. NTSTATUS
  162. NtUserResolveDesktopForWOW (
  163. IN OUT PUNICODE_STRING pstrDesktop);
  164. W32KAPI
  165. HDESK
  166. NtUserResolveDesktop(
  167. IN HANDLE hProcess,
  168. IN PUNICODE_STRING pstrDesktop,
  169. IN BOOL fInherit,
  170. OUT HWINSTA *phwinsta);
  171. W32KAPI
  172. BOOL
  173. NtUserCloseDesktop(
  174. IN HDESK hdesk);
  175. W32KAPI
  176. BOOL
  177. NtUserSetThreadDesktop(
  178. IN HDESK hdesk);
  179. W32KAPI
  180. HDESK
  181. NtUserGetThreadDesktop(
  182. IN DWORD dwThreadId,
  183. IN HDESK hdeskConsole);
  184. W32KAPI
  185. BOOL
  186. NtUserSwitchDesktop(
  187. IN HDESK hdesk);
  188. W32KAPI
  189. NTSTATUS
  190. NtUserInitializeClientPfnArrays(
  191. IN CONST PFNCLIENT *ppfnClientA OPTIONAL,
  192. IN CONST PFNCLIENT *ppfnClientW OPTIONAL,
  193. IN CONST PFNCLIENTWORKER *ppfnClientWorker OPTIONAL,
  194. IN HANDLE hModUser);
  195. W32KAPI
  196. BOOL
  197. NtUserWaitForMsgAndEvent(
  198. IN HANDLE hevent);
  199. W32KAPI
  200. DWORD
  201. NtUserDragObject(
  202. IN HWND hwndParent,
  203. IN HWND hwndFrom,
  204. IN UINT wFmt,
  205. IN ULONG_PTR dwData,
  206. IN HCURSOR hcur);
  207. W32KAPI
  208. BOOL
  209. NtUserGetIconInfo(
  210. IN HICON hicon,
  211. OUT PICONINFO piconinfo,
  212. IN OUT OPTIONAL PUNICODE_STRING pstrInstanceName,
  213. IN OUT OPTIONAL PUNICODE_STRING pstrResName,
  214. OUT OPTIONAL LPDWORD pbpp,
  215. IN BOOL fInternal);
  216. W32KAPI
  217. BOOL
  218. NtUserGetIconSize(
  219. IN HICON hIcon,
  220. IN UINT istepIfAniCur,
  221. OUT int *pcx,
  222. OUT int *pcy);
  223. W32KAPI
  224. BOOL
  225. NtUserDrawIconEx(
  226. IN HDC hdc,
  227. IN int x,
  228. IN int y,
  229. IN HICON hicon,
  230. IN int cx,
  231. IN int cy,
  232. IN UINT istepIfAniCur,
  233. IN HBRUSH hbrush,
  234. IN UINT diFlags,
  235. IN BOOL fMeta,
  236. OUT DRAWICONEXDATA *pdid);
  237. W32KAPI
  238. HANDLE
  239. NtUserDeferWindowPos(
  240. IN HDWP hWinPosInfo,
  241. IN HWND hwnd,
  242. IN HWND hwndInsertAfter,
  243. IN int x,
  244. IN int y,
  245. IN int cx,
  246. IN int cy,
  247. IN UINT wFlags);
  248. W32KAPI
  249. BOOL
  250. NtUserEndDeferWindowPosEx(
  251. IN HDWP hWinPosInfo,
  252. IN BOOL fAsync);
  253. W32KAPI
  254. BOOL
  255. NtUserGetMessage(
  256. OUT LPMSG pmsg,
  257. IN HWND hwnd,
  258. IN UINT wMsgFilterMin,
  259. IN UINT wMsgFilterMax);
  260. #ifdef MESSAGE_PUMP_HOOK
  261. W32KAPI
  262. BOOL
  263. NtUserRealInternalGetMessage(
  264. OUT LPMSG pmsg,
  265. IN HWND hwnd,
  266. IN UINT wMsgFilterMin,
  267. IN UINT wMsgFilterMax,
  268. IN UINT flags,
  269. BOOL fGetMessage);
  270. #endif
  271. W32KAPI
  272. BOOL
  273. NtUserMoveWindow(
  274. IN HWND hwnd,
  275. IN int x,
  276. IN int y,
  277. IN int cx,
  278. IN int cy,
  279. IN BOOL fRepaint);
  280. W32KAPI
  281. int
  282. NtUserTranslateAccelerator(
  283. IN HWND hwnd,
  284. IN HACCEL hAccTable,
  285. IN LPMSG lpMsg);
  286. W32KAPI
  287. LONG
  288. NtUserSetClassLong(
  289. IN HWND hwnd,
  290. IN int nIndex,
  291. IN LONG dwNewLong,
  292. IN BOOL bAnsi);
  293. #ifdef _WIN64
  294. W32KAPI
  295. LONG_PTR
  296. NtUserSetClassLongPtr(
  297. IN HWND hwnd,
  298. IN int nIndex,
  299. IN LONG_PTR dwNewLong,
  300. IN BOOL bAnsi);
  301. #else
  302. #define NtUserSetClassLongPtr NtUserSetClassLong
  303. #endif
  304. W32KAPI
  305. BOOL
  306. NtUserSetKeyboardState(
  307. IN CONST BYTE *lpKeyState);
  308. W32KAPI
  309. BOOL
  310. NtUserSetWindowPos(
  311. IN HWND hwnd,
  312. IN HWND hwndInsertAfter,
  313. IN int x,
  314. IN int y,
  315. IN int cx,
  316. IN int cy,
  317. IN UINT dwFlags);
  318. W32KAPI
  319. BOOL
  320. NtUserSetShellWindowEx(
  321. IN HWND hwnd,
  322. IN HWND hwndBkGnd);
  323. W32KAPI
  324. BOOL
  325. NtUserSystemParametersInfo(
  326. IN UINT wFlag,
  327. IN DWORD wParam,
  328. IN OUT LPVOID lpData,
  329. IN UINT flags);
  330. W32KAPI
  331. BOOL
  332. NtUserUpdatePerUserSystemParameters(
  333. IN HANDLE hToken,
  334. IN DWORD dwFlags);
  335. W32KAPI
  336. DWORD
  337. NtUserDdeInitialize(
  338. OUT PHANDLE phInst,
  339. OUT HWND *phwnd,
  340. OUT LPDWORD pMonFlags,
  341. IN DWORD afCmd,
  342. IN PVOID pcii);
  343. W32KAPI
  344. DWORD
  345. NtUserUpdateInstance(
  346. IN HANDLE hInst,
  347. OUT LPDWORD pMonFlags,
  348. IN DWORD afCmd);
  349. W32KAPI
  350. DWORD
  351. NtUserEvent(
  352. IN PEVENT_PACKET pep);
  353. W32KAPI
  354. BOOL
  355. NtUserFillWindow(
  356. IN HWND hwndBrush,
  357. IN HWND hwndPaint,
  358. IN HDC hdc,
  359. IN HBRUSH hbr);
  360. W32KAPI
  361. PCLS
  362. NtUserGetWOWClass(
  363. IN HINSTANCE hInstance,
  364. IN PUNICODE_STRING pString);
  365. W32KAPI
  366. UINT
  367. NtUserGetInternalWindowPos(
  368. IN HWND hwnd,
  369. OUT LPRECT lpRect OPTIONAL,
  370. OUT LPPOINT lpPoint OPTIONAL);
  371. W32KAPI
  372. NTSTATUS
  373. NtUserInitTask(
  374. IN UINT dwExpWinVer,
  375. IN DWORD dwAppCompatFlags,
  376. IN DWORD dwUserWOWCompatFlags,
  377. IN PUNICODE_STRING pstrModName,
  378. IN PUNICODE_STRING pstrBaseFileName,
  379. IN DWORD hTaskWow,
  380. IN DWORD dwHotkey,
  381. IN DWORD idTask,
  382. IN DWORD dwX,
  383. IN DWORD dwY,
  384. IN DWORD dwXSize,
  385. IN DWORD dwYSize);
  386. W32KAPI
  387. BOOL
  388. NtUserPostThreadMessage(
  389. IN DWORD id,
  390. IN UINT msg,
  391. IN WPARAM wParam,
  392. IN LPARAM lParam);
  393. W32KAPI
  394. BOOL
  395. NtUserRegisterTasklist(
  396. IN HWND hwndTasklist);
  397. W32KAPI
  398. BOOL
  399. NtUserSetClipboardData(
  400. IN UINT wFmt,
  401. IN HANDLE hMem,
  402. IN PSETCLIPBDATA scd);
  403. W32KAPI
  404. BOOL
  405. NtUserCloseClipboard(
  406. VOID);
  407. W32KAPI
  408. BOOL
  409. NtUserEmptyClipboard(
  410. VOID);
  411. W32KAPI
  412. HANDLE
  413. NtUserConvertMemHandle(
  414. IN LPBYTE lpData,
  415. IN UINT cbNULL);
  416. W32KAPI
  417. NTSTATUS
  418. NtUserCreateLocalMemHandle(
  419. IN HANDLE hMem,
  420. OUT LPBYTE lpData OPTIONAL,
  421. IN UINT cbData,
  422. OUT PUINT lpcbNeeded OPTIONAL);
  423. W32KAPI
  424. HHOOK
  425. NtUserSetWindowsHookEx(
  426. IN HANDLE hmod,
  427. IN PUNICODE_STRING pstrLib OPTIONAL,
  428. IN DWORD idThread,
  429. IN int nFilterType,
  430. IN PROC pfnFilterProc,
  431. IN DWORD dwFlags);
  432. W32KAPI
  433. BOOL
  434. NtUserSetInternalWindowPos(
  435. IN HWND hwnd,
  436. IN UINT cmdShow,
  437. IN CONST RECT *lpRect,
  438. IN CONST POINT *lpPoint);
  439. W32KAPI
  440. BOOL
  441. NtUserChangeClipboardChain(
  442. IN HWND hwndRemove,
  443. IN HWND hwndNewNext);
  444. W32KAPI
  445. DWORD
  446. NtUserCheckMenuItem(
  447. IN HMENU hmenu,
  448. IN UINT wIDCheckItem,
  449. IN UINT wCheck);
  450. W32KAPI
  451. HWND
  452. NtUserChildWindowFromPointEx(
  453. IN HWND hwndParent,
  454. IN POINT point,
  455. IN UINT flags);
  456. W32KAPI
  457. BOOL
  458. NtUserClipCursor(
  459. IN CONST RECT *lpRect OPTIONAL);
  460. W32KAPI
  461. HACCEL
  462. NtUserCreateAcceleratorTable(
  463. IN LPACCEL lpAccel,
  464. IN INT cAccel);
  465. W32KAPI
  466. BOOL
  467. NtUserDeleteMenu(
  468. IN HMENU hmenu,
  469. IN UINT nPosition,
  470. IN UINT dwFlags);
  471. W32KAPI
  472. BOOL
  473. NtUserDestroyAcceleratorTable(
  474. IN HACCEL hAccel);
  475. W32KAPI
  476. BOOL
  477. NtUserDestroyCursor(
  478. IN HCURSOR hcurs,
  479. IN DWORD cmd);
  480. W32KAPI
  481. HANDLE
  482. NtUserGetClipboardData(
  483. IN UINT fmt,
  484. OUT PGETCLIPBDATA pgcd);
  485. W32KAPI
  486. BOOL
  487. NtUserDestroyMenu(
  488. IN HMENU hmenu);
  489. W32KAPI
  490. UINT
  491. NtUserPaintMenuBar(
  492. IN HWND hwnd,
  493. IN HDC hdc,
  494. IN int iLeftOffset,
  495. IN int iRightOffset,
  496. IN int iTopOffset,
  497. IN DWORD dwFlags);
  498. W32KAPI
  499. UINT
  500. NtUserCalcMenuBar(
  501. IN HWND hwnd,
  502. IN int iLeftOffset,
  503. IN int iRightOffset,
  504. IN int iTopOffset,
  505. IN LPCRECT prcWnd);
  506. W32KAPI
  507. BOOL
  508. NtUserDestroyWindow(
  509. IN HWND hwnd);
  510. W32KAPI
  511. LRESULT
  512. NtUserDispatchMessage(
  513. IN CONST MSG *pmsg);
  514. W32KAPI
  515. BOOL
  516. NtUserEnableMenuItem(
  517. IN HMENU hMenu,
  518. IN UINT wIDEnableItem,
  519. IN UINT wEnable);
  520. W32KAPI
  521. BOOL
  522. NtUserAttachThreadInput(
  523. IN DWORD idAttach,
  524. IN DWORD idAttachTo,
  525. IN BOOL fAttach);
  526. W32KAPI
  527. BOOL
  528. NtUserGetWindowPlacement(
  529. IN HWND hwnd,
  530. OUT PWINDOWPLACEMENT pwp);
  531. W32KAPI
  532. BOOL
  533. NtUserSetWindowPlacement(
  534. IN HWND hwnd,
  535. IN CONST WINDOWPLACEMENT *lpwndpl);
  536. W32KAPI
  537. BOOL
  538. NtUserLockWindowUpdate(
  539. IN HWND hwnd);
  540. W32KAPI
  541. BOOL
  542. NtUserGetClipCursor(
  543. OUT LPRECT lpRect);
  544. W32KAPI
  545. BOOL
  546. NtUserEnableScrollBar(
  547. IN HWND hwnd,
  548. IN UINT wSBflags,
  549. IN UINT wArrows);
  550. W32KAPI
  551. BOOL
  552. NtUserDdeSetQualityOfService(
  553. IN HWND hwndClient,
  554. IN CONST SECURITY_QUALITY_OF_SERVICE *pqosNew,
  555. OUT PSECURITY_QUALITY_OF_SERVICE pqosPrev OPTIONAL);
  556. W32KAPI
  557. BOOL
  558. NtUserDdeGetQualityOfService(
  559. IN HWND hwndClient,
  560. IN HWND hwndServer,
  561. OUT PSECURITY_QUALITY_OF_SERVICE pqos);
  562. W32KAPI
  563. DWORD
  564. NtUserGetMenuIndex(
  565. IN HMENU hMenu,
  566. IN HMENU hSubMenu);
  567. W32KAPI
  568. VOID
  569. NtUserSetRipFlags(
  570. IN DWORD dwRipFlags);
  571. W32KAPI
  572. VOID
  573. NtUserSetDbgTag(
  574. IN int tag,
  575. IN DWORD dwBitFlags);
  576. W32KAPI
  577. VOID
  578. NtUserSetDbgTagCount(
  579. IN DWORD dwTagCount);
  580. W32KAPI
  581. BOOL
  582. NtUserThunkedMenuItemInfo(
  583. IN HMENU hMenu,
  584. IN UINT nPosition,
  585. IN BOOL fByPosition,
  586. IN BOOL fInsert,
  587. IN LPMENUITEMINFOW lpmii,
  588. IN PUNICODE_STRING pstrItem OPTIONAL);
  589. W32KAPI
  590. BOOL
  591. NtUserThunkedMenuInfo(
  592. IN HMENU hMenu,
  593. IN LPCMENUINFO lpmi);
  594. W32KAPI
  595. BOOL
  596. NtUserSetMenuDefaultItem(
  597. IN HMENU hMenu,
  598. IN UINT wID,
  599. IN UINT fByPosition
  600. );
  601. W32KAPI
  602. BOOL
  603. NtUserDrawAnimatedRects(
  604. IN HWND hwnd,
  605. IN int idAni,
  606. IN CONST RECT * lprcFrom,
  607. IN CONST RECT * lprcTo);
  608. W32KAPI
  609. BOOL
  610. NtUserDrawCaption(
  611. IN HWND hwnd,
  612. IN HDC hdc,
  613. IN CONST RECT *lprc,
  614. IN UINT flags);
  615. W32KAPI
  616. BOOL
  617. NtUserFlashWindowEx(
  618. IN PFLASHWINFO pfwi);
  619. W32KAPI
  620. BOOL
  621. NtUserPaintDesktop(
  622. IN HDC hdc);
  623. W32KAPI
  624. SHORT
  625. NtUserGetAsyncKeyState(
  626. IN int vKey);
  627. W32KAPI
  628. HBRUSH
  629. NtUserGetControlBrush(
  630. IN HWND hwnd,
  631. IN HDC hdc,
  632. IN UINT msg);
  633. W32KAPI
  634. HBRUSH
  635. NtUserGetControlColor(
  636. IN HWND hwndParent,
  637. IN HWND hwndCtl,
  638. IN HDC hdc,
  639. IN UINT msg);
  640. W32KAPI
  641. BOOL
  642. NtUserEndMenu(
  643. VOID);
  644. W32KAPI
  645. int
  646. NtUserCountClipboardFormats(
  647. VOID);
  648. W32KAPI
  649. DWORD
  650. NtUserGetClipboardSequenceNumber(
  651. VOID);
  652. W32KAPI
  653. UINT
  654. NtUserGetCaretBlinkTime(
  655. VOID);
  656. W32KAPI
  657. HWND
  658. NtUserGetClipboardOwner(
  659. VOID);
  660. W32KAPI
  661. HWND
  662. NtUserGetClipboardViewer(
  663. VOID);
  664. W32KAPI
  665. UINT
  666. NtUserGetDoubleClickTime(
  667. VOID);
  668. W32KAPI
  669. HWND
  670. NtUserGetForegroundWindow(
  671. VOID);
  672. W32KAPI
  673. HWND
  674. NtUserGetOpenClipboardWindow(
  675. VOID);
  676. W32KAPI
  677. int
  678. NtUserGetPriorityClipboardFormat(
  679. OUT UINT *paFormatPriorityList,
  680. IN int cFormats);
  681. W32KAPI
  682. HMENU
  683. NtUserGetSystemMenu(
  684. IN HWND hwnd,
  685. IN BOOL bRevert);
  686. W32KAPI
  687. BOOL
  688. NtUserGetUpdateRect(
  689. IN HWND hwnd,
  690. IN LPRECT prect OPTIONAL,
  691. IN BOOL bErase);
  692. W32KAPI
  693. BOOL
  694. NtUserHideCaret(
  695. IN HWND hwnd);
  696. W32KAPI
  697. BOOL
  698. NtUserHiliteMenuItem(
  699. IN HWND hwnd,
  700. IN HMENU hMenu,
  701. IN UINT uIDHiliteItem,
  702. IN UINT uHilite);
  703. W32KAPI
  704. BOOL
  705. NtUserInvalidateRect(
  706. IN HWND hwnd,
  707. IN CONST RECT *prect OPTIONAL,
  708. IN BOOL bErase);
  709. W32KAPI
  710. BOOL
  711. NtUserIsClipboardFormatAvailable(
  712. IN UINT nFormat);
  713. W32KAPI
  714. BOOL
  715. NtUserKillTimer(
  716. IN HWND hwnd,
  717. IN UINT_PTR nIDEvent);
  718. W32KAPI
  719. HWND
  720. NtUserMinMaximize(
  721. IN HWND hwnd,
  722. IN UINT nCmdShow,
  723. IN BOOL fKeepHidden);
  724. W32KAPI
  725. BOOL
  726. NtUserMNDragOver(
  727. IN POINT * ppt,
  728. OUT PMNDRAGOVERINFO pmndoi);
  729. W32KAPI
  730. BOOL
  731. NtUserMNDragLeave(
  732. VOID);
  733. W32KAPI
  734. BOOL
  735. NtUserOpenClipboard(
  736. IN HWND hwnd,
  737. OUT PBOOL pfEmptyClient);
  738. W32KAPI
  739. BOOL
  740. NtUserPeekMessage(
  741. OUT LPMSG pmsg,
  742. IN HWND hwnd,
  743. IN UINT wMsgFilterMin,
  744. IN UINT wMsgFilterMax,
  745. IN UINT wRemoveMsg);
  746. W32KAPI
  747. BOOL
  748. NtUserPostMessage(
  749. IN HWND hwnd,
  750. IN UINT msg,
  751. IN WPARAM wParam,
  752. IN LPARAM lParam);
  753. W32KAPI
  754. BOOL
  755. NtUserRegisterHotKey(
  756. IN HWND hwnd,
  757. IN int id,
  758. IN UINT fsModifiers,
  759. IN UINT vk);
  760. W32KAPI
  761. BOOL
  762. NtUserRemoveMenu(
  763. IN HMENU hmenu,
  764. IN UINT nPosition,
  765. IN UINT dwFlags);
  766. W32KAPI
  767. BOOL
  768. NtUserScrollWindowEx(
  769. IN HWND hwnd,
  770. IN int XAmount,
  771. IN int YAmount,
  772. IN CONST RECT *pRect OPTIONAL,
  773. IN CONST RECT *pClipRect OPTIONAL,
  774. IN HRGN hrgnUpdate,
  775. OUT LPRECT prcUpdate OPTIONAL,
  776. IN UINT flags);
  777. W32KAPI
  778. HWND
  779. NtUserSetActiveWindow(
  780. IN HWND hwnd);
  781. W32KAPI
  782. HWND
  783. NtUserSetCapture(
  784. IN HWND hwnd);
  785. W32KAPI
  786. WORD
  787. NtUserSetClassWord(
  788. IN HWND hwnd,
  789. IN int nIndex,
  790. IN WORD wNewWord);
  791. W32KAPI
  792. HWND
  793. NtUserSetClipboardViewer(
  794. IN HWND hwndNewViewer);
  795. W32KAPI
  796. HCURSOR
  797. NtUserSetCursor(
  798. IN HCURSOR hCursor);
  799. W32KAPI
  800. HWND
  801. NtUserSetFocus(
  802. IN HWND hwnd);
  803. W32KAPI
  804. BOOL
  805. NtUserSetMenu(
  806. IN HWND hwnd,
  807. IN HMENU hmenu,
  808. IN BOOL fRedraw);
  809. W32KAPI
  810. BOOL
  811. NtUserSetMenuContextHelpId(
  812. IN HMENU hMenu,
  813. IN DWORD dwContextHelpId);
  814. W32KAPI
  815. BOOL
  816. NtUserSetMenuFlagRtoL(
  817. IN HMENU hMenu);
  818. W32KAPI
  819. HWND
  820. NtUserSetParent(
  821. IN HWND hwndChild,
  822. IN HWND hwndNewParent);
  823. W32KAPI
  824. int
  825. NtUserSetScrollInfo(
  826. IN HWND hwnd,
  827. IN int nBar,
  828. IN LPCSCROLLINFO pInfo,
  829. IN BOOL fRedraw);
  830. W32KAPI
  831. BOOL
  832. NtUserSetSysColors(
  833. IN int cElements,
  834. IN CONST INT * lpaElements,
  835. IN CONST COLORREF * lpaRgbValues,
  836. IN UINT uOptions);
  837. W32KAPI
  838. UINT_PTR
  839. NtUserSetTimer(
  840. IN HWND hwnd,
  841. IN UINT_PTR nIDEvent,
  842. IN UINT wElapse,
  843. IN TIMERPROC pTimerFunc);
  844. W32KAPI
  845. LONG
  846. NtUserSetWindowLong(
  847. IN HWND hwnd,
  848. IN int nIndex,
  849. IN LONG dwNewLong,
  850. IN BOOL bAnsi);
  851. #ifdef _WIN64
  852. W32KAPI
  853. LONG_PTR
  854. NtUserSetWindowLongPtr(
  855. IN HWND hwnd,
  856. IN int nIndex,
  857. IN LONG_PTR dwNewLong,
  858. IN BOOL bAnsi);
  859. #else
  860. #define NtUserSetWindowLongPtr NtUserSetWindowLong
  861. #endif
  862. W32KAPI
  863. WORD
  864. NtUserSetWindowWord(
  865. IN HWND hwnd,
  866. IN int nIndex,
  867. IN WORD wNewWord);
  868. W32KAPI
  869. HHOOK
  870. NtUserSetWindowsHookAW(
  871. IN int nFilterType,
  872. IN HOOKPROC pfnFilterProc,
  873. IN DWORD dwFlags);
  874. W32KAPI
  875. BOOL
  876. NtUserShowCaret(
  877. IN HWND hwnd);
  878. W32KAPI
  879. BOOL
  880. NtUserShowScrollBar(
  881. IN HWND hwnd,
  882. IN int iBar,
  883. IN BOOL fShow);
  884. W32KAPI
  885. BOOL
  886. NtUserShowWindowAsync(
  887. IN HWND hwnd,
  888. IN int nCmdShow);
  889. W32KAPI
  890. BOOL
  891. NtUserShowWindow(
  892. IN HWND hwnd,
  893. IN int nCmdShow);
  894. W32KAPI
  895. BOOL
  896. NtUserTrackMouseEvent(
  897. IN OUT LPTRACKMOUSEEVENT lpTME
  898. );
  899. W32KAPI
  900. BOOL
  901. NtUserTrackPopupMenuEx(
  902. IN HMENU hMenu,
  903. IN UINT uFlags,
  904. IN int x,
  905. IN int y,
  906. IN HWND hwnd,
  907. IN CONST TPMPARAMS *pparamst OPTIONAL);
  908. W32KAPI
  909. BOOL
  910. NtUserTranslateMessage(
  911. IN CONST MSG *lpMsg,
  912. IN UINT flags);
  913. W32KAPI
  914. BOOL
  915. NtUserUnhookWindowsHookEx(
  916. IN HHOOK hhk);
  917. W32KAPI
  918. BOOL
  919. NtUserUnregisterHotKey(
  920. IN HWND hwnd,
  921. IN int id);
  922. W32KAPI
  923. BOOL
  924. NtUserValidateRect(
  925. IN HWND hwnd,
  926. IN CONST RECT *lpRect OPTIONAL);
  927. W32KAPI
  928. DWORD
  929. NtUserWaitForInputIdle(
  930. IN ULONG_PTR idProcess,
  931. IN DWORD dwMilliseconds,
  932. IN BOOL fSharedWow);
  933. W32KAPI
  934. HWND
  935. NtUserWindowFromPoint(
  936. IN POINT Point);
  937. W32KAPI
  938. HDC
  939. NtUserBeginPaint(
  940. IN HWND hwnd,
  941. OUT LPPAINTSTRUCT lpPaint);
  942. W32KAPI
  943. BOOL
  944. NtUserCreateCaret(
  945. IN HWND hwnd,
  946. IN HBITMAP hBitmap,
  947. IN int nWidth,
  948. IN int nHeight);
  949. W32KAPI
  950. BOOL
  951. NtUserEndPaint(
  952. IN HWND hwnd,
  953. IN CONST PAINTSTRUCT *lpPaint);
  954. W32KAPI
  955. int
  956. NtUserExcludeUpdateRgn(
  957. IN HDC hDC,
  958. IN HWND hwnd);
  959. W32KAPI
  960. HDC
  961. NtUserGetDC(
  962. IN HWND hwnd);
  963. W32KAPI
  964. HDC
  965. NtUserGetDCEx(
  966. IN HWND hwnd,
  967. IN HRGN hrgnClip,
  968. IN DWORD flags);
  969. W32KAPI
  970. HDC
  971. NtUserGetWindowDC(
  972. IN HWND hwnd);
  973. W32KAPI
  974. int
  975. NtUserGetUpdateRgn(
  976. IN HWND hwnd,
  977. IN HRGN hRgn,
  978. IN BOOL bErase);
  979. W32KAPI
  980. BOOL
  981. NtUserRedrawWindow(
  982. IN HWND hwnd,
  983. IN CONST RECT *lprcUpdate OPTIONAL,
  984. IN HRGN hrgnUpdate,
  985. IN UINT flags);
  986. W32KAPI
  987. BOOL
  988. NtUserInvalidateRgn(
  989. IN HWND hwnd,
  990. IN HRGN hRgn,
  991. IN BOOL bErase);
  992. W32KAPI
  993. int
  994. NtUserSetWindowRgn(
  995. IN HWND hwnd,
  996. IN HRGN hRgn,
  997. IN BOOL bRedraw);
  998. W32KAPI
  999. BOOL
  1000. NtUserScrollDC(
  1001. IN HDC hDC,
  1002. IN int dx,
  1003. IN int dy,
  1004. IN CONST RECT *lprcScroll OPTIONAL,
  1005. IN CONST RECT *lprcClip OPTIONAL,
  1006. IN HRGN hrgnUpdate,
  1007. OUT LPRECT lprcUpdate OPTIONAL);
  1008. W32KAPI
  1009. int
  1010. NtUserInternalGetWindowText(
  1011. IN HWND hwnd,
  1012. OUT LPWSTR lpString,
  1013. IN int nMaxCount);
  1014. W32KAPI
  1015. int
  1016. NtUserGetMouseMovePointsEx(
  1017. IN UINT cbSize,
  1018. IN CONST MOUSEMOVEPOINT *lppt,
  1019. OUT MOUSEMOVEPOINT *lpptBuf,
  1020. IN UINT nBufPoints,
  1021. IN DWORD resolution);
  1022. W32KAPI
  1023. int
  1024. NtUserToUnicodeEx(
  1025. IN UINT wVirtKey,
  1026. IN UINT wScanCode,
  1027. IN CONST BYTE *lpKeyState,
  1028. OUT LPWSTR lpszBuff,
  1029. IN int cchBuff,
  1030. IN UINT wFlags,
  1031. IN HKL hKeyboardLayout);
  1032. W32KAPI
  1033. BOOL
  1034. NtUserYieldTask(
  1035. VOID);
  1036. W32KAPI
  1037. BOOL
  1038. NtUserWaitMessage(
  1039. VOID);
  1040. #ifdef MESSAGE_PUMP_HOOK
  1041. W32KAPI
  1042. BOOL
  1043. NtUserRealWaitMessageEx(
  1044. IN UINT fsWakeMask,
  1045. IN DWORD Timeout);
  1046. #endif
  1047. W32KAPI
  1048. UINT
  1049. NtUserLockWindowStation(
  1050. IN HWINSTA hWindowStation);
  1051. W32KAPI
  1052. BOOL
  1053. NtUserUnlockWindowStation(
  1054. IN HWINSTA hWindowStation);
  1055. W32KAPI
  1056. UINT
  1057. NtUserSetWindowStationUser(
  1058. IN HWINSTA hWindowStation,
  1059. IN PLUID pLuidUser,
  1060. IN PSID pSidUser OPTIONAL,
  1061. IN DWORD cbSidUser);
  1062. W32KAPI
  1063. BOOL
  1064. NtUserSetLogonNotifyWindow(
  1065. IN HWND hwndNotify);
  1066. W32KAPI
  1067. BOOL
  1068. NtUserSetSystemCursor(
  1069. IN HCURSOR hcur,
  1070. IN DWORD id);
  1071. W32KAPI
  1072. HCURSOR
  1073. NtUserGetCursorFrameInfo(
  1074. IN HCURSOR hcur,
  1075. IN int iFrame,
  1076. OUT LPDWORD pjifRate,
  1077. OUT LPINT pccur);
  1078. W32KAPI
  1079. BOOL
  1080. NtUserSetCursorContents(
  1081. IN HCURSOR hCursor,
  1082. IN HCURSOR hCursorNew);
  1083. W32KAPI
  1084. HCURSOR
  1085. NtUserFindExistingCursorIcon(
  1086. IN PUNICODE_STRING pstrModName,
  1087. IN PUNICODE_STRING pstrResName,
  1088. IN PCURSORFIND pcfSearch);
  1089. W32KAPI
  1090. BOOL
  1091. NtUserSetCursorIconData(
  1092. IN HCURSOR hCursor,
  1093. IN PUNICODE_STRING pstrModName,
  1094. IN PUNICODE_STRING pstrResName,
  1095. IN PCURSORDATA pData);
  1096. W32KAPI
  1097. BOOL
  1098. NtUserGetMenuItemRect(
  1099. IN HWND hwnd,
  1100. IN HMENU hMenu,
  1101. IN UINT uItem,
  1102. OUT LPRECT lprcItem);
  1103. W32KAPI
  1104. int
  1105. NtUserMenuItemFromPoint(
  1106. IN HWND hwnd,
  1107. IN HMENU hMenu,
  1108. IN POINT ptScreen);
  1109. W32KAPI
  1110. BOOL
  1111. NtUserGetCaretPos(
  1112. OUT LPPOINT lpPoint);
  1113. W32KAPI
  1114. BOOL
  1115. NtUserDefSetText(
  1116. IN HWND hwnd,
  1117. IN PLARGE_STRING Text OPTIONAL);
  1118. W32KAPI
  1119. NTSTATUS
  1120. NtUserQueryInformationThread(
  1121. IN HANDLE hThread,
  1122. IN USERTHREADINFOCLASS ThreadInfoClass,
  1123. OUT PVOID ThreadInformation,
  1124. IN ULONG ThreadInformationLength,
  1125. IN OUT PULONG ReturnLength OPTIONAL);
  1126. W32KAPI
  1127. NTSTATUS
  1128. NtUserSetInformationThread(
  1129. IN HANDLE hThread,
  1130. IN USERTHREADINFOCLASS ThreadInfoClass,
  1131. IN PVOID ThreadInformation,
  1132. IN ULONG ThreadInformationLength);
  1133. W32KAPI
  1134. NTSTATUS
  1135. NtUserSetInformationProcess(
  1136. IN HANDLE hProcess,
  1137. IN USERPROCESSINFOCLASS ProcessInfoClass,
  1138. IN PVOID ProcessInformation,
  1139. IN ULONG ProcessInformationLength);
  1140. W32KAPI
  1141. BOOL
  1142. NtUserNotifyProcessCreate(
  1143. IN DWORD dwProcessId,
  1144. IN DWORD dwParentThreadId,
  1145. IN ULONG_PTR dwData,
  1146. IN DWORD dwFlags);
  1147. W32KAPI
  1148. NTSTATUS
  1149. NtUserTestForInteractiveUser(
  1150. IN PLUID pluidCaller);
  1151. W32KAPI
  1152. BOOL
  1153. NtUserSetConsoleReserveKeys(
  1154. IN HWND hwnd,
  1155. IN DWORD fsReserveKeys);
  1156. W32KAPI
  1157. VOID
  1158. NtUserModifyUserStartupInfoFlags(
  1159. IN DWORD dwMask,
  1160. IN DWORD dwFlags);
  1161. W32KAPI
  1162. BOOL
  1163. NtUserSetWindowFNID(
  1164. IN HWND hwnd,
  1165. IN WORD fnid);
  1166. W32KAPI
  1167. VOID
  1168. NtUserAlterWindowStyle(
  1169. IN HWND hwnd,
  1170. IN DWORD mask,
  1171. IN DWORD flags);
  1172. W32KAPI
  1173. VOID
  1174. NtUserSetThreadState(
  1175. IN DWORD dwFlags,
  1176. IN DWORD dwMask);
  1177. W32KAPI
  1178. ULONG_PTR
  1179. NtUserGetThreadState(
  1180. IN USERTHREADSTATECLASS ThreadState);
  1181. W32KAPI
  1182. BOOL
  1183. NtUserValidateHandleSecure(
  1184. IN HANDLE h);
  1185. W32KAPI
  1186. BOOL
  1187. NtUserUserHandleGrantAccess(
  1188. IN HANDLE hUserHandle,
  1189. IN HANDLE hJob,
  1190. IN BOOL bGrant);
  1191. W32KAPI
  1192. HWND
  1193. NtUserCreateWindowEx(
  1194. IN DWORD dwExStyle,
  1195. IN PLARGE_STRING pstrNVClassName,
  1196. IN PLARGE_STRING pstrClassName,
  1197. IN PLARGE_STRING pstrWindowName OPTIONAL,
  1198. IN DWORD dwStyle,
  1199. IN int x,
  1200. IN int y,
  1201. IN int nWidth,
  1202. IN int nHeight,
  1203. IN HWND hwndParent,
  1204. IN HMENU hmenu,
  1205. IN HANDLE hModule,
  1206. IN LPVOID pParam,
  1207. IN DWORD dwFlags,
  1208. IN PACTIVATION_CONTEXT pActCtx);
  1209. W32KAPI
  1210. NTSTATUS
  1211. NtUserBuildHwndList(
  1212. IN HDESK hdesk,
  1213. IN HWND hwndNext,
  1214. IN BOOL fEnumChildren,
  1215. IN DWORD idThread,
  1216. IN UINT cHwndMax,
  1217. OUT HWND *phwndFirst,
  1218. OUT PUINT pcHwndNeeded);
  1219. W32KAPI
  1220. NTSTATUS
  1221. NtUserBuildPropList(
  1222. IN HWND hwnd,
  1223. IN UINT cPropMax,
  1224. OUT PPROPSET pPropSet,
  1225. OUT PUINT pcPropNeeded);
  1226. W32KAPI
  1227. NTSTATUS
  1228. NtUserBuildNameList(
  1229. IN HWINSTA hwinsta,
  1230. IN UINT cbNameList,
  1231. OUT PNAMELIST pNameList,
  1232. OUT PUINT pcbNeeded);
  1233. W32KAPI
  1234. HKL
  1235. NtUserActivateKeyboardLayout(
  1236. IN HKL hkl,
  1237. IN UINT Flags);
  1238. W32KAPI
  1239. HKL
  1240. NtUserLoadKeyboardLayoutEx(
  1241. IN HANDLE hFile,
  1242. IN DWORD offTable,
  1243. IN PKBDTABLE_MULTI_INTERNAL pKbdTableMulti,
  1244. IN HKL hkl,
  1245. IN PUNICODE_STRING pstrKLID,
  1246. IN UINT KbdInputLocale,
  1247. IN UINT Flags);
  1248. W32KAPI
  1249. BOOL
  1250. NtUserUnloadKeyboardLayout(
  1251. IN HKL hkl);
  1252. W32KAPI
  1253. BOOL
  1254. NtUserSetSystemMenu(
  1255. IN HWND hwnd,
  1256. IN HMENU hmenu);
  1257. W32KAPI
  1258. BOOL
  1259. NtUserDragDetect(
  1260. IN HWND hwnd,
  1261. IN POINT pt);
  1262. W32KAPI
  1263. UINT_PTR
  1264. NtUserSetSystemTimer(
  1265. IN HWND hwnd,
  1266. IN UINT_PTR nIDEvent,
  1267. IN DWORD dwElapse,
  1268. IN WNDPROC pTimerFunc);
  1269. W32KAPI
  1270. BOOL
  1271. NtUserQuerySendMessage(
  1272. OUT PMSG pmsg);
  1273. W32KAPI
  1274. UINT
  1275. NtUserSendInput(
  1276. IN UINT cInputs,
  1277. IN CONST INPUT *pInputs,
  1278. IN int cbSize);
  1279. W32KAPI
  1280. BOOL
  1281. NtUserImpersonateDdeClientWindow(
  1282. IN HWND hwndClient,
  1283. IN HWND hwndServer);
  1284. W32KAPI
  1285. ULONG_PTR
  1286. NtUserGetCPD(
  1287. IN HWND hwnd,
  1288. IN DWORD options,
  1289. IN ULONG_PTR dwData);
  1290. W32KAPI
  1291. int
  1292. NtUserCopyAcceleratorTable(
  1293. IN HACCEL hAccelSrc,
  1294. IN OUT LPACCEL lpAccelDst OPTIONAL,
  1295. IN int cAccelEntries);
  1296. W32KAPI
  1297. HWND
  1298. NtUserFindWindowEx(
  1299. IN HWND hwndParent,
  1300. IN HWND hwndChild,
  1301. IN PUNICODE_STRING pstrClassName OPTIONAL,
  1302. IN PUNICODE_STRING pstrWindowName OPTIONAL,
  1303. IN DWORD dwType);
  1304. W32KAPI
  1305. BOOL
  1306. NtUserGetClassInfoEx(
  1307. IN HINSTANCE hInstance OPTIONAL,
  1308. IN PUNICODE_STRING pstrClassName,
  1309. IN OUT LPWNDCLASSEXW lpWndClass,
  1310. OUT LPWSTR *ppszMenuName,
  1311. IN BOOL bAnsi);
  1312. W32KAPI
  1313. int
  1314. NtUserGetClassName(
  1315. IN HWND hwnd,
  1316. IN BOOL bReal,
  1317. IN OUT PUNICODE_STRING pstrClassName);
  1318. W32KAPI
  1319. UINT
  1320. NtUserGetAtomName(
  1321. IN ATOM atom,
  1322. IN OUT PUNICODE_STRING pstrAtomName);
  1323. W32KAPI
  1324. int
  1325. NtUserGetClipboardFormatName(
  1326. IN UINT format,
  1327. OUT LPWSTR lpszFormatName,
  1328. IN UINT chMax);
  1329. W32KAPI
  1330. int
  1331. NtUserGetKeyNameText(
  1332. IN LONG lParam,
  1333. OUT LPWSTR lpszKeyName,
  1334. IN UINT chMax);
  1335. W32KAPI
  1336. BOOL
  1337. NtUserGetKeyboardLayoutName(
  1338. IN OUT PUNICODE_STRING pstrKLID);
  1339. W32KAPI
  1340. UINT
  1341. NtUserGetKeyboardLayoutList(
  1342. IN UINT nItems,
  1343. OUT HKL *lpBuff);
  1344. W32KAPI
  1345. DWORD
  1346. NtUserGetGuiResources(
  1347. IN HANDLE hProcess,
  1348. IN DWORD dwFlags);
  1349. W32KAPI
  1350. UINT
  1351. NtUserMapVirtualKeyEx(
  1352. IN UINT uCode,
  1353. IN UINT uMapType,
  1354. IN ULONG_PTR dwHKLorPKL,
  1355. IN BOOL bHKL);
  1356. W32KAPI
  1357. ATOM
  1358. NtUserRegisterClassExWOW(
  1359. IN WNDCLASSEX *lpWndClass,
  1360. IN PUNICODE_STRING pstrClassName,
  1361. IN PUNICODE_STRING pstrClassNameVer,
  1362. IN PCLSMENUNAME pcmn,
  1363. IN WORD fnid,
  1364. IN DWORD dwFlags,
  1365. IN LPDWORD pdwWOWstuff OPTIONAL);
  1366. W32KAPI
  1367. UINT
  1368. NtUserRegisterWindowMessage(
  1369. IN PUNICODE_STRING pstrMessage);
  1370. W32KAPI
  1371. HANDLE
  1372. NtUserRemoveProp(
  1373. IN HWND hwnd,
  1374. IN DWORD dwProp);
  1375. W32KAPI
  1376. BOOL
  1377. NtUserSetProp(
  1378. IN HWND hwnd,
  1379. IN DWORD dwProp,
  1380. IN HANDLE hData);
  1381. W32KAPI
  1382. BOOL
  1383. NtUserUnregisterClass(
  1384. IN PUNICODE_STRING pstrClassName,
  1385. IN HINSTANCE hInstance,
  1386. OUT PCLSMENUNAME pcmn);
  1387. W32KAPI
  1388. SHORT
  1389. NtUserVkKeyScanEx(
  1390. IN WCHAR ch,
  1391. IN ULONG_PTR dwHKLorPKL,
  1392. IN BOOL bHKL);
  1393. W32KAPI
  1394. NTSTATUS
  1395. NtUserEnumDisplayDevices(
  1396. IN PUNICODE_STRING pstrDeviceName,
  1397. IN DWORD iDevNum,
  1398. IN OUT LPDISPLAY_DEVICEW lpDisplayDevice,
  1399. IN DWORD dwFlags);
  1400. W32KAPI
  1401. HWINEVENTHOOK
  1402. NtUserSetWinEventHook(
  1403. IN DWORD eventMin,
  1404. IN DWORD eventMax,
  1405. IN HMODULE hmodWinEventProc,
  1406. IN PUNICODE_STRING pstrLib OPTIONAL,
  1407. IN WINEVENTPROC pfnWinEventProc,
  1408. IN DWORD idEventProcess,
  1409. IN DWORD idEventThread,
  1410. IN DWORD dwFlags);
  1411. W32KAPI
  1412. BOOL
  1413. NtUserUnhookWinEvent(
  1414. IN HWINEVENTHOOK hWinEventHook);
  1415. W32KAPI
  1416. VOID
  1417. NtUserNotifyWinEvent(
  1418. IN DWORD event,
  1419. IN HWND hwnd,
  1420. IN LONG idObject,
  1421. IN LONG idChild);
  1422. W32KAPI
  1423. BOOL
  1424. NtUserRegisterUserApiHook(
  1425. IN PUNICODE_STRING pstrLib,
  1426. IN ULONG_PTR offPfnInitUserApiHook);
  1427. W32KAPI
  1428. BOOL
  1429. NtUserUnregisterUserApiHook(VOID);
  1430. W32KAPI
  1431. BOOL
  1432. NtUserGetGUIThreadInfo(
  1433. IN DWORD idThread,
  1434. IN OUT PGUITHREADINFO pgui);
  1435. W32KAPI
  1436. BOOL
  1437. NtUserGetTitleBarInfo(
  1438. IN HWND hwnd,
  1439. IN OUT PTITLEBARINFO ptbi);
  1440. W32KAPI
  1441. BOOL
  1442. NtUserGetScrollBarInfo(
  1443. IN HWND hwnd,
  1444. IN LONG idObject,
  1445. IN OUT PSCROLLBARINFO ptbi);
  1446. W32KAPI
  1447. BOOL
  1448. NtUserGetComboBoxInfo(
  1449. IN HWND hwnd,
  1450. IN OUT PCOMBOBOXINFO pcbi
  1451. );
  1452. W32KAPI
  1453. DWORD
  1454. NtUserGetListBoxInfo(
  1455. IN HWND hwnd
  1456. );
  1457. W32KAPI
  1458. HWND
  1459. NtUserGetAncestor(
  1460. IN HWND hwnd,
  1461. IN UINT gaFlags);
  1462. W32KAPI
  1463. BOOL
  1464. NtUserGetCursorInfo(
  1465. IN OUT PCURSORINFO pci);
  1466. W32KAPI
  1467. HWND
  1468. NtUserRealChildWindowFromPoint(
  1469. IN HWND hwndParent,
  1470. IN POINT pt
  1471. );
  1472. W32KAPI
  1473. BOOL
  1474. NtUserGetAltTabInfo(
  1475. IN HWND hwnd,
  1476. IN int iItem,
  1477. IN OUT PALTTABINFO pati,
  1478. OUT LPWSTR lpszItemText,
  1479. IN UINT cchItemText,
  1480. IN BOOL bAnsi);
  1481. W32KAPI
  1482. BOOL
  1483. NtUserGetMenuBarInfo(
  1484. IN HWND hwnd,
  1485. IN long idObject,
  1486. IN long idItem,
  1487. IN OUT PMENUBARINFO pmbi);
  1488. W32KAPI
  1489. BOOL
  1490. NtUserCallMsgFilter(
  1491. IN OUT LPMSG lpMsg,
  1492. IN int nCode);
  1493. W32KAPI
  1494. int
  1495. NtUserDrawMenuBarTemp(
  1496. IN HWND hwnd,
  1497. IN HDC hdc,
  1498. IN LPCRECT lprc,
  1499. IN HMENU hMenu,
  1500. IN HFONT hFont);
  1501. W32KAPI
  1502. BOOL
  1503. NtUserDrawCaptionTemp(
  1504. IN HWND hwnd,
  1505. IN HDC hdc,
  1506. IN LPCRECT lprc,
  1507. IN HFONT hFont,
  1508. IN HICON hicon,
  1509. IN PUNICODE_STRING pstrText,
  1510. IN UINT flags);
  1511. W32KAPI
  1512. SHORT
  1513. NtUserGetKeyState(
  1514. IN int vk);
  1515. W32KAPI
  1516. BOOL
  1517. NtUserGetKeyboardState(
  1518. OUT PBYTE pb);
  1519. W32KAPI
  1520. HANDLE
  1521. NtUserQueryWindow(
  1522. IN HWND hwnd,
  1523. IN WINDOWINFOCLASS WindowInfo);
  1524. W32KAPI
  1525. BOOL
  1526. NtUserSBGetParms(
  1527. IN HWND hwnd,
  1528. IN int code,
  1529. IN PSBDATA pw,
  1530. IN OUT LPSCROLLINFO lpsi);
  1531. W32KAPI
  1532. BOOL
  1533. NtUserBitBltSysBmp(
  1534. IN HDC hdc,
  1535. IN int xDest,
  1536. IN int yDest,
  1537. IN int cxDest,
  1538. IN int cyDest,
  1539. IN int xSrc,
  1540. IN int ySrc,
  1541. IN DWORD dwRop);
  1542. W32KAPI
  1543. LRESULT
  1544. NtUserMessageCall(
  1545. IN HWND hwnd,
  1546. IN UINT msg,
  1547. IN WPARAM wParam,
  1548. IN LPARAM lParam,
  1549. IN ULONG_PTR xParam,
  1550. IN DWORD xpfnProc,
  1551. IN BOOL bAnsi);
  1552. W32KAPI
  1553. LRESULT
  1554. NtUserCallNextHookEx(
  1555. IN int nCode,
  1556. IN WPARAM wParam,
  1557. IN LPARAM lParam,
  1558. IN BOOL bAnsi);
  1559. W32KAPI
  1560. BOOL
  1561. NtUserEnumDisplayMonitors(
  1562. IN HDC hdc,
  1563. IN LPCRECT lprcClip,
  1564. IN MONITORENUMPROC lpfnEnum,
  1565. IN LPARAM dwData);
  1566. W32KAPI
  1567. NTSTATUS
  1568. NtUserEnumDisplaySettings(
  1569. IN PUNICODE_STRING pstrDeviceName,
  1570. IN DWORD iModeNum,
  1571. OUT LPDEVMODEW lpDevMode,
  1572. IN DWORD dwFlags);
  1573. W32KAPI
  1574. LONG
  1575. NtUserChangeDisplaySettings(
  1576. IN PUNICODE_STRING pstrDeviceName,
  1577. IN LPDEVMODEW lpDevMode,
  1578. IN DWORD dwFlags,
  1579. IN PVOID lParam);
  1580. #ifdef PRERELEASE
  1581. W32KAPI
  1582. BOOL
  1583. NtUserQueryUserCounters(
  1584. IN DWORD dwQueryType,
  1585. IN LPVOID pvIn,
  1586. IN DWORD dwInSize,
  1587. OUT LPVOID pvResult,
  1588. IN DWORD dwOutSize);
  1589. #endif
  1590. W32KAPI
  1591. BOOL
  1592. NtUserUpdateLayeredWindow(
  1593. IN HWND hwnd,
  1594. IN HDC hdcDst,
  1595. IN POINT *pptDst,
  1596. IN SIZE *psize,
  1597. IN HDC hdcSrc,
  1598. IN POINT *pptSrc,
  1599. IN COLORREF crKey,
  1600. IN BLENDFUNCTION *pblend,
  1601. IN DWORD dwFlags);
  1602. W32KAPI
  1603. BOOL
  1604. NtUserGetLayeredWindowAttributes(
  1605. IN HWND hwnd,
  1606. OUT COLORREF *pcrKey OPTIONAL,
  1607. OUT BYTE *pbAlpha OPTIONAL,
  1608. OUT DWORD * pdwFlags OPTIONAL);
  1609. W32KAPI
  1610. BOOL
  1611. NtUserSetLayeredWindowAttributes(
  1612. IN HWND hwnd,
  1613. IN COLORREF crKey,
  1614. IN BYTE bAlpha,
  1615. IN DWORD dwFlags);
  1616. W32KAPI
  1617. BOOL
  1618. NtUserPrintWindow(
  1619. IN HWND hwnd,
  1620. IN HDC hdcBlt,
  1621. IN UINT nFlags);
  1622. W32KAPI
  1623. NTSTATUS
  1624. NtUserRemoteConnect(
  1625. IN PDOCONNECTDATA pDoConnectData,
  1626. IN ULONG DisplayDriverNameLength,
  1627. IN PWCHAR DisplayDriverName );
  1628. W32KAPI
  1629. NTSTATUS
  1630. NtUserRemoteRedrawRectangle(
  1631. IN WORD Left,
  1632. IN WORD Top,
  1633. IN WORD Right,
  1634. IN WORD Bottom );
  1635. W32KAPI
  1636. NTSTATUS
  1637. NtUserRemoteRedrawScreen( VOID );
  1638. W32KAPI
  1639. NTSTATUS
  1640. NtUserRemoteStopScreenUpdates( VOID );
  1641. W32KAPI
  1642. NTSTATUS
  1643. NtUserCtxDisplayIOCtl(
  1644. IN ULONG DisplayIOCtlFlags,
  1645. IN PUCHAR pDisplayIOCtlData,
  1646. IN ULONG cbDisplayIOCtlData);
  1647. W32KAPI
  1648. HPALETTE
  1649. NtUserSelectPalette(
  1650. IN HDC hdc,
  1651. IN HPALETTE hpalette,
  1652. IN BOOL fForceBackground);
  1653. W32KAPI
  1654. NTSTATUS
  1655. NtUserProcessConnect(
  1656. IN HANDLE hProcess,
  1657. IN OUT PVOID pConnectInfo,
  1658. IN ULONG cbConnectInfo);
  1659. W32KAPI
  1660. NTSTATUS
  1661. NtUserSoundSentry(VOID);
  1662. W32KAPI
  1663. NTSTATUS
  1664. NtUserInitialize(
  1665. IN DWORD dwVersion,
  1666. IN HANDLE hPowerRequestEvent,
  1667. IN HANDLE hMediaRequestEvent);
  1668. W32KAPI
  1669. BOOL
  1670. NtUserSetProcessRedirectionMode(
  1671. IN HANDLE hProcess,
  1672. IN BOOL bRedirectionMode);
  1673. W32KAPI
  1674. BOOL
  1675. NtUserGetProcessRedirectionMode(
  1676. IN HANDLE hProcess,
  1677. OUT PBOOL pbRedirectionMode);
  1678. W32KAPI
  1679. BOOL
  1680. NtUserSetDesktopRedirectionMode(
  1681. IN HANDLE hProcess,
  1682. IN BOOL bRedirectionMode);
  1683. W32KAPI
  1684. BOOL
  1685. NtUserGetDesktopRedirectionMode(
  1686. IN HANDLE hProcess,
  1687. OUT PBOOL pbRedirectionMode);
  1688. W32KAPI
  1689. BOOL
  1690. NtUserValidateTimerCallback(
  1691. IN ULONG_PTR pfnCallback);
  1692. #endif // _NTUSER_