Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: content/user32.delay.imports

Issue 12295040: Stop delay loading user32.dll from chrome.dll on x86/Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build config sketch, mostly works for x86 and x64. Move the hook back to base." Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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',
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698