63 TRACE(
"Enter NtUserCallNoParam\n");
110 TRACE(
"Zapping the Active and Focus window out of the Queue!\n");
136 ERR(
"Calling invalid routine number 0x%x in NtUserCallNoParam\n", Routine);
159 TRACE(
"Enter NtUserCallOneParam\n");
280 Process->W32PF_flags &= ~W32PF_NOWINDOWGHOSTING;
326 case ONEPARAM_ROUTINE_GETCURSORPOS:
381 pdwLayout = (
PDWORD)Param;
402 case ONEPARAM_ROUTINE_CREATESYSTEMTHREADS:
415 ERR(
"Calling invalid routine number 0x%x in NtUserCallOneParam(), Param=0x%x\n",
441 TRACE(
"Enter NtUserCallTwoParam\n");
464 Ret = (MenuObject->
cyMenu == (
int)Param2);
510 Param2 & (UISF_HIDEFOCUS | UISF_HIDEACCEL | UISF_ACTIVE));
566 ERR(
"Calling invalid routine number 0x%x in NtUserCallTwoParam(), Param1=0x%x Parm2=0x%x\n",
567 Routine, Param1, Param2);
573 TRACE(
"Leave NtUserCallTwoParam, ret=%p\n", (
PVOID)Ret);
593 TRACE(
"Enter NtUserCallHwndLock\n");
613 TRACE(
"HWNDLOCK_ROUTINE_DRAWMENUBAR\n");
656 TRACE(
"co_IntSetForegroundWindow 1 0x%p\n",
hWnd);
658 TRACE(
"co_IntSetForegroundWindow 2 0x%p\n",
hWnd);
662 TRACE(
"co_IntSetForegroundWindow M 1 0x%p\n",
hWnd);
664 TRACE(
"co_IntSetForegroundWindow M 2 0x%p\n",
hWnd);
680 TRACE(
"Leave NtUserCallHwndLock, ret=%u\n", Ret);
832 pWnd->
state &= ~WNDS_DIALOGWINDOW;
893 TRACE(
"Enter NtUserCallHwndParamLock\n");
923 TRACE(
"Leave NtUserCallHwndParamLock, ret=%lu\n", Ret);
#define DBG_DEFAULT_CHANNEL(ch)
DWORD UserSystemThreadProc(BOOL bRemoteProcess)
HWND FASTCALL IntWindowFromDC(HDC hDc)
#define ERROR_NOT_ENOUGH_MEMORY
#define NT_SUCCESS(StatCode)
#define ERROR_INVALID_PARAMETER
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
#define ExAllocatePoolWithTag(hernya, size, tag)
#define PsGetCurrentThread()
VOID NTAPI ProbeForWrite(IN PVOID Address, IN SIZE_T Length, IN ULONG Alignment)
IN PLARGE_INTEGER IN PLARGE_INTEGER PEPROCESS ProcessId
BOOL FASTCALL IntLockSetForegroundWindow(UINT uLockCode)
BOOL FASTCALL IntAllowSetForegroundWindow(DWORD dwProcessId)
BOOL FASTCALL UserSetActiveWindow(_In_opt_ PWND Wnd)
PUSER_MESSAGE_QUEUE gpqForeground
BOOL FASTCALL co_IntSetForegroundWindow(PWND Window)
BOOL FASTCALL IntReleaseCapture(VOID)
BOOL FASTCALL co_IntSetForegroundWindowMouse(PWND Window)
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
UINT WINAPI UserRealizePalette(HDC hDC)
GLuint GLuint GLsizei count
struct _NOTIFYEVENT * PNOTIFYEVENT
#define TWOPARAM_ROUTINE_SETGUITHRDHANDLE
#define WNDS_SERVERSIDEWINDOWPROC
#define UserHMGetHandle(obj)
struct _THREADINFO * GetW32ThreadInfo(VOID)
#define HWNDPARAM_ROUTINE_ROS_NOTIFYWINEVENT
#define NOPARAM_ROUTINE_ISCONSOLEMODE
#define ONEPARAM_ROUTINE_ENABLEPROCWNDGHSTING
#define ONEPARAM_ROUTINE_GETDESKTOPMAPPING
#define TWOPARAM_ROUTINE_ROS_UPDATEUISTATE
@ TWOPARAM_ROUTINE_REGISTERLOGONPROCESS
@ TWOPARAM_ROUTINE_SHOWOWNEDPOPUPS
@ HWNDLOCK_ROUTINE_UPDATEWINDOW
@ TWOPARAM_ROUTINE_UNHOOKWINDOWSHOOK
@ NOPARAM_ROUTINE_INIT_MESSAGE_PUMP
@ NOPARAM_ROUTINE_ZAPACTIVEANDFOUS
@ TWOPARAM_ROUTINE_REDRAWTITLE
@ ONEPARAM_ROUTINE_GETKEYBOARDTYPE
@ TWOPARAM_ROUTINE_SWITCHTOTHISWINDOW
@ NOPARAM_ROUTINE_CREATEMENUPOPUP
@ HWNDPARAM_ROUTINE_SETDIALOGPOINTER
@ ONEPARAM_ROUTINE_WINDOWFROMDC
@ HWNDPARAM_ROUTINE_KILLSYSTEMTIMER
@ HWNDPARAM_ROUTINE_SETWNDCONTEXTHLPID
@ NOPARAM_ROUTINE_LOADUSERAPIHOOK
@ TWOPARAM_ROUTINE_ENABLEWINDOW
@ ONEPARAM_ROUTINE_MESSAGEBEEP
@ HWNDLOCK_ROUTINE_DRAWMENUBAR
@ ONEPARAM_ROUTINE_SETPROCDEFLAYOUT
@ ONEPARAM_ROUTINE_ENUMCLIPBOARDFORMATS
@ ONEPARAM_ROUTINE_BEGINDEFERWNDPOS
@ HWND_ROUTINE_REGISTERSHELLHOOKWINDOW
@ NOPARAM_ROUTINE_GETMSESSAGEPOS
@ ONEPARAM_ROUTINE_GETKEYBOARDLAYOUT
@ HWNDLOCK_ROUTINE_SETFOREGROUNDWINDOW
@ NOPARAM_ROUTINE_MSQCLEARWAKEMASK
@ ONEPARAM_ROUTINE_POSTQUITMESSAGE
@ HWNDPARAM_ROUTINE_CLEARWINDOWSTATE
@ NOPARAM_ROUTINE_CREATEMENU
@ ONEPARAM_ROUTINE_LOCKFOREGNDWINDOW
@ HWND_ROUTINE_GETWNDCONTEXTHLPID
@ ONEPARAM_ROUTINE_RELEASEDC
@ ONEPARAM_ROUTINE_SWAPMOUSEBUTTON
@ NOPARAM_ROUTINE_GETIMESHOWSTATUS
@ HWNDLOCK_ROUTINE_ARRANGEICONICWINDOWS
@ ONEPARAM_ROUTINE_SHOWCURSOR
@ ONEPARAM_ROUTINE_SETMESSAGEEXTRAINFO
@ ONEPARAM_ROUTINE_REALIZEPALETTE
@ HWNDLOCK_ROUTINE_REDRAWFRAMEANDHOOK
@ NOPARAM_ROUTINE_DESTROY_CARET
@ HWNDLOCK_ROUTINE_CHECKIMESHOWSTATUSINTHRD
@ HWND_ROUTINE_DEREGISTERSHELLHOOKWINDOW
@ ONEPARAM_ROUTINE_REPLYMESSAGE
@ HWNDLOCK_ROUTINE_REDRAWFRAME
@ ONEPARAM_ROUTINE_GETQUEUESTATUS
@ HWNDOPT_ROUTINE_SETTASKMANWINDOW
@ NOPARAM_ROUTINE_RELEASECAPTURE
@ ONEPARAM_ROUTINE_CREATEEMPTYCUROBJECT
@ NOPARAM_ROUTINE_UNINIT_MESSAGE_PUMP
@ NOPARAM_ROUTINE_UPDATEPERUSERIMMENABLING
@ ONEPARAM_ROUTINE_SETCARETBLINKTIME
@ TWOPARAM_ROUTINE_VALIDATERGN
@ TWOPARAM_ROUTINE_SETCARETPOS
@ TWOPARAM_ROUTINE_IMESHOWSTATUSCHANGE
@ ONEPARAM_ROUTINE_GETPROCDEFLAYOUT
@ HWNDOPT_ROUTINE_SETPROGMANWINDOW
@ ONEPARAM_ROUTINE_GETINPUTEVENT
@ ONEPARAM_ROUTINE_ALLOWSETFOREGND
@ HWNDPARAM_ROUTINE_SETWINDOWSTATE
@ TWOPARAM_ROUTINE_SETCURSORPOS
#define HWNDLOCK_ROUTINE_SETFOREGROUNDWINDOWMOUSE
#define WNDS_DIALOGWINDOW
#define TWOPARAM_ROUTINE_SETMENUBARHEIGHT
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)
#define EXCEPTION_EXECUTE_HANDLER
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
VOID FASTCALL MsqPostQuitMessage(PTHREADINFO pti, ULONG ExitCode)
HWND FASTCALL MsqSetStateWindow(PTHREADINFO pti, ULONG Type, HWND hWnd)
int UserShowCursor(BOOL bShow)
BOOL FASTCALL IntMsqClearWakeMask(VOID)
VOID FASTCALL MsqPostMessage(PTHREADINFO pti, MSG *Msg, BOOLEAN HardwareMessage, DWORD MessageBits, DWORD dwQEvent, LONG_PTR ExtraInfo)
LPARAM FASTCALL MsqSetMessageExtraInfo(LPARAM lParam)
BOOL FASTCALL co_MsqReplyMessage(LRESULT lResult)
HANDLE FASTCALL IntMsqSetWakeMask(DWORD WakeMask)
unsigned __int3264 UINT_PTR
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
NTSTATUS NTAPI PsLookupProcessByProcessId(IN HANDLE ProcessId, OUT PEPROCESS *Process)
PVOID NTAPI PsGetCurrentProcessWin32Process(VOID)
PVOID NTAPI PsGetCurrentThreadWin32Thread(VOID)
BOOL UserPaintCaption(PWND pWnd, INT Flags)
BOOL FASTCALL UserLoadApiHook(VOID)
BOOL FASTCALL IntUnhookWindowsHook(int HookId, HOOKPROC pfnFilterProc)
UINT FASTCALL co_WinPosArrangeIconicWindows(PWND parent)
BOOLEAN FASTCALL co_WinPosSetWindowPos(PWND Window, HWND WndInsertAfter, INT x, INT y, INT cx, INT cy, UINT flags)
VOID FASTCALL UserLeave(VOID)
VOID FASTCALL UserEnterShared(VOID)
VOID FASTCALL UserEnterExclusive(VOID)
struct _THREADINFO * PTHREADINFO
static __inline VOID UserDerefObjectCo(PVOID obj)
static __inline VOID UserRefObjectCo(PVOID obj, PUSER_REFERENCE_ENTRY UserReferenceEntry)
HANDLE FASTCALL UserRemoveProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
BOOL FASTCALL co_IntRegisterLogonProcess(HANDLE ProcessId, BOOL Register)
DWORD_PTR APIENTRY NtUserCallNoParam(DWORD Routine)
DWORD_PTR APIENTRY NtUserCallOneParam(DWORD_PTR Param, DWORD Routine)
HWND APIENTRY NtUserCallHwndOpt(HWND hWnd, DWORD Routine)
DWORD APIENTRY NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
BOOL APIENTRY NtUserCallHwndLock(HWND hWnd, DWORD Routine)
DWORD APIENTRY NtUserCallHwnd(HWND hWnd, DWORD Routine)
DWORD APIENTRY NtUserCallHwndParamLock(HWND hWnd, DWORD_PTR Param, DWORD Routine)
DWORD_PTR APIENTRY NtUserCallTwoParam(DWORD_PTR Param1, DWORD_PTR Param2, DWORD Routine)
struct _USER_MESSAGE_QUEUE * MessageQueue
TW_UINT32 TW_UINT16 TW_UINT16 MSG
#define RtlZeroMemory(Destination, Length)
BOOL FASTCALL co_UserRedrawWindow(PWND Window, const RECTL *UpdateRect, PREGION UpdateRgn, ULONG Flags)
VOID FASTCALL co_IntUpdateWindows(PWND Wnd, ULONG Flags, BOOL Recurse)
PWND FASTCALL UserGetWindowObject(HWND hWnd)
INT FASTCALL UserReleaseDC(PWND Window, HDC hDc, BOOL EndPaint)
#define W32PF_NOWINDOWGHOSTING
VOID FASTCALL SetLastNtError(_In_ NTSTATUS Status)
PREGION FASTCALL REGION_LockRgn(_In_ HRGN hrgn)
VOID FASTCALL REGION_UnlockRgn(_In_ PREGION prgn)
BOOL FASTCALL IntSetCaretBlinkTime(UINT uMSeconds)
BOOL FASTCALL co_IntSetCaretPos(int X, int Y)
BOOL FASTCALL co_IntDestroyCaret(PTHREADINFO Win32Thread)
UINT APIENTRY UserEnumClipboardFormats(UINT fmt)
HANDLE IntCreateCurIconHandle(BOOLEAN Animated)
BOOL UserSetCursorPos(INT x, INT y, DWORD flags, ULONG_PTR dwExtraInfo, BOOL Hook)
PDESKTOP FASTCALL IntGetActiveDesktop(VOID)
BOOL IntDeRegisterShellHookWindow(HWND hWnd)
BOOL IntRegisterShellHookWindow(HWND hWnd)
VOID co_IntShellHookNotify(WPARAM Message, WPARAM wParam, LPARAM lParam)
static __inline PVOID DesktopHeapAddressToUser(PVOID lpMem)
VOID FASTCALL IntNotifyWinEvent(DWORD Event, PWND pWnd, LONG idObject, LONG idChild, DWORD flags)
VOID FASTCALL IntCheckImeShowStatusInThread(PWND pImeWnd)
BOOL FASTCALL IntBroadcastImeShowStatusChange(PWND pImeWnd, BOOL bShow)
HKL FASTCALL UserGetKeyboardLayout(DWORD dwThreadId)
DWORD FASTCALL UserGetKeyboardType(DWORD dwTypeFlag)
DWORD APIENTRY IntGetQueueStatus(DWORD Changes)
BOOL APIENTRY IntInitMessagePumpHook(VOID)
BOOL FASTCALL UserPostMessage(HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam)
BOOL APIENTRY IntUninitMessagePumpHook(VOID)
BOOL FASTCALL UserIsIMMEnabled(VOID)
VOID FASTCALL IntClearWindowState(PWND pWnd, UINT Flag)
VOID FASTCALL IntSetWindowState(PWND pWnd, UINT Flag)
BOOL FASTCALL UserDeleteObject(HANDLE h, HANDLE_TYPE type)
PUSER_HANDLE_TABLE gHandleTable
PVOID FASTCALL UserCreateObject(PUSER_HANDLE_TABLE ht, PDESKTOP pDesktop, PTHREADINFO pti, HANDLE *h, HANDLE_TYPE type, ULONG size)
HANDLE FASTCALL UserGetProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
BOOL FASTCALL IntKillTimer(PWND Window, UINT_PTR IDEvent, BOOL SystemTimer)
PWND FASTCALL IntGetParent(PWND Wnd)
BOOL FASTCALL IntEnableWindow(HWND hWnd, BOOL bEnable)
BOOL FASTCALL IntShowOwnedPopups(PWND OwnerWnd, BOOL fShow)
BOOL FASTCALL IntIsWindow(HWND hWnd)
BOOL FASTCALL UserUpdateUiState(PWND Wnd, WPARAM wParam)
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
#define ERROR_INVALID_ACCESS
#define LAYOUT_ORIENTATIONMASK
LRESULT(CALLBACK * HOOKPROC)(int, WPARAM, LPARAM)
#define SWP_ASYNCWINDOWPOS
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
#define ObDereferenceObject
#define PsGetCurrentProcess