ReactOS  0.4.14-dev-49-gfb4591c
ntwrapper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BOOL FASTCALL TestState (PWND, UINT)
 
EXTINLINE BOOL WINAPI ShowScrollBar (HWND hWnd, INT wBar, BOOL bShow)
 
EXTINLINE BOOL WINAPI CloseDesktop (HDESK hDesktop)
 
EXTINLINE HDESK WINAPI OpenInputDesktop (DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess)
 
EXTINLINE BOOL WINAPI PaintDesktop (HDC hdc)
 
EXTINLINE BOOL WINAPI SetThreadDesktop (HDESK hDesktop)
 
EXTINLINE BOOL WINAPI SwitchDesktop (HDESK hDesktop)
 
EXTINLINE BOOL WINAPI SetShellWindowEx (HWND hwndShell, HWND hwndShellListView)
 
EXTINLINE DWORD WINAPI GetGuiResources (HANDLE hProcess, DWORD uiFlags)
 
EXTINLINE BOOL WINAPI GetUserObjectInformationW (HANDLE hObj, int nIndex, PVOID pvInfo, DWORD nLength, LPDWORD lpnLengthNeeded)
 
EXTINLINE BOOL WINAPI LockWindowUpdate (HWND hWndLock)
 
EXTINLINE BOOL WINAPI LockWorkStation (VOID)
 
EXTINLINE DWORD WINAPI RegisterTasklist (DWORD x)
 
EXTINLINE DWORD WINAPI DragObject (HWND hwnd1, HWND hwnd2, UINT u1, ULONG_PTR dw1, HCURSOR hc1)
 
EXTINLINE BOOL WINAPI KillTimer (HWND hWnd, UINT_PTR IDEvent)
 
EXTINLINE UINT_PTR WINAPI SetSystemTimer (HWND hWnd, UINT_PTR IDEvent, UINT Period, TIMERPROC TimerFunc)
 
EXTINLINE UINT_PTR WINAPI SetTimer (HWND hWnd, UINT_PTR IDEvent, UINT Period, TIMERPROC TimerFunc)
 
EXTINLINE BOOL WINAPI CloseWindowStation (HWINSTA hWinSta)
 
EXTINLINE HWINSTA WINAPI GetProcessWindowStation (VOID)
 
EXTINLINE BOOL WINAPI SetProcessWindowStation (HWINSTA hWinSta)
 
EXTINLINE BOOL WINAPI LockWindowStation (HWINSTA hWinSta)
 
EXTINLINE BOOL WINAPI UnlockWindowStation (HWINSTA hWinSta)
 
EXTINLINE int WINAPI CopyAcceleratorTableW (HACCEL hAccelSrc, LPACCEL lpAccelDst, int cAccelEntries)
 
EXTINLINE HACCEL WINAPI CreateAcceleratorTableW (LPACCEL lpaccl, int cEntries)
 
EXTINLINE BOOL WINAPI CreateCaret (HWND hWnd, HBITMAP hBitmap, int nWidth, int nHeight)
 
EXTINLINE UINT WINAPI GetCaretBlinkTime (VOID)
 
EXTINLINE BOOL WINAPI GetCaretPos (LPPOINT lpPoint)
 
EXTINLINE BOOL WINAPI CloseClipboard (VOID)
 
EXTINLINE INT WINAPI CountClipboardFormats (VOID)
 
EXTINLINE BOOL WINAPI EmptyClipboard (VOID)
 
EXTINLINE HWND WINAPI GetClipboardOwner (VOID)
 
EXTINLINE DWORD WINAPI GetClipboardSequenceNumber (VOID)
 
EXTINLINE HWND WINAPI GetClipboardViewer (VOID)
 
EXTINLINE HWND WINAPI GetOpenClipboardWindow (VOID)
 
EXTINLINE INT WINAPI GetPriorityClipboardFormat (UINT *paFormatPriorityList, INT cFormats)
 
EXTINLINE BOOL WINAPI IsClipboardFormatAvailable (UINT format)
 
EXTINLINE HWND WINAPI SetClipboardViewer (HWND hWndNewViewer)
 
EXTINLINE BOOL WINAPI ChangeClipboardChain (HWND hWndRemove, HWND hWndNewNext)
 
EXTINLINE BOOL WINAPI GetClipCursor (LPRECT lpRect)
 
EXTINLINE HBRUSH WINAPI GetControlBrush (HWND hwnd, HDC hdc, UINT ctlType)
 
EXTINLINE HBRUSH WINAPI GetControlColor (HWND hwndParent, HWND hwnd, HDC hdc, UINT CtlMsg)
 
EXTINLINE BOOL WINAPI GetCursorInfo (PCURSORINFO pci)
 
EXTINLINE BOOL WINAPI ClipCursor (CONST RECT *lpRect)
 
EXTINLINE HCURSOR WINAPI SetCursor (HCURSOR hCursor)
 
EXTINLINE HDC WINAPI GetDC (HWND hWnd)
 
EXTINLINE HDC WINAPI GetDCEx (HWND hWnd, HRGN hrgnClip, DWORD flags)
 
EXTINLINE HDC WINAPI GetWindowDC (HWND hWnd)
 
EXTINLINE BOOL WINAPI FlashWindowEx (PFLASHWINFO pfwi)
 
EXTINLINE BOOL WINAPI DrawAnimatedRects (HWND hWnd, int idAni, CONST RECT *lprcFrom, CONST RECT *lprcTo)
 
EXTINLINE BOOL WINAPI BlockInput (BOOL fBlockIt)
 
EXTINLINE UINT WINAPI GetDoubleClickTime (VOID)
 
EXTINLINE BOOL WINAPI GetKeyboardState (PBYTE lpKeyState)
 
EXTINLINE BOOL WINAPI RegisterHotKey (HWND hWnd, int id, UINT fsModifiers, UINT vk)
 
EXTINLINE HWND WINAPI SetFocus (HWND hWnd)
 
EXTINLINE BOOL WINAPI SetKeyboardState (LPBYTE lpKeyState)
 
EXTINLINE UINT WINAPI SendInput (UINT nInputs, LPINPUT pInputs, int cbSize)
 
EXTINLINE BOOL WINAPI WaitMessage (VOID)
 
EXTINLINE HDC WINAPI BeginPaint (HWND hwnd, LPPAINTSTRUCT lpPaint)
 
EXTINLINE BOOL WINAPI EndPaint (HWND hWnd, CONST PAINTSTRUCT *lpPaint)
 
EXTINLINE int WINAPI ExcludeUpdateRgn (HDC hDC, HWND hWnd)
 
EXTINLINE BOOL WINAPI InvalidateRgn (HWND hWnd, HRGN hRgn, BOOL bErase)
 
