summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.user32.delay.imports
blob: baa12316c218c0a487d207f5f705812428f4fd61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This file is used to create a custom import library for Chrome.dll's use of
# user32.dll APIs added post-Windows XP to obviate the need for delay loading
# all of user32.dll.
{
  'architecture': 'x86',

  # The DLL to bind to - we delay load these imports.
  'dll_name': 'user32-delay.dll',

  # Name of the generated import library.
  'importlib_name': 'chrome.user32.delay.lib',

  # Chrome.dll uses these post-Windows XP (SP2) exports, and so they must be
  # delay loaded for Chrome.dll to load on Windows XP computers.
  'imports': [
    'CloseGestureInfoHandle@4',
    'CloseTouchInputHandle@4',
    'GetGestureInfo@8',
    'GetTouchInputInfo@16',
    'IsTouchWindow@8',
    'RegisterTouchWindow@8',
    'SetGestureConfig@20',
    'UnregisterTouchWindow@4',
  ],
}