summaryrefslogtreecommitdiffstats
path: root/chrome/app/delay_load_hook_win.h
blob: 38c406a7923fc280ac9fc2833fd58cdb6bdcb474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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_WIN_H_
#define CHROME_APP_DELAY_LOAD_HOOK_WIN_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".
extern "C" FARPROC WINAPI ChromeDelayLoadHook(unsigned reason,
                                              DelayLoadInfo* info);

#endif  // CHROME_APP_DELAY_LOAD_HOOK_WIN_H_