summaryrefslogtreecommitdiffstats
path: root/chrome_elf/chrome_redirects_main.cc
blob: 960d07c8806d668315bc2e10f9d89f056c37c0a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2014 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.

#include <windows.h>

#include "chrome_elf/ntdll_cache.h"

BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
  if (reason == DLL_PROCESS_ATTACH)
    InitCache();

  return TRUE;
}