1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # This file is used to create a custom import library for Chrome's use of
6 # user32.dll exports. The set of exports defined below
11 'dll_name': 'user32.dll',
13 # Name of the generated import library.
14 'importlib_name': 'user32.winxp.lib',
16 # This is the set of exports observed on a user32.dll from Windows XP SP2.
17 # The version of the DLL where these were observed is 5.1.2600.2180.
18 # Incidentally this set of exports also coincides with Windows XP SP3, where
19 # the version of the DLL is 5.1.2600.5512.
20 # Don't add new imports here unless and until the minimal supported
21 # Windows version has been bumped past Windows XP SP2+.
23 'ActivateKeyboardLayout@8',
24 'AdjustWindowRect@12',
25 'AdjustWindowRectEx@16',
26 'AllowSetForegroundWindow@4',
31 'ArrangeIconicWindows@4',
32 'AttachThreadInput@12',
33 'BeginDeferWindowPos@4',
37 'BroadcastSystemMessage@20',
38 'BroadcastSystemMessageA@20',
39 'BroadcastSystemMessageExA@24',
40 'BroadcastSystemMessageExW@24',
41 'BroadcastSystemMessageW@20',
48 'CascadeChildWindows@8',
50 'ChangeClipboardChain@8',
51 'ChangeDisplaySettingsA@8',
52 'ChangeDisplaySettingsExA@20',
53 'ChangeDisplaySettingsExW@20',
54 'ChangeDisplaySettingsW@8',
77 'CheckMenuRadioItem@20',
78 'CheckRadioButton@16',
79 'ChildWindowFromPoint@12',
80 'ChildWindowFromPointEx@16',
86 'CloseWindowStation@4',
87 'CopyAcceleratorTableA@12',
88 'CopyAcceleratorTableW@12',
92 'CountClipboardFormats@0',
93 'CreateAcceleratorTableA@8',
94 'CreateAcceleratorTableW@8',
99 'CreateDialogIndirectParamA@20',
100 'CreateDialogIndirectParamW@20',
101 'CreateDialogParamA@20',
102 'CreateDialogParamW@20',
104 'CreateIconFromResource@16',
105 'CreateIconFromResourceEx@28',
106 'CreateIconIndirect@4',
107 'CreateMDIWindowA@40',
108 'CreateMDIWindowW@40',
111 'CreateWindowExA@48',
112 'CreateWindowExW@48',
113 'CreateWindowStationA@16',
114 'CreateWindowStationW@16',
115 'DdeAbandonTransaction@12',
118 'DdeClientTransaction@32',
119 'DdeCmpStringHandles@8',
122 'DdeCreateDataHandle@28',
123 'DdeCreateStringHandleA@12',
124 'DdeCreateStringHandleW@12',
126 'DdeDisconnectList@4',
127 'DdeEnableCallback@12',
128 'DdeFreeDataHandle@4',
129 'DdeFreeStringHandle@8',
132 'DdeImpersonateClient@4',
135 'DdeKeepStringHandle@8',
138 'DdeQueryConvInfo@12',
139 'DdeQueryNextServer@8',
140 'DdeQueryStringA@20',
141 'DdeQueryStringW@20',
143 'DdeSetQualityOfService@12',
144 'DdeSetUserHandle@12',
151 'DefMDIChildProcA@16',
152 'DefMDIChildProcW@16',
153 'DefRawInputProc@12',
158 'DeregisterShellHookWindow@4',
159 'DestroyAcceleratorTable@4',
165 'DialogBoxIndirectParamA@20',
166 'DialogBoxIndirectParamW@20',
167 'DialogBoxParamA@20',
168 'DialogBoxParamW@20',
169 'DisableProcessWindowsGhosting@0',
170 'DispatchMessageA@4',
171 'DispatchMessageW@4',
173 'DlgDirListComboBoxA@20',
174 'DlgDirListComboBoxW@20',
176 'DlgDirSelectComboBoxExA@16',
177 'DlgDirSelectComboBoxExW@16',
178 'DlgDirSelectExA@16',
179 'DlgDirSelectExW@16',
182 'DrawAnimatedRects@16',
187 'DrawFrameControl@16',
200 'EnableScrollBar@12',
202 'EndDeferWindowPos@4',
207 'EnumChildWindows@12',
208 'EnumClipboardFormats@4',
209 'EnumDesktopWindows@12',
212 'EnumDisplayDevicesA@16',
213 'EnumDisplayDevicesW@16',
214 'EnumDisplayMonitors@16',
215 'EnumDisplaySettingsA@12',
216 'EnumDisplaySettingsExA@16',
217 'EnumDisplaySettingsExW@16',
218 'EnumDisplaySettingsW@12',
223 'EnumThreadWindows@12',
224 'EnumWindowStationsA@8',
225 'EnumWindowStationsW@8',
228 'ExcludeUpdateRgn@8',
244 'GetAsyncKeyState@4',
246 'GetCaretBlinkTime@0',
249 'GetClassInfoExA@12',
250 'GetClassInfoExW@12',
259 'GetClipboardData@4',
260 'GetClipboardFormatNameA@12',
261 'GetClipboardFormatNameW@12',
262 'GetClipboardOwner@0',
263 'GetClipboardSequenceNumber@0',
264 'GetClipboardViewer@0',
271 'GetDesktopWindow@0',
272 'GetDialogBaseUnits@0',
276 'GetDlgItemTextA@16',
277 'GetDlgItemTextW@16',
278 'GetDoubleClickTime@0',
280 'GetForegroundWindow@0',
281 'GetGUIThreadInfo@8',
287 'GetKeyNameTextA@12',
288 'GetKeyNameTextW@12',
290 'GetKeyboardLayout@4',
291 'GetKeyboardLayoutList@8',
292 'GetKeyboardLayoutNameA@4',
293 'GetKeyboardLayoutNameW@4',
294 'GetKeyboardState@4',
296 'GetLastActivePopup@4',
297 'GetLastInputInfo@4',
298 'GetLayeredWindowAttributes@16',
302 'GetMenuCheckMarkDimensions@0',
303 'GetMenuContextHelpId@4',
304 'GetMenuDefaultItem@12',
306 'GetMenuItemCount@4',
308 'GetMenuItemInfoA@16',
309 'GetMenuItemInfoW@16',
310 'GetMenuItemRect@16',
315 'GetMessageExtraInfo@0',
321 'GetMouseMovePointsEx@20',
322 'GetNextDlgGroupItem@12',
323 'GetNextDlgTabItem@12',
324 'GetOpenClipboardWindow@0',
326 'GetPriorityClipboardFormat@8',
327 'GetProcessDefaultLayout@4',
328 'GetProcessWindowStation@0',
332 'GetRawInputBuffer@12',
333 'GetRawInputData@20',
334 'GetRawInputDeviceInfoA@16',
335 'GetRawInputDeviceInfoW@16',
336 'GetRawInputDeviceList@12',
337 'GetRegisteredRawInputDevices@12',
338 'GetScrollBarInfo@12',
345 'GetSysColorBrush@4',
347 'GetSystemMetrics@4',
348 'GetTabbedTextExtentA@20',
349 'GetTabbedTextExtentW@20',
350 'GetThreadDesktop@4',
355 'GetUserObjectInformationA@20',
356 'GetUserObjectInformationW@20',
357 'GetUserObjectSecurity@20',
359 'GetWindowContextHelpId@4',
364 'GetWindowModuleFileName@12',
365 'GetWindowModuleFileNameA@12',
366 'GetWindowModuleFileNameW@12',
367 'GetWindowPlacement@8',
372 'GetWindowTextLengthA@4',
373 'GetWindowTextLengthW@4',
375 'GetWindowThreadProcessId@8',
387 'ImpersonateDdeClientWindow@8',
392 'InsertMenuItemA@16',
393 'InsertMenuItemW@16',
395 'InternalGetWindowText@12',
401 'IsCharAlphaNumericA@4',
402 'IsCharAlphaNumericW@4',
409 'IsClipboardFormatAvailable@4',
411 'IsDialogMessageA@8',
412 'IsDialogMessageW@8',
413 'IsDlgButtonChecked@8',
419 'IsWinEventHookInstalled@4',
426 'LoadAcceleratorsA@8',
427 'LoadAcceleratorsW@8',
431 'LoadCursorFromFileA@4',
432 'LoadCursorFromFileW@4',
438 'LoadKeyboardLayoutA@8',
439 'LoadKeyboardLayoutW@8',
441 'LoadMenuIndirectA@4',
442 'LoadMenuIndirectW@4',
446 'LockSetForegroundWindow@4',
447 'LockWindowUpdate@4',
449 'LookupIconIdFromDirectory@8',
450 'LookupIconIdFromDirectoryEx@20',
453 'MapVirtualKeyExA@12',
454 'MapVirtualKeyExW@12',
456 'MapWindowPoints@16',
457 'MenuItemFromPoint@16',
462 'MessageBoxIndirectA@4',
463 'MessageBoxIndirectW@4',
464 'MessageBoxTimeoutA@24',
465 'MessageBoxTimeoutW@24',
469 'MonitorFromPoint@12',
471 'MonitorFromWindow@8',
473 'MsgWaitForMultipleObjects@20',
474 'MsgWaitForMultipleObjectsEx@20',
486 'OpenInputDesktop@12',
487 'OpenWindowStationA@12',
488 'OpenWindowStationW@12',
496 'PostThreadMessageA@16',
497 'PostThreadMessageW@16',
499 'PrivateExtractIconsA@32',
500 'PrivateExtractIconsW@32',
502 'RealChildWindowFromPoint@12',
503 'RealGetWindowClass@12',
504 'RealGetWindowClassA@12',
505 'RealGetWindowClassW@12',
508 'RegisterClassExA@4',
509 'RegisterClassExW@4',
511 'RegisterClipboardFormatA@4',
512 'RegisterClipboardFormatW@4',
513 'RegisterDeviceNotificationA@12',
514 'RegisterDeviceNotificationW@12',
516 'RegisterRawInputDevices@12',
517 'RegisterShellHookWindow@4',
518 'RegisterWindowMessageA@4',
519 'RegisterWindowMessageW@4',
531 'SendDlgItemMessageA@20',
532 'SendDlgItemMessageW@20',
533 'SendIMEMessageExA@8',
534 'SendIMEMessageExW@8',
537 'SendMessageCallbackA@24',
538 'SendMessageCallbackW@24',
539 'SendMessageTimeoutA@28',
540 'SendMessageTimeoutW@28',
542 'SendNotifyMessageA@16',
543 'SendNotifyMessageW@16',
546 'SetCaretBlinkTime@4',
551 'SetClipboardData@8',
552 'SetClipboardViewer@4',
555 'SetDebugErrorLevel@4',
556 'SetDeskWallpaper@4',
558 'SetDlgItemTextA@12',
559 'SetDlgItemTextW@12',
560 'SetDoubleClickTime@4',
562 'SetForegroundWindow@4',
563 'SetKeyboardState@4',
565 'SetLayeredWindowAttributes@16',
567 'SetMenuContextHelpId@8',
568 'SetMenuDefaultItem@12',
570 'SetMenuItemBitmaps@20',
571 'SetMenuItemInfoA@16',
572 'SetMenuItemInfoW@16',
573 'SetMessageExtraInfo@4',
576 'SetProcessDefaultLayout@4',
577 'SetProcessWindowStation@4',
588 'SetThreadDesktop@4',
590 'SetUserObjectInformationA@16',
591 'SetUserObjectInformationW@16',
592 'SetUserObjectSecurity@12',
593 'SetWinEventHook@28',
594 'SetWindowContextHelpId@8',
597 'SetWindowPlacement@8',
604 'SetWindowsHookExA@16',
605 'SetWindowsHookExW@16',
616 'SwitchToThisWindow@8',
617 'SystemParametersInfoA@16',
618 'SystemParametersInfoW@16',
621 'TileChildWindows@8',
629 'TrackPopupMenuEx@24',
630 'TranslateAccelerator@12',
631 'TranslateAcceleratorA@12',
632 'TranslateAcceleratorW@12',
633 'TranslateMDISysAccel@8',
634 'TranslateMessage@4',
636 'UnhookWindowsHook@8',
637 'UnhookWindowsHookEx@4',
639 'UnloadKeyboardLayout@4',
640 'UnpackDDElParam@16',
641 'UnregisterClassA@8',
642 'UnregisterClassW@8',
643 'UnregisterDeviceNotification@4',
644 'UnregisterHotKey@8',
645 'UpdateLayeredWindow@36',
647 'UserHandleGrantAccess@12',
655 'WINNLSGetEnableStatus@4',
656 'WINNLSGetIMEHotkey@4',
657 'WaitForInputIdle@8',