2021-10-12 16:42:35 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2021 Jacek Caban for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NTUSER_
|
|
|
|
#define _NTUSER_
|
|
|
|
|
|
|
|
#include <winuser.h>
|
2021-10-14 15:21:15 +02:00
|
|
|
#include <wingdi.h>
|
2021-10-12 16:42:35 +02:00
|
|
|
#include <winternl.h>
|
|
|
|
|
2021-12-02 01:13:55 +01:00
|
|
|
/* KernelCallbackTable codes, not compatible with Windows */
|
|
|
|
enum
|
|
|
|
{
|
2022-02-22 13:53:11 +01:00
|
|
|
/* user32 callbacks */
|
2021-12-02 01:13:55 +01:00
|
|
|
NtUserCallEnumDisplayMonitor,
|
2022-03-31 15:36:39 +02:00
|
|
|
NtUserCallSendAsyncCallback,
|
2022-02-16 12:30:12 +01:00
|
|
|
NtUserCallWinEventHook,
|
2022-03-23 14:01:18 +01:00
|
|
|
NtUserCallWindowProc,
|
2022-02-25 16:02:12 +01:00
|
|
|
NtUserCallWindowsHook,
|
2022-03-09 15:20:48 +01:00
|
|
|
NtUserLoadDriver,
|
2022-02-22 13:53:11 +01:00
|
|
|
/* win16 hooks */
|
|
|
|
NtUserCallFreeIcon,
|
2022-03-31 15:36:51 +02:00
|
|
|
NtUserThunkLock,
|
2022-02-22 13:53:11 +01:00
|
|
|
/* Vulkan support */
|
2021-12-09 03:15:49 +01:00
|
|
|
NtUserCallVulkanDebugReportCallback,
|
|
|
|
NtUserCallVulkanDebugUtilsCallback,
|
|
|
|
NtUserCallCount
|
2021-12-02 01:13:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
/* NtUserCallEnumDisplayMonitor params */
|
|
|
|
struct enum_display_monitor_params
|
|
|
|
{
|
|
|
|
MONITORENUMPROC proc;
|
|
|
|
HMONITOR monitor;
|
|
|
|
HDC hdc;
|
|
|
|
RECT rect;
|
|
|
|
LPARAM lparam;
|
|
|
|
};
|
|
|
|
|
2022-03-31 15:36:39 +02:00
|
|
|
/* NtUserCallSendAsyncCallback params */
|
|
|
|
struct send_async_params
|
|
|
|
{
|
|
|
|
SENDASYNCPROC callback;
|
|
|
|
HWND hwnd;
|
|
|
|
UINT msg;
|
|
|
|
ULONG_PTR data;
|
|
|
|
LRESULT result;
|
|
|
|
};
|
|
|
|
|
2022-02-16 12:30:12 +01:00
|
|
|
/* NtUserCallWinEventHook params */
|
2022-02-25 16:02:12 +01:00
|
|
|
struct win_event_hook_params
|
2022-02-16 12:30:12 +01:00
|
|
|
{
|
|
|
|
DWORD event;
|
|
|
|
HWND hwnd;
|
|
|
|
LONG object_id;
|
|
|
|
LONG child_id;
|
|
|
|
void *handle;
|
2022-03-23 14:01:42 +01:00
|
|
|
DWORD tid;
|
|
|
|
DWORD time;
|
2022-02-16 12:30:12 +01:00
|
|
|
WINEVENTPROC proc;
|
|
|
|
WCHAR module[MAX_PATH];
|
|
|
|
};
|
|
|
|
|
2022-03-23 14:00:21 +01:00
|
|
|
/* type of message-sending functions that need special WM_CHAR handling */
|
|
|
|
enum wm_char_mapping
|
|
|
|
{
|
|
|
|
WMCHAR_MAP_POSTMESSAGE,
|
|
|
|
WMCHAR_MAP_SENDMESSAGE,
|
|
|
|
WMCHAR_MAP_SENDMESSAGETIMEOUT,
|
|
|
|
WMCHAR_MAP_RECVMESSAGE,
|
|
|
|
WMCHAR_MAP_DISPATCHMESSAGE,
|
|
|
|
WMCHAR_MAP_CALLWINDOWPROC,
|
|
|
|
WMCHAR_MAP_COUNT,
|
|
|
|
WMCHAR_MAP_NOMAPPING = WMCHAR_MAP_COUNT
|
|
|
|
};
|
|
|
|
|
|
|
|
/* NtUserCallWindowProc params */
|
|
|
|
struct win_proc_params
|
|
|
|
{
|
|
|
|
WNDPROC func;
|
|
|
|
HWND hwnd;
|
|
|
|
UINT msg;
|
|
|
|
WPARAM wparam;
|
|
|
|
LPARAM lparam;
|
|
|
|
LRESULT *result;
|
|
|
|
BOOL ansi;
|
|
|
|
BOOL ansi_dst;
|
|
|
|
BOOL is_dialog;
|
2022-03-31 15:36:15 +02:00
|
|
|
BOOL needs_unpack;
|
2022-03-23 14:00:21 +01:00
|
|
|
enum wm_char_mapping mapping;
|
2022-03-23 14:00:43 +01:00
|
|
|
DPI_AWARENESS_CONTEXT dpi_awareness;
|
2022-03-23 14:00:21 +01:00
|
|
|
WNDPROC procA;
|
|
|
|
WNDPROC procW;
|
|
|
|
};
|
|
|
|
|
2022-02-25 16:02:12 +01:00
|
|
|
/* NtUserCallWindowsHook params */
|
|
|
|
struct win_hook_params
|
|
|
|
{
|
|
|
|
void *proc;
|
|
|
|
void *handle;
|
|
|
|
DWORD pid;
|
|
|
|
DWORD tid;
|
|
|
|
int id;
|
|
|
|
int code;
|
|
|
|
WPARAM wparam;
|
|
|
|
LPARAM lparam;
|
|
|
|
BOOL prev_unicode;
|
|
|
|
BOOL next_unicode;
|
|
|
|
WCHAR module[MAX_PATH];
|
|
|
|
};
|
|
|
|
|
2021-12-06 03:08:21 +01:00
|
|
|
/* process DPI awareness contexts */
|
|
|
|
#define NTUSER_DPI_UNAWARE 0x00006010
|
|
|
|
#define NTUSER_DPI_SYSTEM_AWARE 0x00006011
|
|
|
|
#define NTUSER_DPI_PER_MONITOR_AWARE 0x00000012
|
|
|
|
#define NTUSER_DPI_PER_MONITOR_AWARE_V2 0x00000022
|
|
|
|
#define NTUSER_DPI_PER_UNAWARE_GDISCALED 0x40006010
|
|
|
|
|
2022-02-15 13:10:51 +01:00
|
|
|
/* NtUserCallNoParam codes, not compatible with Windows */
|
|
|
|
enum
|
|
|
|
{
|
2022-03-25 12:19:05 +01:00
|
|
|
NtUserCreateMenu,
|
2022-03-09 15:20:48 +01:00
|
|
|
NtUserGetDesktopWindow,
|
2022-02-15 13:10:51 +01:00
|
|
|
NtUserGetInputState,
|
2022-03-11 14:22:19 +01:00
|
|
|
NtUserReleaseCapture,
|
2022-02-15 13:15:56 +01:00
|
|
|
/* temporary exports */
|
2022-03-17 16:29:30 +01:00
|
|
|
NtUserExitingThread,
|
2022-02-15 13:15:56 +01:00
|
|
|
NtUserThreadDetach,
|
2022-02-15 13:10:51 +01:00
|
|
|
};
|
|
|
|
|
2021-12-03 12:56:30 +01:00
|
|
|
/* NtUserCallOneParam codes, not compatible with Windows */
|
|
|
|
enum
|
|
|
|
{
|
2022-03-15 14:27:28 +01:00
|
|
|
NtUserBeginDeferWindowPos,
|
2022-02-22 13:53:11 +01:00
|
|
|
NtUserCreateCursorIcon,
|
2022-03-23 14:01:18 +01:00
|
|
|
NtUserDispatchMessageA,
|
2022-03-15 14:28:35 +01:00
|
|
|
NtUserEnableDC,
|
2022-03-31 15:36:51 +02:00
|
|
|
NtUserEnableThunkLock,
|
2022-02-14 14:07:34 +01:00
|
|
|
NtUserGetClipCursor,
|
2022-02-14 14:08:27 +01:00
|
|
|
NtUserGetCursorPos,
|
2022-02-24 01:27:36 +01:00
|
|
|
NtUserGetIconParam,
|
2022-02-18 13:37:29 +01:00
|
|
|
NtUserGetPrimaryMonitorRect,
|
2021-12-06 03:15:59 +01:00
|
|
|
NtUserGetSysColor,
|
|
|
|
NtUserGetSysColorBrush,
|
|
|
|
NtUserGetSysColorPen,
|
|
|
|
NtUserGetSystemMetrics,
|
2022-02-18 13:37:12 +01:00
|
|
|
NtUserGetVirtualScreenRect,
|
2022-02-14 14:08:05 +01:00
|
|
|
NtUserMessageBeep,
|
2021-12-03 12:56:30 +01:00
|
|
|
NtUserRealizePalette,
|
2021-12-06 03:15:59 +01:00
|
|
|
/* temporary exports */
|
2022-02-25 16:02:46 +01:00
|
|
|
NtUserCallHooks,
|
2022-02-15 13:10:20 +01:00
|
|
|
NtUserFlushWindowSurfaces,
|
2021-12-06 03:15:59 +01:00
|
|
|
NtUserGetDeskPattern,
|
2022-03-04 14:27:58 +01:00
|
|
|
NtUserGetWinProcPtr,
|
2022-02-25 16:01:15 +01:00
|
|
|
NtUserHandleInternalMessage,
|
2022-02-22 13:43:44 +01:00
|
|
|
NtUserLock,
|
2022-02-17 15:42:36 +01:00
|
|
|
NtUserSetCallbacks,
|
2022-03-21 16:42:08 +01:00
|
|
|
NtUserSpyGetVKeyName,
|
2021-12-03 12:56:30 +01:00
|
|
|
};
|
|
|
|
|
2021-12-02 01:13:39 +01:00
|
|
|
/* NtUserCallTwoParam codes, not compatible with Windows */
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
NtUserGetMonitorInfo,
|
2021-12-06 03:15:59 +01:00
|
|
|
NtUserGetSystemMetricsForDpi,
|
2021-12-07 15:28:46 +01:00
|
|
|
NtUserMirrorRgn,
|
2022-02-14 14:07:14 +01:00
|
|
|
NtUserMonitorFromRect,
|
2022-03-31 15:36:02 +02:00
|
|
|
NtUserReplyMessage,
|
2022-02-24 01:27:36 +01:00
|
|
|
NtUserSetIconParam,
|
2022-02-16 12:31:17 +01:00
|
|
|
NtUserUnhookWindowsHook,
|
2022-02-15 13:10:20 +01:00
|
|
|
/* temporary exports */
|
2022-03-04 14:27:58 +01:00
|
|
|
NtUserAllocWinProc,
|
2022-02-22 13:52:53 +01:00
|
|
|
NtUserGetHandlePtr,
|
2021-12-02 01:13:39 +01:00
|
|
|
};
|
|
|
|
|
2022-02-25 16:25:30 +01:00
|
|
|
/* NtUserCallHwnd codes, not compatible with Windows */
|
|
|
|
enum
|
|
|
|
{
|
2022-03-18 14:29:17 +01:00
|
|
|
NtUserArrangeIconicWindows,
|
2022-03-09 15:22:07 +01:00
|
|
|
NtUserGetDpiForWindow,
|
2022-03-08 14:24:00 +01:00
|
|
|
NtUserGetParent,
|
2022-03-17 16:29:33 +01:00
|
|
|
NtUserGetWindowContextHelpId,
|
2022-03-09 15:21:51 +01:00
|
|
|
NtUserGetWindowDpiAwarenessContext,
|
2022-03-08 14:23:45 +01:00
|
|
|
NtUserGetWindowTextLength,
|
2022-02-25 16:25:30 +01:00
|
|
|
NtUserIsWindow,
|
2022-03-09 15:21:36 +01:00
|
|
|
NtUserIsWindowUnicode,
|
2022-03-08 14:24:20 +01:00
|
|
|
NtUserIsWindowVisible,
|
2022-02-25 16:25:30 +01:00
|
|
|
};
|
|
|
|
|
2022-02-25 16:03:05 +01:00
|
|
|
/* NtUserCallHwndParam codes, not compatible with Windows */
|
|
|
|
enum
|
|
|
|
{
|
2022-03-07 14:43:07 +01:00
|
|
|
NtUserGetClassLongA,
|
|
|
|
NtUserGetClassLongW,
|
|
|
|
NtUserGetClassLongPtrA,
|
|
|
|
NtUserGetClassLongPtrW,
|
|
|
|
NtUserGetClassWord,
|
2022-03-09 15:22:49 +01:00
|
|
|
NtUserGetClientRect,
|
2022-03-17 16:29:31 +01:00
|
|
|
NtUserGetMinMaxInfo,
|
2022-03-09 15:22:39 +01:00
|
|
|
NtUserGetWindowInfo,
|
2022-03-08 14:23:52 +01:00
|
|
|
NtUserGetWindowLongA,
|
|
|
|
NtUserGetWindowLongW,
|
|
|
|
NtUserGetWindowLongPtrA,
|
|
|
|
NtUserGetWindowLongPtrW,
|
2022-03-10 14:32:34 +01:00
|
|
|
NtUserGetWindowPlacement,
|
2022-03-09 15:22:22 +01:00
|
|
|
NtUserGetWindowRect,
|
2022-03-08 14:23:56 +01:00
|
|
|
NtUserGetWindowRelative,
|
2022-02-25 16:03:05 +01:00
|
|
|
NtUserGetWindowThread,
|
2022-03-08 14:23:52 +01:00
|
|
|
NtUserGetWindowWord,
|
2022-03-08 14:24:15 +01:00
|
|
|
NtUserIsChild,
|
2022-03-16 15:36:42 +01:00
|
|
|
NtUserKillSystemTimer,
|
2022-03-10 14:32:34 +01:00
|
|
|
NtUserMonitorFromWindow,
|
2022-03-23 14:02:18 +01:00
|
|
|
NtUserScreenToClient,
|
2022-03-11 14:22:19 +01:00
|
|
|
NtUserSetCaptureWindow,
|
2022-03-11 14:22:04 +01:00
|
|
|
NtUserSetForegroundWindow,
|
2022-03-16 15:35:35 +01:00
|
|
|
NtUserSetWindowPixelFormat,
|
2022-03-08 14:24:28 +01:00
|
|
|
/* temporary exports */
|
|
|
|
NtUserIsWindowDrawable,
|
2022-03-16 15:34:55 +01:00
|
|
|
NtUserSetWindowStyle,
|
2022-03-21 16:42:08 +01:00
|
|
|
NtUserSpyGetMsgName,
|
2022-02-25 16:03:05 +01:00
|
|
|
};
|
|
|
|
|
2022-03-11 14:22:04 +01:00
|
|
|
/* NtUserMessageCall codes */
|
|
|
|
enum
|
|
|
|
{
|
2022-04-04 16:57:23 +02:00
|
|
|
FNID_CALLWNDPROC = 0x02ab,
|
|
|
|
FNID_SENDMESSAGE = 0x02b1,
|
|
|
|
FNID_SENDMESSAGEWTOOPTION = 0x02b3,
|
|
|
|
FNID_SENDNOTIFYMESSAGE = 0x02b7,
|
|
|
|
FNID_SENDMESSAGECALLBACK = 0x02b8,
|
2022-03-21 16:42:08 +01:00
|
|
|
/* Wine-specific exports */
|
2022-04-04 16:57:23 +02:00
|
|
|
FNID_SPYENTER = 0x0300,
|
|
|
|
FNID_SPYEXIT = 0x0301,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct send_message_timeout_params
|
|
|
|
{
|
|
|
|
UINT flags;
|
|
|
|
UINT timeout;
|
|
|
|
DWORD_PTR result;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct send_message_callback_params
|
|
|
|
{
|
|
|
|
SENDASYNCPROC callback;
|
|
|
|
ULONG_PTR data;
|
2022-03-11 14:22:04 +01:00
|
|
|
};
|
|
|
|
|
2021-12-07 15:29:06 +01:00
|
|
|
/* color index used to retrieve system 55aa brush */
|
|
|
|
#define COLOR_55AA_BRUSH 0x100
|
|
|
|
|
2022-02-22 13:40:33 +01:00
|
|
|
/* user object types */
|
|
|
|
#define NTUSER_OBJ_WINDOW 0x01
|
|
|
|
#define NTUSER_OBJ_MENU 0x02
|
|
|
|
#define NTUSER_OBJ_ICON 0x03
|
|
|
|
#define NTUSER_OBJ_WINPOS 0x04
|
|
|
|
#define NTUSER_OBJ_ACCEL 0x08
|
|
|
|
#define NTUSER_OBJ_HOOK 0x0f
|
|
|
|
|
2022-03-04 14:27:58 +01:00
|
|
|
/* NtUserInitializeClientPfnArrays parameter, not compatible with Windows */
|
|
|
|
struct user_client_procs
|
|
|
|
{
|
|
|
|
WNDPROC pButtonWndProc;
|
|
|
|
WNDPROC pComboWndProc;
|
|
|
|
WNDPROC pDefWindowProc;
|
|
|
|
WNDPROC pDefDlgProc;
|
|
|
|
WNDPROC pEditWndProc;
|
|
|
|
WNDPROC pListBoxWndProc;
|
|
|
|
WNDPROC pMDIClientWndProc;
|
|
|
|
WNDPROC pScrollBarWndProc;
|
|
|
|
WNDPROC pStaticWndProc;
|
|
|
|
WNDPROC pImeWndProc;
|
|
|
|
WNDPROC pDesktopWndProc;
|
|
|
|
WNDPROC pIconTitleWndProc;
|
|
|
|
WNDPROC pPopupMenuWndProc;
|
|
|
|
WNDPROC pMessageWndProc;
|
|
|
|
};
|
|
|
|
|
2022-02-22 13:41:40 +01:00
|
|
|
/* NtUserSetCursorIconData parameter, not compatible with Windows */
|
2022-02-22 13:53:11 +01:00
|
|
|
struct cursoricon_frame
|
|
|
|
{
|
|
|
|
UINT width; /* frame-specific width */
|
|
|
|
UINT height; /* frame-specific height */
|
|
|
|
HBITMAP color; /* color bitmap */
|
|
|
|
HBITMAP alpha; /* pre-multiplied alpha bitmap for 32-bpp icons */
|
|
|
|
HBITMAP mask; /* mask bitmap (followed by color for 1-bpp icons) */
|
|
|
|
POINT hotspot;
|
|
|
|
};
|
|
|
|
|
2022-02-22 13:41:40 +01:00
|
|
|
struct cursoricon_desc
|
|
|
|
{
|
|
|
|
UINT flags;
|
|
|
|
UINT num_steps;
|
|
|
|
UINT num_frames;
|
|
|
|
UINT delay;
|
|
|
|
struct cursoricon_frame *frames;
|
|
|
|
DWORD *frame_seq;
|
|
|
|
DWORD *frame_rates;
|
|
|
|
HRSRC rsrc;
|
|
|
|
};
|
|
|
|
|
2022-03-07 14:42:03 +01:00
|
|
|
struct client_menu_name
|
|
|
|
{
|
|
|
|
char *nameA;
|
|
|
|
WCHAR *nameW;
|
|
|
|
UNICODE_STRING *nameUS;
|
|
|
|
};
|
|
|
|
|
2022-02-08 13:13:00 +01:00
|
|
|
/* internal messages codes */
|
|
|
|
enum wine_internal_message
|
|
|
|
{
|
|
|
|
WM_WINE_DESTROYWINDOW = 0x80000000,
|
|
|
|
WM_WINE_SETWINDOWPOS,
|
|
|
|
WM_WINE_SHOWWINDOW,
|
|
|
|
WM_WINE_SETPARENT,
|
|
|
|
WM_WINE_SETWINDOWLONG,
|
|
|
|
WM_WINE_SETSTYLE,
|
|
|
|
WM_WINE_SETACTIVEWINDOW,
|
|
|
|
WM_WINE_KEYBOARD_LL_HOOK,
|
|
|
|
WM_WINE_MOUSE_LL_HOOK,
|
|
|
|
WM_WINE_CLIPCURSOR,
|
|
|
|
WM_WINE_UPDATEWINDOWSTATE,
|
|
|
|
WM_WINE_FIRST_DRIVER_MSG = 0x80001000, /* range of messages reserved for the USER driver */
|
|
|
|
WM_WINE_LAST_DRIVER_MSG = 0x80001fff
|
|
|
|
};
|
|
|
|
|
2022-03-31 15:36:02 +02:00
|
|
|
/* the various structures that can be sent in messages, in platform-independent layout */
|
|
|
|
struct packed_CREATESTRUCTW
|
|
|
|
{
|
|
|
|
ULONGLONG lpCreateParams;
|
|
|
|
ULONGLONG hInstance;
|
|
|
|
UINT hMenu;
|
|
|
|
DWORD __pad1;
|
|
|
|
UINT hwndParent;
|
|
|
|
DWORD __pad2;
|
|
|
|
INT cy;
|
|
|
|
INT cx;
|
|
|
|
INT y;
|
|
|
|
INT x;
|
|
|
|
LONG style;
|
|
|
|
ULONGLONG lpszName;
|
|
|
|
ULONGLONG lpszClass;
|
|
|
|
DWORD dwExStyle;
|
|
|
|
DWORD __pad3;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_DRAWITEMSTRUCT
|
|
|
|
{
|
|
|
|
UINT CtlType;
|
|
|
|
UINT CtlID;
|
|
|
|
UINT itemID;
|
|
|
|
UINT itemAction;
|
|
|
|
UINT itemState;
|
|
|
|
UINT hwndItem;
|
|
|
|
DWORD __pad1;
|
|
|
|
UINT hDC;
|
|
|
|
DWORD __pad2;
|
|
|
|
RECT rcItem;
|
|
|
|
ULONGLONG itemData;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_MEASUREITEMSTRUCT
|
|
|
|
{
|
|
|
|
UINT CtlType;
|
|
|
|
UINT CtlID;
|
|
|
|
UINT itemID;
|
|
|
|
UINT itemWidth;
|
|
|
|
UINT itemHeight;
|
|
|
|
ULONGLONG itemData;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_DELETEITEMSTRUCT
|
|
|
|
{
|
|
|
|
UINT CtlType;
|
|
|
|
UINT CtlID;
|
|
|
|
UINT itemID;
|
|
|
|
UINT hwndItem;
|
|
|
|
DWORD __pad;
|
|
|
|
ULONGLONG itemData;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_COMPAREITEMSTRUCT
|
|
|
|
{
|
|
|
|
UINT CtlType;
|
|
|
|
UINT CtlID;
|
|
|
|
UINT hwndItem;
|
|
|
|
DWORD __pad1;
|
|
|
|
UINT itemID1;
|
|
|
|
ULONGLONG itemData1;
|
|
|
|
UINT itemID2;
|
|
|
|
ULONGLONG itemData2;
|
|
|
|
DWORD dwLocaleId;
|
|
|
|
DWORD __pad2;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_WINDOWPOS
|
|
|
|
{
|
|
|
|
UINT hwnd;
|
|
|
|
DWORD __pad1;
|
|
|
|
UINT hwndInsertAfter;
|
|
|
|
DWORD __pad2;
|
|
|
|
INT x;
|
|
|
|
INT y;
|
|
|
|
INT cx;
|
|
|
|
INT cy;
|
|
|
|
UINT flags;
|
|
|
|
DWORD __pad3;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_COPYDATASTRUCT
|
|
|
|
{
|
|
|
|
ULONGLONG dwData;
|
|
|
|
DWORD cbData;
|
|
|
|
ULONGLONG lpData;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_HELPINFO
|
|
|
|
{
|
|
|
|
UINT cbSize;
|
|
|
|
INT iContextType;
|
|
|
|
INT iCtrlId;
|
|
|
|
UINT hItemHandle;
|
|
|
|
DWORD __pad;
|
|
|
|
ULONGLONG dwContextId;
|
|
|
|
POINT MousePos;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_NCCALCSIZE_PARAMS
|
|
|
|
{
|
|
|
|
RECT rgrc[3];
|
|
|
|
ULONGLONG __pad1;
|
|
|
|
UINT hwnd;
|
|
|
|
DWORD __pad2;
|
|
|
|
UINT hwndInsertAfter;
|
|
|
|
DWORD __pad3;
|
|
|
|
INT x;
|
|
|
|
INT y;
|
|
|
|
INT cx;
|
|
|
|
INT cy;
|
|
|
|
UINT flags;
|
|
|
|
DWORD __pad4;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_MSG
|
|
|
|
{
|
|
|
|
UINT hwnd;
|
|
|
|
DWORD __pad1;
|
|
|
|
UINT message;
|
|
|
|
ULONGLONG wParam;
|
|
|
|
ULONGLONG lParam;
|
|
|
|
DWORD time;
|
|
|
|
POINT pt;
|
|
|
|
DWORD __pad2;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_MDINEXTMENU
|
|
|
|
{
|
|
|
|
UINT hmenuIn;
|
|
|
|
DWORD __pad1;
|
|
|
|
UINT hmenuNext;
|
|
|
|
DWORD __pad2;
|
|
|
|
UINT hwndNext;
|
|
|
|
DWORD __pad3;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct packed_MDICREATESTRUCTW
|
|
|
|
{
|
|
|
|
ULONGLONG szClass;
|
|
|
|
ULONGLONG szTitle;
|
|
|
|
ULONGLONG hOwner;
|
|
|
|
INT x;
|
|
|
|
INT y;
|
|
|
|
INT cx;
|
|
|
|
INT cy;
|
|
|
|
DWORD style;
|
|
|
|
ULONGLONG lParam;
|
|
|
|
};
|
|
|
|
|
2022-02-08 13:13:00 +01:00
|
|
|
|
2021-11-17 12:46:39 +01:00
|
|
|
HKL WINAPI NtUserActivateKeyboardLayout( HKL layout, UINT flags );
|
2021-11-12 12:54:45 +01:00
|
|
|
BOOL WINAPI NtUserAddClipboardFormatListener( HWND hwnd );
|
2021-11-16 12:32:55 +01:00
|
|
|
BOOL WINAPI NtUserAttachThreadInput( DWORD from, DWORD to, BOOL attach );
|
2022-03-14 11:44:10 +01:00
|
|
|
HDC WINAPI NtUserBeginPaint( HWND hwnd, PAINTSTRUCT *ps );
|
2021-12-21 20:31:29 +01:00
|
|
|
NTSTATUS WINAPI NtUserBuildHwndList( HDESK desktop, ULONG unk2, ULONG unk3, ULONG unk4,
|
|
|
|
ULONG thread_id, ULONG count, HWND *buffer, ULONG *size );
|
2022-03-09 15:21:51 +01:00
|
|
|
ULONG_PTR WINAPI NtUserCallHwnd( HWND hwnd, DWORD code );
|
2022-03-07 14:43:07 +01:00
|
|
|
ULONG_PTR WINAPI NtUserCallHwndParam( HWND hwnd, DWORD_PTR param, DWORD code );
|
2022-02-25 16:02:27 +01:00
|
|
|
LRESULT WINAPI NtUserCallNextHookEx( HHOOK hhook, INT code, WPARAM wparam, LPARAM lparam );
|
2022-02-15 13:10:51 +01:00
|
|
|
ULONG_PTR WINAPI NtUserCallNoParam( ULONG code );
|
2021-12-03 12:56:30 +01:00
|
|
|
ULONG_PTR WINAPI NtUserCallOneParam( ULONG_PTR arg, ULONG code );
|
2021-12-02 01:13:39 +01:00
|
|
|
ULONG_PTR WINAPI NtUserCallTwoParam( ULONG_PTR arg1, ULONG_PTR arg2, ULONG code );
|
2021-12-02 01:14:35 +01:00
|
|
|
LONG WINAPI NtUserChangeDisplaySettings( UNICODE_STRING *devname, DEVMODEW *devmode, HWND hwnd,
|
|
|
|
DWORD flags, void *lparam );
|
2022-02-14 14:07:25 +01:00
|
|
|
BOOL WINAPI NtUserClipCursor( const RECT *rect );
|
2021-10-13 14:53:36 +02:00
|
|
|
BOOL WINAPI NtUserCloseDesktop( HDESK handle );
|
2021-10-13 14:52:53 +02:00
|
|
|
BOOL WINAPI NtUserCloseWindowStation( HWINSTA handle );
|
2022-03-02 15:06:33 +01:00
|
|
|
INT WINAPI NtUserCopyAcceleratorTable( HACCEL src, ACCEL *dst, INT count );
|
2021-11-11 14:13:45 +01:00
|
|
|
INT WINAPI NtUserCountClipboardFormats(void);
|
2022-03-02 15:06:33 +01:00
|
|
|
HACCEL WINAPI NtUserCreateAcceleratorTable( ACCEL *table, INT count );
|
2021-10-14 15:21:15 +02:00
|
|
|
HDESK WINAPI NtUserCreateDesktopEx( OBJECT_ATTRIBUTES *attr, UNICODE_STRING *device,
|
|
|
|
DEVMODEW *devmode, DWORD flags, ACCESS_MASK access,
|
|
|
|
ULONG heap_size );
|
2022-03-18 14:27:55 +01:00
|
|
|
HWND WINAPI NtUserCreateWindowEx( DWORD ex_style, UNICODE_STRING *class_name,
|
|
|
|
UNICODE_STRING *version, UNICODE_STRING *window_name,
|
|
|
|
DWORD style, INT x, INT y, INT cx, INT cy,
|
|
|
|
HWND parent, HMENU menu, HINSTANCE instance, void *params,
|
|
|
|
DWORD flags, CBT_CREATEWNDW *cbtc, DWORD unk, BOOL ansi );
|
2021-10-14 15:20:42 +02:00
|
|
|
HWINSTA WINAPI NtUserCreateWindowStation( OBJECT_ATTRIBUTES *attr, ACCESS_MASK mask, ULONG arg3,
|
|
|
|
ULONG arg4, ULONG arg5, ULONG arg6, ULONG arg7 );
|
2022-03-15 14:27:28 +01:00
|
|
|
HDWP WINAPI NtUserDeferWindowPosAndBand( HDWP hdwp, HWND hwnd, HWND after, INT x, INT y,
|
|
|
|
INT cx, INT cy, UINT flags, UINT unk1, UINT unk2 );
|
2022-03-02 15:06:33 +01:00
|
|
|
BOOL WINAPI NtUserDestroyAcceleratorTable( HACCEL handle );
|
2022-02-22 13:53:11 +01:00
|
|
|
BOOL WINAPI NtUserDestroyCursor( HCURSOR cursor, ULONG arg );
|
2022-03-17 16:29:29 +01:00
|
|
|
BOOL WINAPI NtUserDestroyMenu( HMENU menu );
|
2022-03-17 16:29:30 +01:00
|
|
|
BOOL WINAPI NtUserDestroyWindow( HWND hwnd );
|
2022-03-23 14:01:18 +01:00
|
|
|
LRESULT WINAPI NtUserDispatchMessage( const MSG *msg );
|
2022-02-23 13:41:38 +01:00
|
|
|
BOOL WINAPI NtUserDrawIconEx( HDC hdc, INT x0, INT y0, HICON icon, INT width,
|
|
|
|
INT height, UINT istep, HBRUSH hbr, UINT flags );
|
2022-03-15 14:27:28 +01:00
|
|
|
BOOL WINAPI NtUserEndDeferWindowPosEx( HDWP hdwp, BOOL async );
|
2022-03-14 11:44:41 +01:00
|
|
|
BOOL WINAPI NtUserEndPaint( HWND hwnd, const PAINTSTRUCT *ps );
|
2021-12-10 02:06:59 +01:00
|
|
|
NTSTATUS WINAPI NtUserEnumDisplayDevices( UNICODE_STRING *device, DWORD index,
|
|
|
|
DISPLAY_DEVICEW *info, DWORD flags );
|
2021-12-02 01:13:55 +01:00
|
|
|
BOOL WINAPI NtUserEnumDisplayMonitors( HDC hdc, RECT *rect, MONITORENUMPROC proc, LPARAM lp );
|
2021-12-01 16:02:43 +01:00
|
|
|
BOOL WINAPI NtUserEnumDisplaySettings( UNICODE_STRING *device, DWORD mode,
|
|
|
|
DEVMODEW *dev_mode, DWORD flags );
|
2022-02-22 13:53:11 +01:00
|
|
|
HICON WINAPI NtUserFindExistingCursorIcon( UNICODE_STRING *module, UNICODE_STRING *res_name,
|
|
|
|
void *desc );
|
2022-03-09 15:19:47 +01:00
|
|
|
BOOL WINAPI NtUserFlashWindowEx( FLASHWINFO *info );
|
2022-03-08 14:24:03 +01:00
|
|
|
HWND WINAPI NtUserGetAncestor( HWND hwnd, UINT type );
|
2022-02-15 13:15:56 +01:00
|
|
|
SHORT WINAPI NtUserGetAsyncKeyState( INT key );
|
2022-03-04 14:28:16 +01:00
|
|
|
ULONG WINAPI NtUserGetAtomName( ATOM atom, UNICODE_STRING *name );
|
2022-03-07 14:42:32 +01:00
|
|
|
ATOM WINAPI NtUserGetClassInfoEx( HINSTANCE instance, UNICODE_STRING *name, WNDCLASSEXW *wc,
|
|
|
|
struct client_menu_name *menu_name, BOOL ansi );
|
2022-03-04 14:28:31 +01:00
|
|
|
INT WINAPI NtUserGetClassName( HWND hwnd, BOOL real, UNICODE_STRING *name );
|
2021-11-12 12:53:28 +01:00
|
|
|
INT WINAPI NtUserGetClipboardFormatName( UINT format, WCHAR *buffer, INT maxlen );
|
2021-11-12 12:53:50 +01:00
|
|
|
HWND WINAPI NtUserGetClipboardOwner(void);
|
2021-11-12 12:54:29 +01:00
|
|
|
DWORD WINAPI NtUserGetClipboardSequenceNumber(void);
|
2021-11-12 12:53:59 +01:00
|
|
|
HWND WINAPI NtUserGetClipboardViewer(void);
|
2021-12-03 12:55:44 +01:00
|
|
|
HCURSOR WINAPI NtUserGetCursor(void);
|
2022-02-23 13:40:14 +01:00
|
|
|
HCURSOR WINAPI NtUserGetCursorFrameInfo( HCURSOR hCursor, DWORD istep, DWORD *rate_jiffies,
|
|
|
|
DWORD *num_steps );
|
2022-02-24 01:28:18 +01:00
|
|
|
BOOL WINAPI NtUserGetCursorInfo( CURSORINFO *info );
|
2022-03-14 11:43:55 +01:00
|
|
|
HDC WINAPI NtUserGetDCEx( HWND hwnd, HRGN clip_rgn, DWORD flags );
|
2021-11-30 13:24:18 +01:00
|
|
|
LONG WINAPI NtUserGetDisplayConfigBufferSizes( UINT32 flags, UINT32 *num_path_info,
|
|
|
|
UINT32 *num_mode_info );
|
2021-12-06 03:15:59 +01:00
|
|
|
UINT WINAPI NtUserGetDoubleClickTime(void);
|
2021-12-06 03:09:07 +01:00
|
|
|
BOOL WINAPI NtUserGetDpiForMonitor( HMONITOR monitor, UINT type, UINT *x, UINT *y );
|
2022-02-17 15:43:07 +01:00
|
|
|
HWND WINAPI NtUserGetForegroundWindow(void);
|
2022-02-24 01:28:31 +01:00
|
|
|
BOOL WINAPI NtUserGetGUIThreadInfo( DWORD id, GUITHREADINFO *info );
|
2022-02-23 13:40:33 +01:00
|
|
|
BOOL WINAPI NtUserGetIconInfo( HICON icon, ICONINFO *info, UNICODE_STRING *module,
|
|
|
|
UNICODE_STRING *res_name, DWORD *bpp, LONG unk );
|
2022-02-23 13:39:47 +01:00
|
|
|
BOOL WINAPI NtUserGetIconSize( HICON handle, UINT step, LONG *width, LONG *height );
|
2021-11-16 12:32:55 +01:00
|
|
|
INT WINAPI NtUserGetKeyNameText( LONG lparam, WCHAR *buffer, INT size );
|
|
|
|
SHORT WINAPI NtUserGetKeyState( INT vkey );
|
|
|
|
HKL WINAPI NtUserGetKeyboardLayout( DWORD thread_id );
|
2021-11-17 12:46:39 +01:00
|
|
|
UINT WINAPI NtUserGetKeyboardLayoutList( INT size, HKL *layouts );
|
2021-12-03 12:56:05 +01:00
|
|
|
BOOL WINAPI NtUserGetKeyboardLayoutName( WCHAR *name );
|
2021-11-16 12:32:55 +01:00
|
|
|
BOOL WINAPI NtUserGetKeyboardState( BYTE *state );
|
2021-11-08 14:48:28 +01:00
|
|
|
BOOL WINAPI NtUserGetLayeredWindowAttributes( HWND hwnd, COLORREF *key, BYTE *alpha, DWORD *flags );
|
2022-03-31 15:37:04 +02:00
|
|
|
BOOL WINAPI NtUserGetMessage( MSG *msg, HWND hwnd, UINT first, UINT last );
|
2021-11-17 12:46:39 +01:00
|
|
|
int WINAPI NtUserGetMouseMovePointsEx( UINT size, MOUSEMOVEPOINT *ptin, MOUSEMOVEPOINT *ptout,
|
|
|
|
int count, DWORD resolution );
|
2021-10-13 14:55:30 +02:00
|
|
|
BOOL WINAPI NtUserGetObjectInformation( HANDLE handle, INT index, void *info,
|
|
|
|
DWORD len, DWORD *needed );
|
2021-11-16 12:36:26 +01:00
|
|
|
HWND WINAPI NtUserGetOpenClipboardWindow(void);
|
2021-11-12 12:55:06 +01:00
|
|
|
INT WINAPI NtUserGetPriorityClipboardFormat( UINT *list, INT count );
|
2021-10-13 14:52:53 +02:00
|
|
|
HWINSTA WINAPI NtUserGetProcessWindowStation(void);
|
2021-11-08 14:48:37 +01:00
|
|
|
HANDLE WINAPI NtUserGetProp( HWND hwnd, const WCHAR *str );
|
2021-12-06 03:08:21 +01:00
|
|
|
ULONG WINAPI NtUserGetProcessDpiAwarenessContext( HANDLE process );
|
2022-02-15 13:10:38 +01:00
|
|
|
DWORD WINAPI NtUserGetQueueStatus( UINT flags );
|
2021-12-06 03:08:45 +01:00
|
|
|
ULONG WINAPI NtUserGetSystemDpiForProcess( HANDLE process );
|
2021-10-13 14:54:00 +02:00
|
|
|
HDESK WINAPI NtUserGetThreadDesktop( DWORD thread );
|
2022-03-14 11:45:43 +01:00
|
|
|
INT WINAPI NtUserGetUpdateRgn( HWND hwnd, HRGN hrgn, BOOL erase );
|
2021-11-12 12:54:10 +01:00
|
|
|
BOOL WINAPI NtUserGetUpdatedClipboardFormats( UINT *formats, UINT size, UINT *out_size );
|
2022-03-15 14:28:20 +01:00
|
|
|
BOOL WINAPI NtUserGetUpdateRect( HWND hwnd, RECT *rect, BOOL erase );
|
2022-03-10 14:31:20 +01:00
|
|
|
int WINAPI NtUserGetWindowRgnEx( HWND hwnd, HRGN hrgn, UINT unk );
|
2022-03-04 14:27:58 +01:00
|
|
|
NTSTATUS WINAPI NtUserInitializeClientPfnArrays( const struct user_client_procs *client_procsA,
|
|
|
|
const struct user_client_procs *client_procsW,
|
|
|
|
const void *client_workers, HINSTANCE user_module );
|
2022-03-08 14:23:37 +01:00
|
|
|
INT WINAPI NtUserInternalGetWindowText( HWND hwnd, WCHAR *text, INT count );
|
2021-11-12 12:53:40 +01:00
|
|
|
BOOL WINAPI NtUserIsClipboardFormatAvailable( UINT format );
|
2022-03-16 15:36:30 +01:00
|
|
|
BOOL WINAPI NtUserKillTimer( HWND hwnd, UINT_PTR id );
|
2021-11-16 12:32:55 +01:00
|
|
|
UINT WINAPI NtUserMapVirtualKeyEx( UINT code, UINT type, HKL layout );
|
2022-04-04 16:57:23 +02:00
|
|
|
LRESULT WINAPI NtUserMessageCall( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam,
|
|
|
|
void *result_info, DWORD type, BOOL ansi );
|
2022-03-10 14:32:16 +01:00
|
|
|
BOOL WINAPI NtUserMoveWindow( HWND hwnd, INT x, INT y, INT cx, INT cy, BOOL repaint );
|
2022-04-01 14:45:57 +02:00
|
|
|
DWORD WINAPI NtUserMsgWaitForMultipleObjectsEx( DWORD count, const HANDLE *handles,
|
|
|
|
DWORD timeout, DWORD mask, DWORD flags );
|
2022-02-16 12:30:12 +01:00
|
|
|
void WINAPI NtUserNotifyWinEvent( DWORD event, HWND hwnd, LONG object_id, LONG child_id );
|
2021-10-14 15:20:56 +02:00
|
|
|
HWINSTA WINAPI NtUserOpenWindowStation( OBJECT_ATTRIBUTES *attr, ACCESS_MASK access );
|
2021-10-13 14:56:22 +02:00
|
|
|
BOOL WINAPI NtUserSetObjectInformation( HANDLE handle, INT index, void *info, DWORD len );
|
2021-10-14 15:21:33 +02:00
|
|
|
HDESK WINAPI NtUserOpenDesktop( OBJECT_ATTRIBUTES *attr, DWORD flags, ACCESS_MASK access );
|
2021-10-13 14:54:56 +02:00
|
|
|
HDESK WINAPI NtUserOpenInputDesktop( DWORD flags, BOOL inherit, ACCESS_MASK access );
|
2022-03-31 15:36:51 +02:00
|
|
|
BOOL WINAPI NtUserPeekMessage( MSG *msg_out, HWND hwnd, UINT first, UINT last, UINT flags );
|
2022-04-04 16:57:31 +02:00
|
|
|
BOOL WINAPI NtUserPostMessage( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam );
|
|
|
|
BOOL WINAPI NtUserPostThreadMessage( DWORD thread, UINT msg, WPARAM wparam, LPARAM lparam );
|
2022-03-14 11:45:30 +01:00
|
|
|
BOOL WINAPI NtUserRedrawWindow( HWND hwnd, const RECT *rect, HRGN hrgn, UINT flags );
|
2022-03-07 14:42:32 +01:00
|
|
|
ATOM WINAPI NtUserRegisterClassExWOW( const WNDCLASSEXW *wc, UNICODE_STRING *name, UNICODE_STRING *version,
|
|
|
|
struct client_menu_name *client_menu_name, DWORD fnid, DWORD flags,
|
|
|
|
DWORD *wow );
|
2022-02-24 01:27:57 +01:00
|
|
|
BOOL WINAPI NtUserRegisterHotKey( HWND hwnd, INT id, UINT modifiers, UINT vk );
|
2022-03-14 11:45:12 +01:00
|
|
|
INT WINAPI NtUserReleaseDC( HWND hwnd, HDC hdc );
|
2021-11-12 12:54:45 +01:00
|
|
|
BOOL WINAPI NtUserRemoveClipboardFormatListener( HWND hwnd );
|
2021-11-08 14:48:37 +01:00
|
|
|
HANDLE WINAPI NtUserRemoveProp( HWND hwnd, const WCHAR *str );
|
2021-11-17 12:49:37 +01:00
|
|
|
BOOL WINAPI NtUserScrollDC( HDC hdc, INT dx, INT dy, const RECT *scroll, const RECT *clip,
|
|
|
|
HRGN ret_update_rgn, RECT *update_rect );
|
2021-12-03 12:56:30 +01:00
|
|
|
HPALETTE WINAPI NtUserSelectPalette( HDC hdc, HPALETTE palette, WORD force_background );
|
2022-04-01 14:47:12 +02:00
|
|
|
UINT WINAPI NtUserSendInput( UINT count, INPUT *inputs, int size );
|
2022-03-11 14:21:31 +01:00
|
|
|
HWND WINAPI NtUserSetActiveWindow( HWND hwnd );
|
2022-03-11 14:22:19 +01:00
|
|
|
HWND WINAPI NtUserSetCapture( HWND hwnd );
|
2022-03-07 14:42:47 +01:00
|
|
|
DWORD WINAPI NtUserSetClassLong( HWND hwnd, INT offset, LONG newval, BOOL ansi );
|
|
|
|
ULONG_PTR WINAPI NtUserSetClassLongPtr( HWND hwnd, INT offset, LONG_PTR newval, BOOL ansi );
|
|
|
|
WORD WINAPI NtUserSetClassWord( HWND hwnd, INT offset, WORD newval );
|
2022-02-23 13:39:35 +01:00
|
|
|
HCURSOR WINAPI NtUserSetCursor( HCURSOR cursor );
|
2022-02-22 13:41:40 +01:00
|
|
|
BOOL WINAPI NtUserSetCursorIconData( HCURSOR cursor, UNICODE_STRING *module, UNICODE_STRING *res_name,
|
|
|
|
struct cursoricon_desc *desc );
|
2022-02-14 14:07:53 +01:00
|
|
|
BOOL WINAPI NtUserSetCursorPos( INT x, INT y );
|
2022-03-11 14:21:45 +01:00
|
|
|
HWND WINAPI NtUserSetFocus( HWND hwnd );
|
2021-11-16 12:32:55 +01:00
|
|
|
BOOL WINAPI NtUserSetKeyboardState( BYTE *state );
|
2022-03-10 14:33:11 +01:00
|
|
|
BOOL WINAPI NtUserSetLayeredWindowAttributes( HWND hwnd, COLORREF key, BYTE alpha, DWORD flags );
|
2022-03-15 14:27:55 +01:00
|
|
|
HWND WINAPI NtUserSetParent( HWND hwnd, HWND parent );
|
2021-12-06 03:08:21 +01:00
|
|
|
BOOL WINAPI NtUserSetProcessDpiAwarenessContext( ULONG awareness, ULONG unknown );
|
2021-10-13 14:53:22 +02:00
|
|
|
BOOL WINAPI NtUserSetProcessWindowStation( HWINSTA handle );
|
2021-11-08 14:48:37 +01:00
|
|
|
BOOL WINAPI NtUserSetProp( HWND hwnd, const WCHAR *str, HANDLE handle );
|
2021-12-06 03:15:59 +01:00
|
|
|
BOOL WINAPI NtUserSetSysColors( INT count, const INT *colors, const COLORREF *values );
|
2022-03-18 14:27:55 +01:00
|
|
|
BOOL WINAPI NtUserSetSystemMenu( HWND hwnd, HMENU menu );
|
2022-03-16 15:36:18 +01:00
|
|
|
UINT_PTR WINAPI NtUserSetSystemTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC proc );
|
2021-10-13 14:54:21 +02:00
|
|
|
BOOL WINAPI NtUserSetThreadDesktop( HDESK handle );
|
2022-03-16 15:35:55 +01:00
|
|
|
UINT_PTR WINAPI NtUserSetTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC proc, ULONG tolerance );
|
2022-03-16 15:35:25 +01:00
|
|
|
LONG WINAPI NtUserSetWindowLong( HWND hwnd, INT offset, LONG newval, BOOL ansi );
|
|
|
|
LONG_PTR WINAPI NtUserSetWindowLongPtr( HWND hwnd, INT offset, LONG_PTR newval, BOOL ansi );
|
2022-03-10 14:31:41 +01:00
|
|
|
BOOL WINAPI NtUserSetWindowPos( HWND hwnd, HWND after, INT x, INT y, INT cx, INT cy, UINT flags );
|
|
|
|
int WINAPI NtUserSetWindowRgn( HWND hwnd, HRGN hrgn, BOOL redraw );
|
2022-03-16 15:35:25 +01:00
|
|
|
WORD WINAPI NtUserSetWindowWord( HWND hwnd, INT offset, WORD newval );
|
2022-02-16 12:30:44 +01:00
|
|
|
HHOOK WINAPI NtUserSetWindowsHookEx( HINSTANCE inst, UNICODE_STRING *module, DWORD tid, INT id,
|
|
|
|
HOOKPROC proc, BOOL ansi );
|
2022-02-16 12:29:56 +01:00
|
|
|
HWINEVENTHOOK WINAPI NtUserSetWinEventHook( DWORD event_min, DWORD event_max, HMODULE inst,
|
|
|
|
UNICODE_STRING *module, WINEVENTPROC proc,
|
|
|
|
DWORD pid, DWORD tid, DWORD flags );
|
2021-11-17 12:46:39 +01:00
|
|
|
INT WINAPI NtUserShowCursor( BOOL show );
|
2022-03-15 14:27:55 +01:00
|
|
|
BOOL WINAPI NtUserShowWindow( HWND hwnd, INT cmd );
|
2022-03-17 16:29:32 +01:00
|
|
|
BOOL WINAPI NtUserShowWindowAsync( HWND hwnd, INT cmd );
|
2021-12-06 03:15:59 +01:00
|
|
|
BOOL WINAPI NtUserSystemParametersInfo( UINT action, UINT val, void *ptr, UINT winini );
|
|
|
|
BOOL WINAPI NtUserSystemParametersInfoForDpi( UINT action, UINT val, PVOID ptr, UINT winini, UINT dpi );
|
2021-11-17 12:46:39 +01:00
|
|
|
INT WINAPI NtUserToUnicodeEx( UINT virt, UINT scan, const BYTE *state,
|
|
|
|
WCHAR *str, int size, UINT flags, HKL layout );
|
2022-02-16 12:29:43 +01:00
|
|
|
BOOL WINAPI NtUserUnhookWinEvent( HWINEVENTHOOK hEventHook );
|
2022-02-16 12:31:04 +01:00
|
|
|
BOOL WINAPI NtUserUnhookWindowsHookEx( HHOOK handle );
|
2022-03-07 14:42:32 +01:00
|
|
|
BOOL WINAPI NtUserUnregisterClass( UNICODE_STRING *name, HINSTANCE instance,
|
|
|
|
struct client_menu_name *client_menu_name );
|
2021-11-17 12:46:39 +01:00
|
|
|
BOOL WINAPI NtUserUnregisterHotKey( HWND hwnd, INT id );
|
2022-03-10 14:33:27 +01:00
|
|
|
BOOL WINAPI NtUserUpdateLayeredWindow( HWND hwnd, HDC hdc_dst, const POINT *pts_dst, const SIZE *size,
|
|
|
|
HDC hdc_src, const POINT *pts_src, COLORREF key,
|
|
|
|
const BLENDFUNCTION *blend, DWORD flags, const RECT *dirty );
|
2021-11-16 12:32:55 +01:00
|
|
|
WORD WINAPI NtUserVkKeyScanEx( WCHAR chr, HKL layout );
|
2022-03-09 15:20:25 +01:00
|
|
|
DWORD WINAPI NtUserWaitForInputIdle( HANDLE process, DWORD timeout, BOOL wow );
|
2022-03-14 11:43:32 +01:00
|
|
|
HWND WINAPI NtUserWindowFromDC( HDC hdc );
|
2022-03-10 14:31:55 +01:00
|
|
|
HWND WINAPI NtUserWindowFromPoint( LONG x, LONG y );
|
2021-10-12 16:42:35 +02:00
|
|
|
|
|
|
|
#endif /* _NTUSER_ */
|