EXTINLINE BOOL WINAPI RedrawWindow (HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
 
EXTINLINE BOOL WINAPI DestroyWindow (HWND hWnd)
 
EXTINLINE HWND WINAPI GetForegroundWindow (VOID)
 
EXTINLINE BOOL WINAPI GetGUIThreadInfo (DWORD idThread, LPGUITHREADINFO lpgui)
 
EXTINLINE BOOL WINAPI GetTitleBarInfo (HWND hwnd, PTITLEBARINFO pti)
 
EXTINLINE BOOL WINAPI GetWindowPlacement (HWND hWnd, WINDOWPLACEMENT *lpwndpl)
 
EXTINLINE BOOL WINAPI MoveWindow (HWND hWnd, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
 
EXTINLINE HWND WINAPI SetParent (HWND hWndChild, HWND hWndNewParent)
 
EXTINLINE BOOL WINAPI SetWindowPlacement (HWND hWnd, CONST WINDOWPLACEMENT *lpwndpl)
 
EXTINLINE BOOL WINAPI SetWindowPos (HWND hWnd, HWND hWndAfter, int X, int Y, int cx, int cy, UINT uFlags)
 
EXTINLINE BOOL WINAPI ShowWindow (HWND hWnd, int nCmdShow)
 
EXTINLINE BOOL WINAPI ShowWindowAsync (HWND hWnd, int nCmdShow)
 
EXTINLINE HWND WINAPI SetActiveWindow (HWND hWnd)
 
EXTINLINE DWORD WINAPI GetListBoxInfo (HWND hwnd)
 
EXTINLINE BOOL WINAPI DeleteMenu (HMENU hMenu, UINT uPosition, UINT uFlags)
 
EXTINLINE BOOL WINAPI DestroyMenu (HMENU hMenu)
 
EXTINLINE BOOL WINAPI GetMenuItemRect (HWND hWnd, HMENU hMenu, UINT uItem, LPRECT lprcItem)
 
EXTINLINE BOOL WINAPI RemoveMenu (HMENU hMenu, UINT uPosition, UINT uFlags)
 
EXTINLINE BOOL WINAPI SetMenuDefaultItem (HMENU hMenu, UINT uItem, UINT fByPos)
 
EXTINLINE BOOL WINAPI SetMenuContextHelpId (HMENU hmenu, DWORD dwContextHelpId)
 
EXTINLINE HWND WINAPI SetCapture (HWND hWnd)
 
EXTINLINE BOOL WINAPI InvalidateRect (HWND hWnd, CONST RECT *lpRect, BOOL bErase)
 
EXTINLINE BOOL WINAPI ValidateRect (HWND hWnd, CONST RECT *lpRect)
 
EXTINLINE BOOL WINAPI ShowCaret (HWND hWnd)
 
EXTINLINE BOOL WINAPI HideCaret (HWND hWnd)
 
EXTINLINE BOOL NtUserxDestroyCaret (VOID)
 
EXTINLINE VOID NtUserxMsqClearWakeMask (VOID)
 
EXTINLINE HMENU NtUserxCreateMenu (VOID)
 
EXTINLINE HMENU NtUserxCreatePopupMenu (VOID)
 
EXTINLINE DWORD NtUserxGetMessagePos (VOID)
 
EXTINLINE BOOL NtUserxReleaseCapture (VOID)
 
EXTINLINE BOOL NtUserxInitMessagePump (VOID)
 
EXTINLINE BOOL NtUserxUnInitMessagePump (VOID)
 
EXTINLINE HANDLE NtUserxMsqSetWakeMask (DWORD_PTR dwWaitMask)
 
EXTINLINE BOOL NtUserxSetCaretBlinkTime (UINT uMSeconds)
 
EXTINLINE HWND NtUserxWindowFromDC (HDC hDC)
 
EXTINLINE BOOL NtUserxSwapMouseButton (BOOL fSwap)
 
EXTINLINE LPARAM NtUserxSetMessageExtraInfo (LPARAM lParam)
 
EXTINLINE INT NtUserxShowCursor (BOOL bShow)
 
EXTINLINE UINT NtUserxEnumClipboardFormats (UINT format)
 
EXTINLINE HICON NtUserxCreateEmptyCurObject (DWORD_PTR Param)
 
EXTINLINE BOOL NtUserxMessageBeep (UINT uType)
 
EXTINLINE HKL NtUserxGetKeyboardLayout (DWORD idThread)
 
EXTINLINE INT NtUserxGetKeyboardType (INT nTypeFlag)
 
EXTINLINE INT NtUserxReleaseDC (HDC hDC)
 
EXTINLINE UINT NtUserxRealizePalette (HDC hDC)
 
EXTINLINE VOID NtUserxCreateSystemThreads (BOOL bRemoteProcess)
 
EXTINLINE HDWP NtUserxBeginDeferWindowPos (INT nNumWindows)
 
EXTINLINE BOOL NtUserxReplyMessage (LRESULT lResult)
 
EXTINLINE VOID NtUserxPostQuitMessage (int nExitCode)
 
EXTINLINE DWORD NtUserxGetQueueStatus (UINT flags)
 
EXTINLINE BOOL NtUserxValidateRgn (HWND hWnd, HRGN hRgn)
 
EXTINLINE BOOL NtUserxSetCursorPos (INT x, INT y)
 
EXTINLINE BOOL NtUserxEnableWindow (HWND hWnd, BOOL bEnable)
 
EXTINLINE BOOL NtUserxUpdateUiState (HWND hWnd, DWORD Param)
 
EXTINLINE VOID NtUserxSwitchToThisWindow (HWND hWnd, BOOL fAltTab)
 
EXTINLINE BOOL NtUserxShowOwnedPopups (HWND hWnd, BOOL fShow)
 
EXTINLINE BOOL NtUserxUnhookWindowsHook (int nCode, HOOKPROC pfnFilterProc)
 
EXTINLINE BOOL NtUserxSetWindowContextHelpId (HWND hWnd, DWORD_PTR dwContextHelpId)
 
EXTINLINE BOOL NtUserxKillSystemTimer (HWND hWnd, UINT_PTR IDEvent)
 
EXTINLINE VOID NtUserxSetDialogPointer (HWND hWnd, PVOID dlgInfo)
 
EXTINLINE VOID NtUserxNotifyWinEvent (HWND hWnd, PVOID ne)
 
EXTINLINE DWORD NtUserxGetWindowContextHelpId (HWND hwnd)
 
EXTINLINE BOOL NtUserxDeregisterShellHookWindow (HWND hWnd)
 
EXTINLINE BOOL NtUserxRegisterShellHookWindow (HWND hWnd)
 
EXTINLINE BOOL NtUserxSetMessageBox (HWND hWnd)
 
EXTINLINE VOID NtUserxClearWindowState (PWND pWnd, UINT Flag)
 
EXTINLINE VOID NtUserxSetWindowState (PWND pWnd, UINT Flag)
 
EXTINLINE HWND NtUserxSetTaskmanWindow (HWND hWnd)
 
EXTINLINE HWND NtUserxSetProgmanWindow (HWND hWnd)
 
EXTINLINE UINT NtUserxArrangeIconicWindows (HWND hWnd)
 
EXTINLINE BOOL NtUserxUpdateWindow (HWND hWnd)
 
EXTINLINE BOOL NtUserxDrawMenuBar (HWND hWnd)
 
EXTINLINE BOOL NtUserxMDIRedrawFrame (HWND hWnd)
 
EXTINLINE BOOL NtUserxSetForegroundWindow (HWND hWnd)
 
EXTINLINE LPARAM NtUserxGetMessageExtraInfo (VOID)
 
EXTINLINE VOID NtUserxEnableProcessWindowGhosting (BOOL bEnable)
 
EXTINLINE PVOID NtUserxGetDesktopMapping (PVOID ptr)
 
EXTINLINE BOOL NtUserxGetCursorPos (POINT *lpPoint)
 
EXTINLINE BOOL NtUserxSetMenuBarHeight (HMENU menu, INT height)
 
EXTINLINE BOOL NtUserxSetGUIThreadHandle (DWORD_PTR field, HWND hwnd)
 
EXTINLINE BOOL NtUserxSetCaretPos (INT x, INT y)
 
EXTINLINE BOOL NtUserxRegisterLogonProcess (DWORD dwProcessId, BOOL bRegister)
 
EXTINLINE BOOL NtUserxAllowSetForegroundWindow (DWORD dwProcessId)
 
EXTINLINE BOOL NtUserxLockSetForegroundWindow (UINT uLockCode)
 

Function Documentation

◆ BeginPaint()

EXTINLINE HDC WINAPI BeginPaint ( HWND  hwnd,
LPPAINTSTRUCT  lpPaint 
)

Definition at line 356 of file ntwrapper.h.

357 {
358  return NtUserBeginPaint(hwnd, lpPaint);
359 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HDC NTAPI NtUserBeginPaint(HWND hWnd, PAINTSTRUCT *lPs)
Definition: painting.c:1593

◆ BlockInput()

EXTINLINE BOOL WINAPI BlockInput ( BOOL  fBlockIt)

Definition at line 308 of file ntwrapper.h.

309 {
310  return NtUserBlockInput(fBlockIt);
311 }
BOOL NTAPI NtUserBlockInput(BOOL BlockIt)
Definition: input.c:419

◆ ChangeClipboardChain()

EXTINLINE BOOL WINAPI ChangeClipboardChain ( HWND  hWndRemove,
HWND  hWndNewNext 
)

Definition at line 238 of file ntwrapper.h.

239 {
240  return NtUserChangeClipboardChain(hWndRemove, hWndNewNext);
241 }
BOOL NTAPI NtUserChangeClipboardChain(HWND hWndRemove, HWND hWndNewNext)
Definition: clipboard.c:621

◆ ClipCursor()

EXTINLINE BOOL WINAPI ClipCursor ( CONST RECT lpRect)

Definition at line 266 of file ntwrapper.h.

267 {
268  return NtUserClipCursor((RECT *)lpRect);
269 }
BOOL NTAPI NtUserClipCursor(RECT *lpRect)

◆ CloseClipboard()

EXTINLINE BOOL WINAPI CloseClipboard ( VOID  )

◆ CloseDesktop()

EXTINLINE BOOL WINAPI CloseDesktop ( HDESK  hDesktop)

Definition at line 28 of file ntwrapper.h.

29 {
30  return NtUserCloseDesktop(hDesktop);
31 }
BOOL NTAPI NtUserCloseDesktop(HDESK hDesktop)
Definition: desktop.c:2677

◆ CloseWindowStation()

EXTINLINE BOOL WINAPI CloseWindowStation ( HWINSTA  hWinSta)

Definition at line 118 of file ntwrapper.h.

119 {
120  return NtUserCloseWindowStation(hWinSta);
121 }
BOOL NTAPI NtUserCloseWindowStation(HWINSTA hWinSta)
Definition: winsta.c:983

◆ CopyAcceleratorTableW()

EXTINLINE int WINAPI CopyAcceleratorTableW ( HACCEL  hAccelSrc,
LPACCEL  lpAccelDst,
int  cAccelEntries 
)

Definition at line 148 of file ntwrapper.h.

149 {
150  return NtUserCopyAcceleratorTable(hAccelSrc, lpAccelDst, cAccelEntries);
151 }
ULONG NTAPI NtUserCopyAcceleratorTable(HACCEL Table, LPACCEL Entries, ULONG EntriesCount)
Definition: accelerator.c:171

◆ CountClipboardFormats()

EXTINLINE INT WINAPI CountClipboardFormats ( VOID  )

◆ CreateAcceleratorTableW()

EXTINLINE HACCEL WINAPI CreateAcceleratorTableW ( LPACCEL  lpaccl,
int  cEntries 
)

Definition at line 154 of file ntwrapper.h.

155 {
156  return NtUserCreateAcceleratorTable(lpaccl, cEntries);
157 }
HACCEL NTAPI NtUserCreateAcceleratorTable(LPACCEL Entries, ULONG EntriesCount)
Definition: accelerator.c:229
_In_ UINT _In_ UINT cEntries
Definition: wingdi.h:3615

◆ CreateCaret()

EXTINLINE BOOL WINAPI CreateCaret ( HWND  hWnd,
HBITMAP  hBitmap,
int  nWidth,
int  nHeight 
)

Definition at line 160 of file ntwrapper.h.

161 {
162  return NtUserCreateCaret(hWnd, hBitmap, nWidth, nHeight);
163 }
BOOL NTAPI NtUserCreateCaret(HWND hWnd, HBITMAP hBitmap, int nWidth, int nHeight)
Definition: caret.c:309
HWND hWnd
Definition: settings.c:17
static HBITMAP hBitmap
Definition: timezone.c:35

◆ DeleteMenu()

EXTINLINE BOOL WINAPI DeleteMenu ( HMENU  hMenu,
UINT  uPosition,
UINT  uFlags 
)

Definition at line 464 of file ntwrapper.h.

465 {
466  return NtUserDeleteMenu(hMenu, uPosition, uFlags);
467 }
UINT uFlags
Definition: api.c:60
BOOL NTAPI NtUserDeleteMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: menu.c:5609

◆ DestroyMenu()

EXTINLINE BOOL WINAPI DestroyMenu ( HMENU  hMenu)

Definition at line 470 of file ntwrapper.h.

471 {
472  return NtUserDestroyMenu(hMenu);
473 }
BOOL NTAPI NtUserDestroyMenu(HMENU hMenu)
Definition: menu.c:5826

◆ DestroyWindow()

EXTINLINE BOOL WINAPI DestroyWindow ( HWND  hWnd)

Definition at line 386 of file ntwrapper.h.

387 {
388  return NtUserDestroyWindow(hWnd);
389 }
HWND hWnd
Definition: settings.c:17
BOOLEAN NTAPI NtUserDestroyWindow(HWND Wnd)
Definition: window.c:2832

◆ DragObject()

EXTINLINE DWORD WINAPI DragObject ( HWND  hwnd1,
HWND  hwnd2,
UINT  u1,
ULONG_PTR  dw1,
HCURSOR  hc1 
)

Definition at line 94 of file ntwrapper.h.

95 {
96  return NtUserDragObject(hwnd1, hwnd2, u1, dw1, hc1);
97 }
DWORD NTAPI NtUserDragObject(HWND hwnd1, HWND hwnd2, UINT u1, DWORD dw1, HCURSOR hc1)
Definition: ntstubs.c:71
GLdouble u1
Definition: glext.h:8308

◆ DrawAnimatedRects()

EXTINLINE BOOL WINAPI DrawAnimatedRects ( HWND  hWnd,
int  idAni,
CONST RECT lprcFrom,
CONST RECT lprcTo 
)

Definition at line 302 of file ntwrapper.h.

303 {
304  return NtUserDrawAnimatedRects(hWnd, idAni, (RECT*)lprcFrom, (RECT*)lprcTo);
305 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserDrawAnimatedRects(HWND hwnd, INT idAni, RECT *lprcFrom, RECT *lprcTo)
Definition: ntstubs.c:86

◆ EmptyClipboard()

◆ EndPaint()

EXTINLINE BOOL WINAPI EndPaint ( HWND  hWnd,
CONST PAINTSTRUCT lpPaint 
)

Definition at line 362 of file ntwrapper.h.

363 {
364  return NtUserEndPaint(hWnd, lpPaint);
365 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserEndPaint(HWND hWnd, CONST PAINTSTRUCT *lPs)
Definition: painting.c:1640

◆ ExcludeUpdateRgn()

EXTINLINE int WINAPI ExcludeUpdateRgn ( HDC  hDC,
HWND  hWnd 
)

Definition at line 368 of file ntwrapper.h.

369 {
371 }
HWND hWnd
Definition: settings.c:17
INT NTAPI NtUserExcludeUpdateRgn(HDC hDC, HWND hWnd)
Definition: painting.c:2509
static HDC hDC
Definition: 3dtext.c:33

◆ FlashWindowEx()

EXTINLINE BOOL WINAPI FlashWindowEx ( PFLASHWINFO  pfwi)

Definition at line 296 of file ntwrapper.h.

297 {
298  return NtUserFlashWindowEx(pfwi);
299 }
BOOL NTAPI NtUserFlashWindowEx(IN PFLASHWINFO pfwi)
Definition: painting.c:1731

◆ GetCaretBlinkTime()

EXTINLINE UINT WINAPI GetCaretBlinkTime ( VOID  )

Definition at line 166 of file ntwrapper.h.

167 {
168  return NtUserGetCaretBlinkTime();
169 }
UINT NTAPI NtUserGetCaretBlinkTime(VOID)
Definition: caret.c:380

Referenced by KeyboardSpeedProc(), and ReadSettings().

◆ GetCaretPos()

EXTINLINE BOOL WINAPI GetCaretPos ( LPPOINT  lpPoint)

Definition at line 172 of file ntwrapper.h.

173 {
174  return NtUserGetCaretPos(lpPoint);
175 }
BOOL NTAPI NtUserGetCaretPos(LPPOINT lpPoint)
Definition: caret.c:395

◆ GetClipboardOwner()

EXTINLINE HWND WINAPI GetClipboardOwner ( VOID  )

◆ GetClipboardSequenceNumber()

EXTINLINE DWORD WINAPI GetClipboardSequenceNumber ( VOID  )

Definition at line 202 of file ntwrapper.h.

203 {
205 }
DWORD NTAPI NtUserGetClipboardSequenceNumber(VOID)
Definition: clipboard.c:1161

Referenced by check_messages_(), clipboard_thread(), clipboard_wnd_proc(), OleGetClipboard(), test_synthesized(), and winproc_wrapper().

◆ GetClipboardViewer()

EXTINLINE HWND WINAPI GetClipboardViewer ( VOID  )

Definition at line 208 of file ntwrapper.h.

209 {
210  return NtUserGetClipboardViewer();
211 }
HWND NTAPI NtUserGetClipboardViewer(VOID)
Definition: clipboard.c:797

Referenced by test_clipboard_viewers(), test_ClipboardOwner(), and winproc_wrapper().

◆ GetClipCursor()

EXTINLINE BOOL WINAPI GetClipCursor ( LPRECT  lpRect)

Definition at line 244 of file ntwrapper.h.

245 {
246  return NtUserGetClipCursor(lpRect);
247 }
BOOL NTAPI NtUserGetClipCursor(RECT *lpRect)

◆ GetControlBrush()

EXTINLINE HBRUSH WINAPI GetControlBrush ( HWND  hwnd,
HDC  hdc,
UINT  ctlType 
)

Definition at line 249 of file ntwrapper.h.

250 {
251  return NtUserGetControlBrush(hwnd, hdc, ctlType);
252 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HBRUSH NTAPI NtUserGetControlBrush(HWND hwnd, HDC hdc, UINT ctlType)
Definition: misc.c:182
HDC hdc
Definition: main.c:9

◆ GetControlColor()

EXTINLINE HBRUSH WINAPI GetControlColor ( HWND  hwndParent,
HWND  hwnd,
HDC  hdc,
UINT  CtlMsg 
)

Definition at line 254 of file ntwrapper.h.

255 {
256  return NtUserGetControlColor(hwndParent, hwnd, hdc, CtlMsg);
257 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
HBRUSH NTAPI NtUserGetControlColor(HWND hwndParent, HWND hwnd, HDC hdc, UINT CtlMsg)
Definition: misc.c:206
static HWND hwndParent
Definition: cryptui.c:300
HDC hdc
Definition: main.c:9

◆ GetCursorInfo()

EXTINLINE BOOL WINAPI GetCursorInfo ( PCURSORINFO  pci)

Definition at line 260 of file ntwrapper.h.

261 {
262  return NtUserGetCursorInfo(pci);
263 }
BOOL NTAPI NtUserGetCursorInfo(PCURSORINFO pci)
Definition: cursoricon.c:645

◆ GetDC()

EXTINLINE HDC WINAPI GetDC ( HWND  hWnd)

Definition at line 278 of file ntwrapper.h.

279 {
280  return NtUserGetDC(hWnd);
281 }
HWND hWnd
Definition: settings.c:17
HDC NTAPI NtUserGetDC(HWND hWnd)
Definition: windc.c:1013

◆ GetDCEx()

EXTINLINE HDC WINAPI GetDCEx ( HWND  hWnd,
HRGN  hrgnClip,
DWORD  flags 
)

Definition at line 284 of file ntwrapper.h.

285 {
286  return NtUserGetDCEx(hWnd, hrgnClip, flags);
287 }
HWND hWnd
Definition: settings.c:17
GLbitfield flags
Definition: glext.h:7161
HDC NTAPI NtUserGetDCEx(HWND hWnd, HANDLE hRegion, ULONG Flags)
Definition: windc.c:973

◆ GetDoubleClickTime()

EXTINLINE UINT WINAPI GetDoubleClickTime ( VOID  )

◆ GetForegroundWindow()

◆ GetGuiResources()

EXTINLINE DWORD WINAPI GetGuiResources ( HANDLE  hProcess,
DWORD  uiFlags 
)

Definition at line 64 of file ntwrapper.h.

65 {
66  return NtUserGetGuiResources(hProcess, uiFlags);
67 }
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:70
DWORD NTAPI NtUserGetGuiResources(HANDLE hProcess, DWORD uiFlags)
Definition: misc.c:505

Referenced by MainWndProc(), and PerfDataRefresh().

◆ GetGUIThreadInfo()

EXTINLINE BOOL WINAPI GetGUIThreadInfo ( DWORD  idThread,
LPGUITHREADINFO  lpgui 
)

Definition at line 398 of file ntwrapper.h.

399 {
400  return NtUserGetGUIThreadInfo(idThread, lpgui);
401 }
BOOL NTAPI NtUserGetGUIThreadInfo(DWORD idThread, LPGUITHREADINFO lpgui)
Definition: misc.c:372

Referenced by MainWndProc(), WinMain(), and WndProc().

◆ GetKeyboardState()

EXTINLINE BOOL WINAPI GetKeyboardState ( PBYTE  lpKeyState)

Definition at line 320 of file ntwrapper.h.

321 {
322  return NtUserGetKeyboardState((LPBYTE)lpKeyState);
323 }
unsigned char * LPBYTE
Definition: typedefs.h:52
DWORD NTAPI NtUserGetKeyboardState(LPBYTE Unknown0)
Definition: msgqueue.c:2589

◆ GetListBoxInfo()

EXTINLINE DWORD WINAPI GetListBoxInfo ( HWND  hwnd)

Definition at line 458 of file ntwrapper.h.

459 {
460  return NtUserGetListBoxInfo(hwnd); // Do it right! Have the message org from kmode!
461 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
DWORD NTAPI NtUserGetListBoxInfo(HWND hWnd)
Definition: window.c:3383

◆ GetMenuItemRect()

EXTINLINE BOOL WINAPI GetMenuItemRect ( HWND  hWnd,
HMENU  hMenu,
UINT  uItem,
LPRECT  lprcItem 
)

Definition at line 482 of file ntwrapper.h.

483 {
484  return NtUserGetMenuItemRect(hWnd, hMenu, uItem, lprcItem);
485 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserGetMenuItemRect(HWND hWnd, HMENU hMenu, UINT uItem, LPRECT lprcItem)

◆ GetOpenClipboardWindow()

EXTINLINE HWND WINAPI GetOpenClipboardWindow ( VOID  )

Definition at line 214 of file ntwrapper.h.

215 {
217 }
HWND NTAPI NtUserGetOpenClipboardWindow(VOID)
Definition: clipboard.c:598

Referenced by test_ClipboardOwner(), and winproc_wrapper().

◆ GetPriorityClipboardFormat()

EXTINLINE INT WINAPI GetPriorityClipboardFormat ( UINT paFormatPriorityList,
INT  cFormats 
)

Definition at line 220 of file ntwrapper.h.

221 {
222  return NtUserGetPriorityClipboardFormat(paFormatPriorityList, cFormats);
223 }
INT NTAPI NtUserGetPriorityClipboardFormat(UINT *paFormatPriorityList, INT cFormats)
Definition: clipboard.c:820

◆ GetProcessWindowStation()

◆ GetTitleBarInfo()

EXTINLINE BOOL WINAPI GetTitleBarInfo ( HWND  hwnd,
PTITLEBARINFO  pti 
)

Definition at line 404 of file ntwrapper.h.

405 {
406  return NtUserGetTitleBarInfo(hwnd, pti);
407 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
BOOLEAN NTAPI NtUserGetTitleBarInfo(HWND hwnd, PTITLEBARINFO pti)
Definition: menu.c:5738

◆ GetUserObjectInformationW()

EXTINLINE BOOL WINAPI GetUserObjectInformationW ( HANDLE  hObj,
int  nIndex,
PVOID  pvInfo,
DWORD  nLength,
LPDWORD  lpnLengthNeeded 
)

Definition at line 70 of file ntwrapper.h.

71 {
72  return NtUserGetObjectInformation(hObj, nIndex, pvInfo, nLength, lpnLengthNeeded);
73 }
_In_ DWORD nLength
Definition: wincon.h:461
BOOL NTAPI NtUserGetObjectInformation(HANDLE hObject, DWORD nIndex, PVOID pvInformation, DWORD nLength, PDWORD nLengthNeeded)
Definition: winsta.c:1063

◆ GetWindowDC()

EXTINLINE HDC WINAPI GetWindowDC ( HWND  hWnd)

Definition at line 290 of file ntwrapper.h.

291 {
292  return NtUserGetWindowDC(hWnd);
293 }
HWND hWnd
Definition: settings.c:17
HDC NTAPI NtUserGetWindowDC(HWND hWnd)
Definition: windc.c:1007

◆ GetWindowPlacement()

EXTINLINE BOOL WINAPI GetWindowPlacement ( HWND  hWnd,
WINDOWPLACEMENT lpwndpl 
)

Definition at line 410 of file ntwrapper.h.

411 {
412  return NtUserGetWindowPlacement(hWnd, lpwndpl);
413 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserGetWindowPlacement(HWND hWnd, WINDOWPLACEMENT *lpwndpl)
Definition: winpos.c:3283

◆ HideCaret()

EXTINLINE BOOL WINAPI HideCaret ( HWND  hWnd)

Definition at line 527 of file ntwrapper.h.

528 {
529  return NtUserHideCaret(hWnd);
530 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserHideCaret(HWND hWnd)
Definition: caret.c:457

◆ InvalidateRect()

EXTINLINE BOOL WINAPI InvalidateRect ( HWND  hWnd,
CONST RECT lpRect,
BOOL  bErase 
)

Definition at line 512 of file ntwrapper.h.

513 {
514  return NtUserInvalidateRect(hWnd, lpRect, bErase);
515 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserInvalidateRect(HWND hWnd, CONST RECT *lpRect, BOOL bErase)
Definition: painting.c:2532

◆ InvalidateRgn()

EXTINLINE BOOL WINAPI InvalidateRgn ( HWND  hWnd,
HRGN  hRgn,
BOOL  bErase 
)

Definition at line 374 of file ntwrapper.h.

375 {
376  return NtUserInvalidateRgn(hWnd, hRgn, bErase);
377 }
HWND hWnd
Definition: settings.c:17
static HRGN hRgn
Definition: mapping.c:33
BOOL NTAPI NtUserInvalidateRgn(HWND hWnd, HRGN hRgn, BOOL bErase)
Definition: painting.c:2548

◆ IsClipboardFormatAvailable()

EXTINLINE BOOL WINAPI IsClipboardFormatAvailable ( UINT  format)

Definition at line 226 of file ntwrapper.h.

227 {
229 }
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
BOOL NTAPI NtUserIsClipboardFormatAvailable(UINT format)
Definition: clipboard.c:869

◆ KillTimer()

EXTINLINE BOOL WINAPI KillTimer ( HWND  hWnd,
UINT_PTR  IDEvent 
)

Definition at line 100 of file ntwrapper.h.

101 {
102  return NtUserKillTimer(hWnd, IDEvent);
103 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserKillTimer(HWND hWnd, UINT_PTR uIDEvent)
Definition: timer.c:657

◆ LockWindowStation()

EXTINLINE BOOL WINAPI LockWindowStation ( HWINSTA  hWinSta)

Definition at line 136 of file ntwrapper.h.

137 {
138  return NtUserLockWindowStation(hWinSta);
139 }
BOOL NTAPI NtUserLockWindowStation(HWINSTA hWindowStation)
Definition: winsta.c:1505

◆ LockWindowUpdate()

EXTINLINE BOOL WINAPI LockWindowUpdate ( HWND  hWndLock)

Definition at line 76 of file ntwrapper.h.

77 {
78  return NtUserLockWindowUpdate(hWndLock);
79 }
BOOL NTAPI NtUserLockWindowUpdate(HWND hWnd)
Definition: ntstubs.c:948

◆ LockWorkStation()

EXTINLINE BOOL WINAPI LockWorkStation ( VOID  )

Definition at line 82 of file ntwrapper.h.

83 {
84  return NtUserLockWorkStation();
85 }
BOOL NTAPI NtUserLockWorkStation(VOID)
Definition: winsta.c:1936

Referenced by ShutDown_LockComputer().

◆ MoveWindow()

EXTINLINE BOOL WINAPI MoveWindow ( HWND  hWnd,
int  X,
int  Y,
int  nWidth,
int  nHeight,
BOOL  bRepaint 
)

Definition at line 416 of file ntwrapper.h.

417 {
418  return NtUserMoveWindow(hWnd, X, Y, nWidth, nHeight, bRepaint);
419 }
#define Y(I)
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserMoveWindow(HWND hWnd, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
Definition: winpos.c:3363

◆ NtUserxAllowSetForegroundWindow()

EXTINLINE BOOL NtUserxAllowSetForegroundWindow ( DWORD  dwProcessId)

Definition at line 836 of file ntwrapper.h.

837 {
839 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by AllowSetForegroundWindow().

◆ NtUserxArrangeIconicWindows()

EXTINLINE UINT NtUserxArrangeIconicWindows ( HWND  hWnd)

Definition at line 768 of file ntwrapper.h.

769 {
771 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserCallHwndLock(HWND hWnd, DWORD Routine)
Definition: simplecall.c:577
unsigned int UINT
Definition: ndis.h:50

Referenced by ArrangeIconicWindows().

◆ NtUserxBeginDeferWindowPos()

EXTINLINE HDWP NtUserxBeginDeferWindowPos ( INT  nNumWindows)

Definition at line 651 of file ntwrapper.h.

652 {
654 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by BeginDeferWindowPos().

◆ NtUserxClearWindowState()

EXTINLINE VOID NtUserxClearWindowState ( PWND  pWnd,
UINT  Flag 
)

Definition at line 746 of file ntwrapper.h.

747 {
748  if (!TestState(pWnd, Flag)) return;
750 }
DWORD NTAPI NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:755
#define UserHMGetHandle(obj)
Definition: ntuser.h:208
BOOL FASTCALL TestState(PWND, UINT)
Definition: misc.c:187
Definition: xml2sdb.h:79
uint32_t DWORD_PTR
Definition: typedefs.h:63

◆ NtUserxCreateEmptyCurObject()

EXTINLINE HICON NtUserxCreateEmptyCurObject ( DWORD_PTR  Param)

Definition at line 616 of file ntwrapper.h.

617 {
619 }
static HICON
Definition: imagelist.c:84
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145

Referenced by CreateIconFromResourceEx(), CreateIconIndirect(), CURSORICON_CopyImage(), CURSORICON_LoadFromFileW(), and CURSORICON_LoadImageW().

◆ NtUserxCreateMenu()

EXTINLINE HMENU NtUserxCreateMenu ( VOID  )

Definition at line 551 of file ntwrapper.h.

552 {
554 }
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60

Referenced by CreateMenu().

◆ NtUserxCreatePopupMenu()

EXTINLINE HMENU NtUserxCreatePopupMenu ( VOID  )

Definition at line 556 of file ntwrapper.h.

557 {
559 }
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60

Referenced by CreatePopupMenu().

◆ NtUserxCreateSystemThreads()

EXTINLINE VOID NtUserxCreateSystemThreads ( BOOL  bRemoteProcess)

Definition at line 646 of file ntwrapper.h.

647 {
648  NtUserCallOneParam(bRemoteProcess, ONEPARAM_ROUTINE_CREATESYSTEMTHREADS);
649 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145

Referenced by CreateSystemThreads().

◆ NtUserxDeregisterShellHookWindow()

EXTINLINE BOOL NtUserxDeregisterShellHookWindow ( HWND  hWnd)

Definition at line 731 of file ntwrapper.h.

732 {
734 }
HWND hWnd
Definition: settings.c:17
DWORD NTAPI NtUserCallHwnd(HWND hWnd, DWORD Routine)
Definition: simplecall.c:699

Referenced by DeregisterShellHookWindow().

◆ NtUserxDestroyCaret()

EXTINLINE BOOL NtUserxDestroyCaret ( VOID  )

Definition at line 541 of file ntwrapper.h.

542 {
544 }
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59

Referenced by DestroyCaret().

◆ NtUserxDrawMenuBar()

EXTINLINE BOOL NtUserxDrawMenuBar ( HWND  hWnd)

Definition at line 778 of file ntwrapper.h.

779 {
781 }
HWND hWnd
Definition: settings.c:17
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL NTAPI NtUserCallHwndLock(HWND hWnd, DWORD Routine)
Definition: simplecall.c:577

Referenced by DrawMenuBar().

◆ NtUserxEnableProcessWindowGhosting()

EXTINLINE VOID NtUserxEnableProcessWindowGhosting ( BOOL  bEnable)

Definition at line 801 of file ntwrapper.h.

802 {
804 }
#define ONEPARAM_ROUTINE_ENABLEPROCWNDGHSTING
Definition: ntuser.h:3538
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
uint32_t DWORD_PTR
Definition: typedefs.h:63
_In_ BOOL bEnable
Definition: winddi.h:3426

Referenced by DisableProcessWindowsGhosting().

◆ NtUserxEnableWindow()

EXTINLINE BOOL NtUserxEnableWindow ( HWND  hWnd,
BOOL  bEnable 
)

Definition at line 681 of file ntwrapper.h.

682 {
684 }
HWND hWnd
Definition: settings.c:17
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63
_In_ BOOL bEnable
Definition: winddi.h:3426
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

Referenced by EnableWindow().

◆ NtUserxEnumClipboardFormats()

EXTINLINE UINT NtUserxEnumClipboardFormats ( UINT  format)

Definition at line 611 of file ntwrapper.h.

612 {
614 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
uint32_t DWORD_PTR
Definition: typedefs.h:63
unsigned int UINT
Definition: ndis.h:50

Referenced by EnumClipboardFormats().

◆ NtUserxGetCursorPos()

EXTINLINE BOOL NtUserxGetCursorPos ( POINT lpPoint)

Definition at line 811 of file ntwrapper.h.

812 {
813  return (BOOL)NtUserCallOneParam((DWORD_PTR)lpPoint, ONEPARAM_ROUTINE_GETCURSORPOS);
814 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by GetCursorPos().

◆ NtUserxGetDesktopMapping()

EXTINLINE PVOID NtUserxGetDesktopMapping ( PVOID  ptr)

Definition at line 806 of file ntwrapper.h.

807 {
809 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
static PVOID ptr
Definition: dispmode.c:27
uint32_t DWORD_PTR
Definition: typedefs.h:63
#define ONEPARAM_ROUTINE_GETDESKTOPMAPPING
Definition: ntuser.h:3539

Referenced by DesktopPtrToUser().

◆ NtUserxGetKeyboardLayout()

EXTINLINE HKL NtUserxGetKeyboardLayout ( DWORD  idThread)

Definition at line 626 of file ntwrapper.h.

627 {
629 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
UINT_PTR HKL
Definition: msctf.idl:101
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by GetKeyboardLayout().

◆ NtUserxGetKeyboardType()

EXTINLINE INT NtUserxGetKeyboardType ( INT  nTypeFlag)

Definition at line 631 of file ntwrapper.h.

632 {
634 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
int32_t INT
Definition: typedefs.h:56
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by GetKeyboardType().

◆ NtUserxGetMessageExtraInfo()

EXTINLINE LPARAM NtUserxGetMessageExtraInfo ( VOID  )

Definition at line 796 of file ntwrapper.h.

797 {
799 }
DWORD_PTR NTAPI NtUserGetThreadState(DWORD Routine)
Definition: misc.c:231
LONG_PTR LPARAM
Definition: windef.h:208

Referenced by GetMessageExtraInfo().

◆ NtUserxGetMessagePos()

EXTINLINE DWORD NtUserxGetMessagePos ( VOID  )

Definition at line 561 of file ntwrapper.h.

562 {
564 }
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59

Referenced by GetMessagePos().

◆ NtUserxGetQueueStatus()

EXTINLINE DWORD NtUserxGetQueueStatus ( UINT  flags)

Definition at line 666 of file ntwrapper.h.

667 {
669 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161

Referenced by RealGetQueueStatus().

◆ NtUserxGetWindowContextHelpId()

EXTINLINE DWORD NtUserxGetWindowContextHelpId ( HWND  hwnd)

Definition at line 726 of file ntwrapper.h.

727 {
729 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
DWORD NTAPI NtUserCallHwnd(HWND hWnd, DWORD Routine)
Definition: simplecall.c:699

Referenced by GetWindowContextHelpId().

◆ NtUserxInitMessagePump()

EXTINLINE BOOL NtUserxInitMessagePump ( VOID  )

Definition at line 571 of file ntwrapper.h.

572 {
574 }
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59

Referenced by RegisterMessagePumpHook().

◆ NtUserxKillSystemTimer()

EXTINLINE BOOL NtUserxKillSystemTimer ( HWND  hWnd,
UINT_PTR  IDEvent 
)

Definition at line 711 of file ntwrapper.h.

712 {
714 }
DWORD NTAPI NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:755
HWND hWnd
Definition: settings.c:17
unsigned int BOOL
Definition: ntddk_ex.h:94

Referenced by KillSystemTimer().

◆ NtUserxLockSetForegroundWindow()

EXTINLINE BOOL NtUserxLockSetForegroundWindow ( UINT  uLockCode)

Definition at line 841 of file ntwrapper.h.

842 {
844 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by LockSetForegroundWindow().

◆ NtUserxMDIRedrawFrame()

EXTINLINE BOOL NtUserxMDIRedrawFrame ( HWND  hWnd)

Definition at line 783 of file ntwrapper.h.

784 {
786 }
HWND hWnd
Definition: settings.c:17
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL NTAPI NtUserCallHwndLock(HWND hWnd, DWORD Routine)
Definition: simplecall.c:577

Referenced by RealMDIRedrawFrame().

◆ NtUserxMessageBeep()

EXTINLINE BOOL NtUserxMessageBeep ( UINT  uType)

Definition at line 621 of file ntwrapper.h.

622 {
624 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
unsigned int BOOL
Definition: ntddk_ex.h:94

Referenced by MessageBeep().

◆ NtUserxMsqClearWakeMask()

EXTINLINE VOID NtUserxMsqClearWakeMask ( VOID  )

Definition at line 546 of file ntwrapper.h.

547 {
549 }
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59

Referenced by RealMsgWaitForMultipleObjectsEx().

◆ NtUserxMsqSetWakeMask()

EXTINLINE HANDLE NtUserxMsqSetWakeMask ( DWORD_PTR  dwWaitMask)

Definition at line 581 of file ntwrapper.h.

582 {
584 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145

Referenced by RealMsgWaitForMultipleObjectsEx().

◆ NtUserxNotifyWinEvent()

EXTINLINE VOID NtUserxNotifyWinEvent ( HWND  hWnd,
PVOID  ne 
)

Definition at line 721 of file ntwrapper.h.

722 {
724 }
DWORD NTAPI NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:755
HWND hWnd
Definition: settings.c:17
#define HWNDPARAM_ROUTINE_ROS_NOTIFYWINEVENT
Definition: ntuser.h:3552
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by IntNotifyWinEvent().

◆ NtUserxPostQuitMessage()

EXTINLINE VOID NtUserxPostQuitMessage ( int  nExitCode)

Definition at line 661 of file ntwrapper.h.

662 {
664 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145

Referenced by PostQuitMessage().

◆ NtUserxRealizePalette()

EXTINLINE UINT NtUserxRealizePalette ( HDC  hDC)

Definition at line 641 of file ntwrapper.h.

642 {
644 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
uint32_t DWORD_PTR
Definition: typedefs.h:63
static HDC hDC
Definition: 3dtext.c:33
unsigned int UINT
Definition: ndis.h:50

Referenced by UserRealizePalette().

◆ NtUserxRegisterLogonProcess()

EXTINLINE BOOL NtUserxRegisterLogonProcess ( DWORD  dwProcessId,
BOOL  bRegister 
)

Definition at line 831 of file ntwrapper.h.

832 {
834 }
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

Referenced by RegisterLogonProcess().

◆ NtUserxRegisterShellHookWindow()

EXTINLINE BOOL NtUserxRegisterShellHookWindow ( HWND  hWnd)

Definition at line 736 of file ntwrapper.h.

737 {
739 }
HWND hWnd
Definition: settings.c:17
DWORD NTAPI NtUserCallHwnd(HWND hWnd, DWORD Routine)
Definition: simplecall.c:699

Referenced by RegisterShellHookWindow().

◆ NtUserxReleaseCapture()

EXTINLINE BOOL NtUserxReleaseCapture ( VOID  )

Definition at line 566 of file ntwrapper.h.

567 {
569 }
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59

Referenced by ReleaseCapture().

◆ NtUserxReleaseDC()

EXTINLINE INT NtUserxReleaseDC ( HDC  hDC)

Definition at line 636 of file ntwrapper.h.

637 {
639 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
int32_t INT
Definition: typedefs.h:56
uint32_t DWORD_PTR
Definition: typedefs.h:63
static HDC hDC
Definition: 3dtext.c:33

Referenced by ReleaseDC().

◆ NtUserxReplyMessage()

EXTINLINE BOOL NtUserxReplyMessage ( LRESULT  lResult)

Definition at line 656 of file ntwrapper.h.

657 {
659 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145

Referenced by ReplyMessage().

◆ NtUserxSetCaretBlinkTime()

EXTINLINE BOOL NtUserxSetCaretBlinkTime ( UINT  uMSeconds)

Definition at line 586 of file ntwrapper.h.

587 {
589 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
unsigned int BOOL
Definition: ntddk_ex.h:94

Referenced by SetCaretBlinkTime().

◆ NtUserxSetCaretPos()

EXTINLINE BOOL NtUserxSetCaretPos ( INT  x,
INT  y 
)

Definition at line 826 of file ntwrapper.h.

827 {
829 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

Referenced by SetCaretPos().

◆ NtUserxSetCursorPos()

EXTINLINE BOOL NtUserxSetCursorPos ( INT  x,
INT  y 
)

Definition at line 676 of file ntwrapper.h.

677 {
679 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

Referenced by SetCursorPos().

◆ NtUserxSetDialogPointer()

EXTINLINE VOID NtUserxSetDialogPointer ( HWND  hWnd,
PVOID  dlgInfo 
)

Definition at line 716 of file ntwrapper.h.

717 {
719 }
DWORD NTAPI NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:755
HWND hWnd
Definition: settings.c:17
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by DEFDLG_Proc(), and DIALOG_get_info().

◆ NtUserxSetForegroundWindow()

EXTINLINE BOOL NtUserxSetForegroundWindow ( HWND  hWnd)

Definition at line 788 of file ntwrapper.h.

789 {
791 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserCallHwndLock(HWND hWnd, DWORD Routine)
Definition: simplecall.c:577

Referenced by SetForegroundWindow().

◆ NtUserxSetGUIThreadHandle()

EXTINLINE BOOL NtUserxSetGUIThreadHandle ( DWORD_PTR  field,
HWND  hwnd 
)

Definition at line 821 of file ntwrapper.h.

822 {
824 }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
unsigned int BOOL
Definition: ntddk_ex.h:94
Definition: parser.c:43
uint32_t DWORD_PTR
Definition: typedefs.h:63
#define TWOPARAM_ROUTINE_SETGUITHRDHANDLE
Definition: ntuser.h:3541
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

◆ NtUserxSetMenuBarHeight()

EXTINLINE BOOL NtUserxSetMenuBarHeight ( HMENU  menu,
INT  height 
)

Definition at line 816 of file ntwrapper.h.

817 {
819 }
unsigned int BOOL
Definition: ntddk_ex.h:94
#define TWOPARAM_ROUTINE_SETMENUBARHEIGHT
Definition: ntuser.h:3540
uint32_t DWORD_PTR
Definition: typedefs.h:63
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

◆ NtUserxSetMessageBox()

EXTINLINE BOOL NtUserxSetMessageBox ( HWND  hWnd)

Definition at line 741 of file ntwrapper.h.

742 {
744 }
HWND hWnd
Definition: settings.c:17
DWORD NTAPI NtUserCallHwnd(HWND hWnd, DWORD Routine)
Definition: simplecall.c:699

Referenced by MessageBoxProc().

◆ NtUserxSetMessageExtraInfo()

EXTINLINE LPARAM NtUserxSetMessageExtraInfo ( LPARAM  lParam)

Definition at line 601 of file ntwrapper.h.

602 {
604 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
LONG_PTR LPARAM
Definition: windef.h:208
uint32_t DWORD_PTR
Definition: typedefs.h:63
LPARAM lParam
Definition: combotst.c:139

Referenced by SetMessageExtraInfo().

◆ NtUserxSetProgmanWindow()

EXTINLINE HWND NtUserxSetProgmanWindow ( HWND  hWnd)

Definition at line 763 of file ntwrapper.h.

764 {
766 }
HWND hWnd
Definition: settings.c:17
HWND NTAPI NtUserCallHwndOpt(HWND hWnd, DWORD Routine)
Definition: simplecall.c:679

Referenced by SetProgmanWindow().

◆ NtUserxSetTaskmanWindow()

EXTINLINE HWND NtUserxSetTaskmanWindow ( HWND  hWnd)

Definition at line 758 of file ntwrapper.h.

759 {
761 }
HWND hWnd
Definition: settings.c:17
HWND NTAPI NtUserCallHwndOpt(HWND hWnd, DWORD Routine)
Definition: simplecall.c:679

Referenced by SetTaskmanWindow().

◆ NtUserxSetWindowContextHelpId()

EXTINLINE BOOL NtUserxSetWindowContextHelpId ( HWND  hWnd,
DWORD_PTR  dwContextHelpId 
)

Definition at line 706 of file ntwrapper.h.

707 {
709 }
DWORD NTAPI NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:755
HWND hWnd
Definition: settings.c:17
unsigned int BOOL
Definition: ntddk_ex.h:94

Referenced by SetWindowContextHelpId().

◆ NtUserxSetWindowState()

EXTINLINE VOID NtUserxSetWindowState ( PWND  pWnd,
UINT  Flag 
)

Definition at line 752 of file ntwrapper.h.

753 {
754  if (TestState(pWnd, Flag)) return;
756 }
DWORD NTAPI NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:755
#define UserHMGetHandle(obj)
Definition: ntuser.h:208
BOOL FASTCALL TestState(PWND, UINT)
Definition: misc.c:187
Definition: xml2sdb.h:79
uint32_t DWORD_PTR
Definition: typedefs.h:63

◆ NtUserxShowCursor()

EXTINLINE INT NtUserxShowCursor ( BOOL  bShow)

Definition at line 606 of file ntwrapper.h.

607 {
609 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
int32_t INT
Definition: typedefs.h:56
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by ShowCursor().

◆ NtUserxShowOwnedPopups()

EXTINLINE BOOL NtUserxShowOwnedPopups ( HWND  hWnd,
BOOL  fShow 
)

Definition at line 696 of file ntwrapper.h.

697 {
699 }
HWND hWnd
Definition: settings.c:17
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

Referenced by ShowOwnedPopups().

◆ NtUserxSwapMouseButton()

EXTINLINE BOOL NtUserxSwapMouseButton ( BOOL  fSwap)

Definition at line 596 of file ntwrapper.h.

597 {
599 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63

Referenced by SwapMouseButton().

◆ NtUserxSwitchToThisWindow()

EXTINLINE VOID NtUserxSwitchToThisWindow ( HWND  hWnd,
BOOL  fAltTab 
)

Definition at line 691 of file ntwrapper.h.

692 {
694 }
HWND hWnd
Definition: settings.c:17
uint32_t DWORD_PTR
Definition: typedefs.h:63
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

Referenced by SwitchToThisWindow().

◆ NtUserxUnhookWindowsHook()

EXTINLINE BOOL NtUserxUnhookWindowsHook ( int  nCode,
HOOKPROC  pfnFilterProc 
)

Definition at line 701 of file ntwrapper.h.

702 {
704 }
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

Referenced by UnhookWindowsHook().

◆ NtUserxUnInitMessagePump()

EXTINLINE BOOL NtUserxUnInitMessagePump ( VOID  )

Definition at line 576 of file ntwrapper.h.

577 {
579 }
DWORD_PTR NTAPI NtUserCallNoParam(DWORD Routine)
Definition: simplecall.c:59

Referenced by UnregisterMessagePumpHook().

◆ NtUserxUpdateUiState()

EXTINLINE BOOL NtUserxUpdateUiState ( HWND  hWnd,
DWORD  Param 
)

Definition at line 686 of file ntwrapper.h.

687 {
689 }
HWND hWnd
Definition: settings.c:17
#define TWOPARAM_ROUTINE_ROS_UPDATEUISTATE
Definition: ntuser.h:3551
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63
DWORD_PTR NTAPI NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
Definition: simplecall.c:426

Referenced by User32DefWindowProc().

◆ NtUserxUpdateWindow()

EXTINLINE BOOL NtUserxUpdateWindow ( HWND  hWnd)

Definition at line 773 of file ntwrapper.h.

774 {
776 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserCallHwndLock(HWND hWnd, DWORD Routine)
Definition: simplecall.c:577

Referenced by UpdateWindow().

◆ NtUserxValidateRgn()

EXTINLINE BOOL NtUserxValidateRgn ( HWND  hWnd,
HRGN  hRgn 
)

Definition at line 671 of file ntwrapper.h.

672 {
674 }
HWND hWnd
Definition: settings.c:17
static HRGN hRgn
Definition: mapping.c:33
unsigned int BOOL
Definition: ntddk_ex.h:94
uint32_t DWORD_PTR
Definition: typedefs.h:63
DWORD NTAPI NtUserCallHwndParamLock(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:864

Referenced by ValidateRgn().

◆ NtUserxWindowFromDC()

EXTINLINE HWND NtUserxWindowFromDC ( HDC  hDC)

Definition at line 591 of file ntwrapper.h.

592 {
594 }
DWORD_PTR NTAPI NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:145
uint32_t DWORD_PTR
Definition: typedefs.h:63
static HDC hDC
Definition: 3dtext.c:33

Referenced by WindowFromDC().

◆ OpenInputDesktop()

EXTINLINE HDESK WINAPI OpenInputDesktop ( DWORD  dwFlags,
BOOL  fInherit,
ACCESS_MASK  dwDesiredAccess 
)

Definition at line 34 of file ntwrapper.h.

35 {
36  return NtUserOpenInputDesktop(dwFlags, fInherit, dwDesiredAccess);
37 }
HDESK NTAPI NtUserOpenInputDesktop(DWORD dwFlags, BOOL fInherit, ACCESS_MASK dwDesiredAccess)
Definition: desktop.c:2637
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175

◆ PaintDesktop()

EXTINLINE BOOL WINAPI PaintDesktop ( HDC  hdc)

Definition at line 40 of file ntwrapper.h.

41 {
42  return NtUserPaintDesktop(hdc);
43 }
HDC hdc
Definition: main.c:9
BOOL NTAPI NtUserPaintDesktop(HDC hDC)
Definition: desktop.c:2734

◆ RedrawWindow()

EXTINLINE BOOL WINAPI RedrawWindow ( HWND  hWnd,
CONST RECT lprcUpdate,
HRGN  hrgnUpdate,
UINT  flags 
)

Definition at line 380 of file ntwrapper.h.

381 {
382  return NtUserRedrawWindow(hWnd, lprcUpdate, hrgnUpdate, flags);
383 }
HWND hWnd
Definition: settings.c:17
GLbitfield flags
Definition: glext.h:7161
BOOL NTAPI NtUserRedrawWindow(HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
Definition: painting.c:1990

◆ RegisterHotKey()

EXTINLINE BOOL WINAPI RegisterHotKey ( HWND  hWnd,
int  id,
UINT  fsModifiers,
UINT  vk 
)

Definition at line 326 of file ntwrapper.h.

327 {
328  return NtUserRegisterHotKey(hWnd, id, fsModifiers, vk);
329 }
BOOL NTAPI NtUserRegisterHotKey(HWND hWnd, int id, UINT fsModifiers, UINT vk)
Definition: hotkey.c:512
HWND hWnd
Definition: settings.c:17

◆ RegisterTasklist()

EXTINLINE DWORD WINAPI RegisterTasklist ( DWORD  x)

Definition at line 88 of file ntwrapper.h.

89 {
90  return NtUserRegisterTasklist(x);
91 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
DWORD NTAPI NtUserRegisterTasklist(DWORD Unknown0)
Definition: ntstubs.c:237

◆ RemoveMenu()

EXTINLINE BOOL WINAPI RemoveMenu ( HMENU  hMenu,
UINT  uPosition,
UINT  uFlags 
)

Definition at line 488 of file ntwrapper.h.

489 {
490  return NtUserRemoveMenu(hMenu, uPosition, uFlags);
491 }
UINT uFlags
Definition: api.c:60
BOOL NTAPI NtUserRemoveMenu(HMENU hMenu, UINT uPosition, UINT uFlags)
Definition: menu.c:6376

◆ SendInput()

EXTINLINE UINT WINAPI SendInput ( UINT  nInputs,
LPINPUT  pInputs,
int  cbSize 
)

Definition at line 344 of file ntwrapper.h.

345 {
346  return NtUserSendInput(nInputs, pInputs, cbSize);
347 }
UINT NTAPI NtUserSendInput(UINT nInputs, LPINPUT pInput, INT cbSize)
Definition: input.c:707

Referenced by init_function_pointers(), OSK_DlgCommand(), OSK_ReleaseKey(), simulate_click(), test_dik_codes(), and test_inputdesktop().

◆ SetActiveWindow()

EXTINLINE HWND WINAPI SetActiveWindow ( HWND  hWnd)

Definition at line 452 of file ntwrapper.h.

453 {
454  return NtUserSetActiveWindow(hWnd);
455 }
HWND hWnd
Definition: settings.c:17
HWND NTAPI NtUserSetActiveWindow(HWND Wnd)
Definition: focus.c:1546

◆ SetCapture()

EXTINLINE HWND WINAPI SetCapture ( HWND  hWnd)

Definition at line 506 of file ntwrapper.h.

507 {
508  return NtUserSetCapture(hWnd);
509 }
HWND NTAPI NtUserSetCapture(HWND Wnd)
Definition: focus.c:1587
HWND hWnd
Definition: settings.c:17

◆ SetClipboardViewer()

EXTINLINE HWND WINAPI SetClipboardViewer ( HWND  hWndNewViewer)

Definition at line 232 of file ntwrapper.h.

233 {
234  return NtUserSetClipboardViewer(hWndNewViewer);
235 }
HWND NTAPI NtUserSetClipboardViewer(HWND hWndNewViewer)
Definition: clipboard.c:1111

◆ SetCursor()

EXTINLINE HCURSOR WINAPI SetCursor ( HCURSOR  hCursor)

Definition at line 272 of file ntwrapper.h.

273 {
274  return NtUserSetCursor(hCursor);
275 }
HCURSOR NTAPI NtUserSetCursor(HCURSOR hCursor)
Definition: cursoricon.c:1049

◆ SetFocus()

EXTINLINE HWND WINAPI SetFocus ( HWND  hWnd)

Definition at line 332 of file ntwrapper.h.

333 {
334  return NtUserSetFocus(hWnd);
335 }
HWND hWnd
Definition: settings.c:17
HWND NTAPI NtUserSetFocus(HWND hWnd)
Definition: focus.c:1606

◆ SetKeyboardState()

EXTINLINE BOOL WINAPI SetKeyboardState ( LPBYTE  lpKeyState)

Definition at line 338 of file ntwrapper.h.

339 {
340  return NtUserSetKeyboardState((LPBYTE)lpKeyState);
341 }
unsigned char * LPBYTE
Definition: typedefs.h:52
BOOL NTAPI NtUserSetKeyboardState(LPBYTE lpKeyState)
Definition: msgqueue.c:2627

◆ SetMenuContextHelpId()

EXTINLINE BOOL WINAPI SetMenuContextHelpId ( HMENU  hmenu,
DWORD  dwContextHelpId 
)

Definition at line 500 of file ntwrapper.h.

501 {
502  return NtUserSetMenuContextHelpId(hmenu, dwContextHelpId);
503 }
static HMENU hmenu
Definition: win.c:66
BOOL NTAPI NtUserSetMenuContextHelpId(HMENU hmenu, DWORD dwContextHelpId)
Definition: menu.c:6448

◆ SetMenuDefaultItem()

EXTINLINE BOOL WINAPI SetMenuDefaultItem ( HMENU  hMenu,
UINT  uItem,
UINT  fByPos 
)

Definition at line 494 of file ntwrapper.h.

495 {
496  return NtUserSetMenuDefaultItem(hMenu, uItem, fByPos);
497 }
BOOL NTAPI NtUserSetMenuDefaultItem(HMENU hMenu, UINT uItem, UINT fByPos)
Definition: menu.c:6475

◆ SetParent()

EXTINLINE HWND WINAPI SetParent ( HWND  hWndChild,
HWND  hWndNewParent 
)

Definition at line 422 of file ntwrapper.h.

423 {
424  return NtUserSetParent(hWndChild, hWndNewParent);
425 }
HWND NTAPI NtUserSetParent(HWND hWndChild, HWND hWndNewParent)
Definition: window.c:3456
HWND hWndChild[NUM_TABS]
Definition: main.h:75

◆ SetProcessWindowStation()

EXTINLINE BOOL WINAPI SetProcessWindowStation ( HWINSTA  hWinSta)

Definition at line 130 of file ntwrapper.h.

131 {
132  return NtUserSetProcessWindowStation(hWinSta);
133 }
BOOL NTAPI NtUserSetProcessWindowStation(HWINSTA hWindowStation)
Definition: winsta.c:1482

◆ SetShellWindowEx()

EXTINLINE BOOL WINAPI SetShellWindowEx ( HWND  hwndShell,
HWND  hwndShellListView 
)

Definition at line 58 of file ntwrapper.h.

59 {
60  return NtUserSetShellWindowEx(hwndShell, hwndShellListView);
61 }
BOOL NTAPI NtUserSetShellWindowEx(HWND hwndShell, HWND hwndShellListView)
Definition: window.c:3524

Referenced by DesktopWindow::Init(), CDesktopBrowser::Initialize(), IsAnyDesktopRunning(), and SetShellWindow().

◆ SetSystemTimer()

EXTINLINE UINT_PTR WINAPI SetSystemTimer ( HWND  hWnd,
UINT_PTR  IDEvent,
UINT  Period,
TIMERPROC  TimerFunc 
)

Definition at line 106 of file ntwrapper.h.

107 {
108  return NtUserSetSystemTimer(hWnd, IDEvent, Period, TimerFunc);
109 }
HWND hWnd
Definition: settings.c:17
_In_ LARGE_INTEGER _In_ ULONG Period
Definition: kefuncs.h:1268
UINT_PTR NTAPI NtUserSetSystemTimer(HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc)
Definition: timer.c:680

Referenced by init_procs(), IntScrollHandleScrollEvent(), LISTBOX_HandleMouseMove(), and SCROLL_HandleScrollEvent().

◆ SetThreadDesktop()

EXTINLINE BOOL WINAPI SetThreadDesktop ( HDESK  hDesktop)

Definition at line 46 of file ntwrapper.h.

47 {
48  return NtUserSetThreadDesktop(hDesktop);
49 }
BOOL NTAPI NtUserSetThreadDesktop(HDESK hDesktop)
Definition: desktop.c:3403

◆ SetTimer()

EXTINLINE UINT_PTR WINAPI SetTimer ( HWND  hWnd,
UINT_PTR  IDEvent,
UINT  Period,
TIMERPROC  TimerFunc 
)

Definition at line 112 of file ntwrapper.h.

113 {
114  return NtUserSetTimer(hWnd, IDEvent, Period, TimerFunc);
115 }
UINT_PTR NTAPI NtUserSetTimer(HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc)
Definition: timer.c:630
HWND hWnd
Definition: settings.c:17
_In_ LARGE_INTEGER _In_ ULONG Period
Definition: kefuncs.h:1268

◆ SetWindowPlacement()

EXTINLINE BOOL WINAPI SetWindowPlacement ( HWND  hWnd,
CONST WINDOWPLACEMENT lpwndpl 
)

Definition at line 428 of file ntwrapper.h.

429 {
430  return NtUserSetWindowPlacement(hWnd, (WINDOWPLACEMENT *)lpwndpl);
431 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserSetWindowPlacement(HWND hWnd, WINDOWPLACEMENT *lpwndpl)
Definition: winpos.c:3600

◆ SetWindowPos()

EXTINLINE BOOL WINAPI SetWindowPos ( HWND  hWnd,
HWND  hWndAfter,
int  X,
int  Y,
int  cx,
int  cy,
UINT  uFlags 
)

Definition at line 434 of file ntwrapper.h.

435 {
436  return NtUserSetWindowPos(hWnd,hWndAfter, X, Y, cx, cy, uFlags);
437 }
#define Y(I)
HWND hWnd
Definition: settings.c:17
UINT uFlags
Definition: api.c:60
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
BOOL NTAPI NtUserSetWindowPos(HWND hWnd, HWND hWndInsertAfter, int X, int Y, int cx, int cy, UINT uFlags)
Definition: winpos.c:3400
_Out_opt_ int * cx
Definition: commctrl.h:570

◆ ShowCaret()

EXTINLINE BOOL WINAPI ShowCaret ( HWND  hWnd)

Definition at line 522 of file ntwrapper.h.

523 {
524  return NtUserShowCaret(hWnd);
525 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserShowCaret(HWND hWnd)
Definition: caret.c:426

◆ ShowScrollBar()

EXTINLINE BOOL WINAPI ShowScrollBar ( HWND  hWnd,
INT  wBar,
BOOL  bShow 
)

Definition at line 22 of file ntwrapper.h.

23 {
24  return NtUserShowScrollBar(hWnd, wBar, bShow);
25 }
HWND hWnd
Definition: settings.c:17
DWORD NTAPI NtUserShowScrollBar(HWND hWnd, int wBar, DWORD bShow)
Definition: scrollbar.c:1409

◆ ShowWindow()

EXTINLINE BOOL WINAPI ShowWindow ( HWND  hWnd,
int  nCmdShow 
)

Definition at line 440 of file ntwrapper.h.

441 {
442  return NtUserShowWindow(hWnd, nCmdShow);
443 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserShowWindow(HWND hWnd, LONG nCmdShow)
Definition: winpos.c:3691

◆ ShowWindowAsync()

EXTINLINE BOOL WINAPI ShowWindowAsync ( HWND  hWnd,
int  nCmdShow 
)

Definition at line 446 of file ntwrapper.h.

447 {
448  return NtUserShowWindowAsync(hWnd, nCmdShow);
449 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserShowWindowAsync(HWND hWnd, LONG nCmdShow)
Definition: winpos.c:3652

◆ SwitchDesktop()

EXTINLINE BOOL WINAPI SwitchDesktop ( HDESK  hDesktop)

Definition at line 52 of file ntwrapper.h.

53 {
54  return NtUserSwitchDesktop(hDesktop);
55 }
BOOL NTAPI NtUserSwitchDesktop(HDESK hDesktop)
Definition: desktop.c:2888

◆ TestState()

BOOL FASTCALL TestState ( PWND  ,
UINT   
)

Definition at line 187 of file misc.c.

188 {
189  UINT bit;
190  bit = 1 << LOWORD(Flag);
191  switch(HIWORD(Flag))
192  {
193  case 0:
194  return (pWnd->state & bit);
195  case 1:
196  return (pWnd->state2 & bit);
197  case 2:
198  return (pWnd->ExStyle2 & bit);
199  }
200  return FALSE;
201 }
Definition: xml2sdb.h:79
unsigned int UINT
Definition: ndis.h:50
#define HIWORD(l)
Definition: typedefs.h:246
#define LOWORD(l)
Definition: pedump.c:82

Referenced by NtUserxClearWindowState(), and NtUserxSetWindowState().

◆ UnlockWindowStation()

EXTINLINE BOOL WINAPI UnlockWindowStation ( HWINSTA  hWinSta)

Definition at line 142 of file ntwrapper.h.

143 {
144  return NtUserUnlockWindowStation(hWinSta);
145 }
BOOL NTAPI NtUserUnlockWindowStation(HWINSTA hWindowStation)
Definition: winsta.c:1549

◆ ValidateRect()

EXTINLINE BOOL WINAPI ValidateRect ( HWND  hWnd,
CONST RECT lpRect 
)

Definition at line 517 of file ntwrapper.h.

518 {
519  return NtUserValidateRect(hWnd, lpRect);
520 }
HWND hWnd
Definition: settings.c:17
BOOL NTAPI NtUserValidateRect(HWND hWnd, CONST RECT *lpRect)

◆ WaitMessage()

EXTINLINE BOOL WINAPI WaitMessage ( VOID  )

Definition at line 350 of file ntwrapper.h.

351 {
352  return NtUserWaitMessage();
353 }
BOOL NTAPI NtUserWaitMessage(VOID)
Definition: message.c:2116

Referenced by do_events_until(), DoAppSwitch(), DragDetect(), and WinMain().