Index: content/user32.delay.imports |
diff --git a/content/user32.delay.imports b/content/user32.delay.imports |
new file mode 100644 |
index 0000000000000000000000000000000000000000..133be44b35566c2c5033953a3571bea9f179917e |
--- /dev/null |
+++ b/content/user32.delay.imports |
@@ -0,0 +1,32 @@ |
+# 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 Content shell's use of |
+# user32.dll APIs added post Windows XP. |
+{ |
+ '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': 'content.user32.delay.imports.lib', |
+ |
+ # This is the set of exports observed on a user32.dll from Windows XP SP2. |
+ # The version of the DLL where these were observed is 5.1.2600.2180. |
+ # Incidentally this set of exports also coincides with Windows XP SP3, where |
+ # the version of the DLL is 5.1.2600.5512. |
+ # Don't add new imports here unless and until the minimal supported |
+ # Windows version has been bumped past Windows XP SP2+. |
+ 'imports': [ |
+ 'CloseGestureInfoHandle@4', |
+ 'CloseTouchInputHandle@4', |
+ 'GetGestureInfo@8', |
+ 'GetTouchInputInfo@16', |
+ 'IsTouchWindow@8', |
+ 'RegisterTouchWindow@8', |
+ 'SetGestureConfig@20', |
+ 'UnregisterTouchWindow@4', |
+ ], |
+} |