blob: aeeb457de07c87c1c7f6ed719eeca32bd578bd1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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.
#include <windows.h>
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void* reserved) {
if (reason == DLL_PROCESS_ATTACH)
DisableThreadLibraryCalls(instance);
return TRUE;
}
|