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

Unified Diff: chrome/app/delay_load_hook.h

Issue 12210017: Start of build config for custom user32 import libs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implement the delay load hook. 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
« no previous file with comments | « no previous file | chrome/app/delay_load_hook.cc » ('j') | chrome/app/delay_load_hook.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/delay_load_hook.h
diff --git a/chrome/app/delay_load_hook.h b/chrome/app/delay_load_hook.h
new file mode 100644
index 0000000000000000000000000000000000000000..3bce514b75ef0707056d293acff1918a8845c8bb
--- /dev/null
+++ b/chrome/app/delay_load_hook.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2013 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.
+
+#ifndef CHROME_APP_DELAY_LOAD_HOOK_H_
+#define CHROME_APP_DELAY_LOAD_HOOK_H_
+
+#include <windows.h>
+
+// Fowd.
+struct DelayLoadInfo;
+
+// In release builds, the delay load hook redirects import entries to DLLs
+// named "FOO-delay.dll" to "FOO.dll".
+FARPROC WINAPI ChromeDelayLoadHook(unsigned reason, DelayLoadInfo* info);
+
+#endif // CHROME_APP_DELAY_LOAD_HOOK_H_
« no previous file with comments | « no previous file | chrome/app/delay_load_hook.cc » ('j') | chrome/app/delay_load_hook.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698