1// Copyright (c) 2013 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. 4 5#ifndef CHROME_APP_DELAY_LOAD_HOOK_WIN_H_ 6#define CHROME_APP_DELAY_LOAD_HOOK_WIN_H_ 7 8#include <windows.h> 9 10// Fowd. 11struct DelayLoadInfo; 12 13// In release builds, the delay load hook redirects import entries to DLLs 14// named "FOO-delay.dll" to "FOO.dll". 15extern "C" FARPROC WINAPI ChromeDelayLoadHook(unsigned reason, 16 DelayLoadInfo* info); 17 18#endif // CHROME_APP_DELAY_LOAD_HOOK_WIN_H_ 19