2 * WoW64 USER32 syscall definitions
4 * Copyright 2021 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WOW64WIN_SYSCALL_H
22 #define __WOW64WIN_SYSCALL_H
24 #define ALL_WIN32_SYSCALLS \
25 SYSCALL_ENTRY( NtGdiAddFontMemResourceEx ) \
26 SYSCALL_ENTRY( NtGdiAddFontResourceW ) \
27 SYSCALL_ENTRY( NtGdiCombineRgn ) \
28 SYSCALL_ENTRY( NtGdiCreateBitmap ) \
29 SYSCALL_ENTRY( NtGdiCreateClientObj ) \
30 SYSCALL_ENTRY( NtGdiCreateDIBBrush ) \
31 SYSCALL_ENTRY( NtGdiCreateDIBSection ) \
32 SYSCALL_ENTRY( NtGdiCreateEllipticRgn ) \
33 SYSCALL_ENTRY( NtGdiCreateHalftonePalette ) \
34 SYSCALL_ENTRY( NtGdiCreateHatchBrushInternal ) \
35 SYSCALL_ENTRY( NtGdiCreatePaletteInternal ) \
36 SYSCALL_ENTRY( NtGdiCreatePatternBrushInternal ) \
37 SYSCALL_ENTRY( NtGdiCreatePen ) \
38 SYSCALL_ENTRY( NtGdiCreateRectRgn ) \
39 SYSCALL_ENTRY( NtGdiCreateRoundRectRgn ) \
40 SYSCALL_ENTRY( NtGdiCreateSolidBrush ) \
41 SYSCALL_ENTRY( NtGdiDdDDICreateDevice ) \
42 SYSCALL_ENTRY( NtGdiDdDDIOpenAdapterFromHdc ) \
43 SYSCALL_ENTRY( NtGdiDdDDIQueryStatistics ) \
44 SYSCALL_ENTRY( NtGdiDdDDISetQueuedLimit ) \
45 SYSCALL_ENTRY( NtGdiDeleteClientObj ) \
46 SYSCALL_ENTRY( NtGdiDescribePixelFormat ) \
47 SYSCALL_ENTRY( NtGdiDrawStream ) \
48 SYSCALL_ENTRY( NtGdiEqualRgn ) \
49 SYSCALL_ENTRY( NtGdiExtCreatePen ) \
50 SYSCALL_ENTRY( NtGdiExtCreateRegion ) \
51 SYSCALL_ENTRY( NtGdiExtGetObjectW ) \
52 SYSCALL_ENTRY( NtGdiFlattenPath ) \
53 SYSCALL_ENTRY( NtGdiFlush ) \
54 SYSCALL_ENTRY( NtGdiGetBitmapBits ) \
55 SYSCALL_ENTRY( NtGdiGetBitmapDimension ) \
56 SYSCALL_ENTRY( NtGdiGetColorAdjustment ) \
57 SYSCALL_ENTRY( NtGdiGetDCDword ) \
58 SYSCALL_ENTRY( NtGdiGetDCObject ) \
59 SYSCALL_ENTRY( NtGdiGetDCPoint ) \
60 SYSCALL_ENTRY( NtGdiGetFontFileData ) \
61 SYSCALL_ENTRY( NtGdiGetFontFileInfo ) \
62 SYSCALL_ENTRY( NtGdiGetNearestPaletteIndex ) \
63 SYSCALL_ENTRY( NtGdiGetPath ) \
64 SYSCALL_ENTRY( NtGdiGetRegionData ) \
65 SYSCALL_ENTRY( NtGdiGetRgnBox ) \
66 SYSCALL_ENTRY( NtGdiGetSpoolMessage ) \
67 SYSCALL_ENTRY( NtGdiGetSystemPaletteUse ) \
68 SYSCALL_ENTRY( NtGdiGetTransform ) \
69 SYSCALL_ENTRY( NtGdiHfontCreate ) \
70 SYSCALL_ENTRY( NtGdiInitSpool ) \
71 SYSCALL_ENTRY( NtGdiOffsetRgn ) \
72 SYSCALL_ENTRY( NtGdiPathToRegion ) \
73 SYSCALL_ENTRY( NtGdiPtInRegion ) \
74 SYSCALL_ENTRY( NtGdiRectInRegion ) \
75 SYSCALL_ENTRY( NtGdiRemoveFontMemResourceEx ) \
76 SYSCALL_ENTRY( NtGdiRemoveFontResourceW ) \
77 SYSCALL_ENTRY( NtGdiSaveDC ) \
78 SYSCALL_ENTRY( NtGdiSetBitmapBits ) \
79 SYSCALL_ENTRY( NtGdiSetBitmapDimension ) \
80 SYSCALL_ENTRY( NtGdiSetBrushOrg ) \
81 SYSCALL_ENTRY( NtGdiSetColorAdjustment ) \
82 SYSCALL_ENTRY( NtGdiSetMagicColors ) \
83 SYSCALL_ENTRY( NtGdiSetMetaRgn ) \
84 SYSCALL_ENTRY( NtGdiSetPixelFormat ) \
85 SYSCALL_ENTRY( NtGdiSetRectRgn ) \
86 SYSCALL_ENTRY( NtGdiSetTextJustification ) \
87 SYSCALL_ENTRY( NtGdiSetVirtualResolution ) \
88 SYSCALL_ENTRY( NtGdiSwapBuffers ) \
89 SYSCALL_ENTRY( NtGdiTransformPoints ) \
90 SYSCALL_ENTRY( NtUserActivateKeyboardLayout ) \
91 SYSCALL_ENTRY( NtUserAddClipboardFormatListener ) \
92 SYSCALL_ENTRY( NtUserAssociateInputContext ) \
93 SYSCALL_ENTRY( NtUserAttachThreadInput ) \
94 SYSCALL_ENTRY( NtUserBeginPaint ) \
95 SYSCALL_ENTRY( NtUserBuildHwndList ) \
96 SYSCALL_ENTRY( NtUserCallHwnd ) \
97 SYSCALL_ENTRY( NtUserCallHwndParam ) \
98 SYSCALL_ENTRY( NtUserCallMsgFilter ) \
99 SYSCALL_ENTRY( NtUserCallNextHookEx ) \
100 SYSCALL_ENTRY( NtUserCallNoParam ) \
101 SYSCALL_ENTRY( NtUserCallOneParam ) \
102 SYSCALL_ENTRY( NtUserCallTwoParam ) \
103 SYSCALL_ENTRY( NtUserChangeClipboardChain ) \
104 SYSCALL_ENTRY( NtUserChangeDisplaySettings ) \
105 SYSCALL_ENTRY( NtUserCheckMenuItem ) \
106 SYSCALL_ENTRY( NtUserChildWindowFromPointEx ) \
107 SYSCALL_ENTRY( NtUserClipCursor ) \
108 SYSCALL_ENTRY( NtUserCloseClipboard ) \
109 SYSCALL_ENTRY( NtUserCloseDesktop ) \
110 SYSCALL_ENTRY( NtUserCloseWindowStation ) \
111 SYSCALL_ENTRY( NtUserCopyAcceleratorTable ) \
112 SYSCALL_ENTRY( NtUserCountClipboardFormats ) \
113 SYSCALL_ENTRY( NtUserCreateAcceleratorTable ) \
114 SYSCALL_ENTRY( NtUserCreateCaret ) \
115 SYSCALL_ENTRY( NtUserCreateDesktopEx ) \
116 SYSCALL_ENTRY( NtUserCreateInputContext ) \
117 SYSCALL_ENTRY( NtUserCreateWindowEx ) \
118 SYSCALL_ENTRY( NtUserCreateWindowStation ) \
119 SYSCALL_ENTRY( NtUserDeferWindowPosAndBand ) \
120 SYSCALL_ENTRY( NtUserDeleteMenu ) \
121 SYSCALL_ENTRY( NtUserDestroyAcceleratorTable ) \
122 SYSCALL_ENTRY( NtUserDestroyCursor ) \
123 SYSCALL_ENTRY( NtUserDestroyInputContext ) \
124 SYSCALL_ENTRY( NtUserDestroyMenu ) \
125 SYSCALL_ENTRY( NtUserDestroyWindow ) \
126 SYSCALL_ENTRY( NtUserDisableThreadIme ) \
127 SYSCALL_ENTRY( NtUserDispatchMessage ) \
128 SYSCALL_ENTRY( NtUserDisplayConfigGetDeviceInfo ) \
129 SYSCALL_ENTRY( NtUserDragDetect ) \
130 SYSCALL_ENTRY( NtUserDragObject ) \
131 SYSCALL_ENTRY( NtUserDrawIconEx ) \
132 SYSCALL_ENTRY( NtUserEmptyClipboard ) \
133 SYSCALL_ENTRY( NtUserEnableMenuItem ) \
134 SYSCALL_ENTRY( NtUserEnableScrollBar ) \
135 SYSCALL_ENTRY( NtUserEndDeferWindowPosEx ) \
136 SYSCALL_ENTRY( NtUserEndMenu ) \
137 SYSCALL_ENTRY( NtUserEnumDisplayDevices ) \
138 SYSCALL_ENTRY( NtUserEnumDisplayMonitors ) \
139 SYSCALL_ENTRY( NtUserEnumDisplaySettings ) \
140 SYSCALL_ENTRY( NtUserFindExistingCursorIcon ) \
141 SYSCALL_ENTRY( NtUserFindWindowEx ) \
142 SYSCALL_ENTRY( NtUserFlashWindowEx ) \
143 SYSCALL_ENTRY( NtUserGetAncestor ) \
144 SYSCALL_ENTRY( NtUserGetAsyncKeyState ) \
145 SYSCALL_ENTRY( NtUserGetAtomName ) \
146 SYSCALL_ENTRY( NtUserGetCaretBlinkTime ) \
147 SYSCALL_ENTRY( NtUserGetCaretPos ) \
148 SYSCALL_ENTRY( NtUserGetClassInfoEx ) \
149 SYSCALL_ENTRY( NtUserGetClassName ) \
150 SYSCALL_ENTRY( NtUserGetClipboardData ) \
151 SYSCALL_ENTRY( NtUserGetClipboardFormatName ) \
152 SYSCALL_ENTRY( NtUserGetClipboardOwner ) \
153 SYSCALL_ENTRY( NtUserGetClipboardSequenceNumber ) \
154 SYSCALL_ENTRY( NtUserGetClipboardViewer ) \
155 SYSCALL_ENTRY( NtUserGetCursor ) \
156 SYSCALL_ENTRY( NtUserGetCursorFrameInfo ) \
157 SYSCALL_ENTRY( NtUserGetCursorInfo ) \
158 SYSCALL_ENTRY( NtUserGetDC ) \
159 SYSCALL_ENTRY( NtUserGetDCEx ) \
160 SYSCALL_ENTRY( NtUserGetDisplayConfigBufferSizes ) \
161 SYSCALL_ENTRY( NtUserGetDoubleClickTime ) \
162 SYSCALL_ENTRY( NtUserGetDpiForMonitor ) \
163 SYSCALL_ENTRY( NtUserGetForegroundWindow ) \
164 SYSCALL_ENTRY( NtUserGetGUIThreadInfo ) \
165 SYSCALL_ENTRY( NtUserGetIconInfo ) \
166 SYSCALL_ENTRY( NtUserGetIconSize ) \
167 SYSCALL_ENTRY( NtUserGetKeyNameText ) \
168 SYSCALL_ENTRY( NtUserGetKeyState ) \
169 SYSCALL_ENTRY( NtUserGetKeyboardLayout ) \
170 SYSCALL_ENTRY( NtUserGetKeyboardLayoutList ) \
171 SYSCALL_ENTRY( NtUserGetKeyboardLayoutName ) \
172 SYSCALL_ENTRY( NtUserGetKeyboardState ) \
173 SYSCALL_ENTRY( NtUserGetLayeredWindowAttributes ) \
174 SYSCALL_ENTRY( NtUserGetMenuBarInfo ) \
175 SYSCALL_ENTRY( NtUserGetMenuItemRect ) \
176 SYSCALL_ENTRY( NtUserGetMessage ) \
177 SYSCALL_ENTRY( NtUserGetMouseMovePointsEx ) \
178 SYSCALL_ENTRY( NtUserGetObjectInformation ) \
179 SYSCALL_ENTRY( NtUserGetOpenClipboardWindow ) \
180 SYSCALL_ENTRY( NtUserGetPriorityClipboardFormat ) \
181 SYSCALL_ENTRY( NtUserGetProcessDpiAwarenessContext ) \
182 SYSCALL_ENTRY( NtUserGetProcessWindowStation ) \
183 SYSCALL_ENTRY( NtUserGetProp ) \
184 SYSCALL_ENTRY( NtUserGetQueueStatus ) \
185 SYSCALL_ENTRY( NtUserGetRawInputBuffer ) \
186 SYSCALL_ENTRY( NtUserGetRawInputData ) \
187 SYSCALL_ENTRY( NtUserGetRawInputDeviceInfo ) \
188 SYSCALL_ENTRY( NtUserGetRawInputDeviceList ) \
189 SYSCALL_ENTRY( NtUserGetRegisteredRawInputDevices ) \
190 SYSCALL_ENTRY( NtUserGetScrollBarInfo ) \
191 SYSCALL_ENTRY( NtUserGetSystemDpiForProcess ) \
192 SYSCALL_ENTRY( NtUserGetSystemMenu ) \
193 SYSCALL_ENTRY( NtUserGetThreadDesktop ) \
194 SYSCALL_ENTRY( NtUserGetTitleBarInfo ) \
195 SYSCALL_ENTRY( NtUserGetUpdateRect ) \
196 SYSCALL_ENTRY( NtUserGetUpdateRgn ) \
197 SYSCALL_ENTRY( NtUserGetUpdatedClipboardFormats ) \
198 SYSCALL_ENTRY( NtUserGetWindowDC ) \
199 SYSCALL_ENTRY( NtUserGetWindowPlacement ) \
200 SYSCALL_ENTRY( NtUserGetWindowRgnEx ) \
201 SYSCALL_ENTRY( NtUserHideCaret ) \
202 SYSCALL_ENTRY( NtUserHiliteMenuItem ) \
203 SYSCALL_ENTRY( NtUserInitializeClientPfnArrays ) \
204 SYSCALL_ENTRY( NtUserInternalGetWindowIcon ) \
205 SYSCALL_ENTRY( NtUserInternalGetWindowText ) \
206 SYSCALL_ENTRY( NtUserInvalidateRect ) \
207 SYSCALL_ENTRY( NtUserInvalidateRgn ) \
208 SYSCALL_ENTRY( NtUserIsClipboardFormatAvailable ) \
209 SYSCALL_ENTRY( NtUserKillTimer ) \
210 SYSCALL_ENTRY( NtUserLockWindowUpdate ) \
211 SYSCALL_ENTRY( NtUserLogicalToPerMonitorDPIPhysicalPoint ) \
212 SYSCALL_ENTRY( NtUserMapVirtualKeyEx ) \
213 SYSCALL_ENTRY( NtUserMenuItemFromPoint ) \
214 SYSCALL_ENTRY( NtUserMessageCall ) \
215 SYSCALL_ENTRY( NtUserMoveWindow ) \
216 SYSCALL_ENTRY( NtUserMsgWaitForMultipleObjectsEx ) \
217 SYSCALL_ENTRY( NtUserNotifyWinEvent ) \
218 SYSCALL_ENTRY( NtUserOpenClipboard ) \
219 SYSCALL_ENTRY( NtUserOpenDesktop ) \
220 SYSCALL_ENTRY( NtUserOpenInputDesktop ) \
221 SYSCALL_ENTRY( NtUserOpenWindowStation ) \
222 SYSCALL_ENTRY( NtUserPeekMessage ) \
223 SYSCALL_ENTRY( NtUserPerMonitorDPIPhysicalToLogicalPoint ) \
224 SYSCALL_ENTRY( NtUserPostMessage ) \
225 SYSCALL_ENTRY( NtUserPostThreadMessage ) \
226 SYSCALL_ENTRY( NtUserPrintWindow ) \
227 SYSCALL_ENTRY( NtUserQueryInputContext ) \
228 SYSCALL_ENTRY( NtUserRealChildWindowFromPoint ) \
229 SYSCALL_ENTRY( NtUserRedrawWindow ) \
230 SYSCALL_ENTRY( NtUserRegisterClassExWOW ) \
231 SYSCALL_ENTRY( NtUserRegisterHotKey ) \
232 SYSCALL_ENTRY( NtUserRegisterRawInputDevices ) \
233 SYSCALL_ENTRY( NtUserRemoveClipboardFormatListener ) \
234 SYSCALL_ENTRY( NtUserRemoveMenu ) \
235 SYSCALL_ENTRY( NtUserRemoveProp ) \
236 SYSCALL_ENTRY( NtUserScrollWindowEx ) \
237 SYSCALL_ENTRY( NtUserSendInput ) \
238 SYSCALL_ENTRY( NtUserSetActiveWindow ) \
239 SYSCALL_ENTRY( NtUserSetCapture ) \
240 SYSCALL_ENTRY( NtUserSetClassLong ) \
241 SYSCALL_ENTRY( NtUserSetClassLongPtr ) \
242 SYSCALL_ENTRY( NtUserSetClassWord ) \
243 SYSCALL_ENTRY( NtUserSetClipboardData ) \
244 SYSCALL_ENTRY( NtUserSetClipboardViewer ) \
245 SYSCALL_ENTRY( NtUserSetCursor ) \
246 SYSCALL_ENTRY( NtUserSetCursorIconData ) \
247 SYSCALL_ENTRY( NtUserSetCursorPos ) \
248 SYSCALL_ENTRY( NtUserSetFocus ) \
249 SYSCALL_ENTRY( NtUserSetInternalWindowPos ) \
250 SYSCALL_ENTRY( NtUserSetKeyboardState ) \
251 SYSCALL_ENTRY( NtUserSetLayeredWindowAttributes ) \
252 SYSCALL_ENTRY( NtUserSetMenu ) \
253 SYSCALL_ENTRY( NtUserSetMenuContextHelpId ) \
254 SYSCALL_ENTRY( NtUserSetMenuDefaultItem ) \
255 SYSCALL_ENTRY( NtUserSetObjectInformation ) \
256 SYSCALL_ENTRY( NtUserSetParent ) \
257 SYSCALL_ENTRY( NtUserSetProcessDpiAwarenessContext ) \
258 SYSCALL_ENTRY( NtUserSetProcessWindowStation ) \
259 SYSCALL_ENTRY( NtUserSetProp ) \
260 SYSCALL_ENTRY( NtUserSetScrollInfo ) \
261 SYSCALL_ENTRY( NtUserSetSysColors ) \
262 SYSCALL_ENTRY( NtUserSetSystemMenu ) \
263 SYSCALL_ENTRY( NtUserSetSystemTimer ) \
264 SYSCALL_ENTRY( NtUserSetThreadDesktop ) \
265 SYSCALL_ENTRY( NtUserSetTimer ) \
266 SYSCALL_ENTRY( NtUserSetWinEventHook ) \
267 SYSCALL_ENTRY( NtUserSetWindowLong ) \
268 SYSCALL_ENTRY( NtUserSetWindowLongPtr ) \
269 SYSCALL_ENTRY( NtUserSetWindowPlacement ) \
270 SYSCALL_ENTRY( NtUserSetWindowPos ) \
271 SYSCALL_ENTRY( NtUserSetWindowRgn ) \
272 SYSCALL_ENTRY( NtUserSetWindowWord ) \
273 SYSCALL_ENTRY( NtUserSetWindowsHookEx ) \
274 SYSCALL_ENTRY( NtUserShowCaret ) \
275 SYSCALL_ENTRY( NtUserShowCursor ) \
276 SYSCALL_ENTRY( NtUserShowScrollBar ) \
277 SYSCALL_ENTRY( NtUserShowWindow ) \
278 SYSCALL_ENTRY( NtUserShowWindowAsync ) \
279 SYSCALL_ENTRY( NtUserSystemParametersInfo ) \
280 SYSCALL_ENTRY( NtUserSystemParametersInfoForDpi ) \
281 SYSCALL_ENTRY( NtUserThunkedMenuInfo ) \
282 SYSCALL_ENTRY( NtUserThunkedMenuItemInfo ) \
283 SYSCALL_ENTRY( NtUserToUnicodeEx ) \
284 SYSCALL_ENTRY( NtUserTrackMouseEvent ) \
285 SYSCALL_ENTRY( NtUserTrackPopupMenuEx ) \
286 SYSCALL_ENTRY( NtUserTranslateAccelerator ) \
287 SYSCALL_ENTRY( NtUserTranslateMessage ) \
288 SYSCALL_ENTRY( NtUserUnhookWinEvent ) \
289 SYSCALL_ENTRY( NtUserUnhookWindowsHookEx ) \
290 SYSCALL_ENTRY( NtUserUnregisterClass ) \
291 SYSCALL_ENTRY( NtUserUnregisterHotKey ) \
292 SYSCALL_ENTRY( NtUserUpdateInputContext ) \
293 SYSCALL_ENTRY( NtUserValidateRect ) \
294 SYSCALL_ENTRY( NtUserVkKeyScanEx ) \
295 SYSCALL_ENTRY( NtUserWaitForInputIdle ) \
296 SYSCALL_ENTRY( NtUserWindowFromDC ) \
297 SYSCALL_ENTRY( NtUserWindowFromPoint )
299 #endif /* __WOW64WIN_SYSCALL_H */