Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / remoting / host / win / core.cc
blob461e4a8fd64b8bc378b38fc94a53b8a417769569
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.
5 #include <windows.h>
7 // PsDllMain is the entry point of the proxy/stub code generated by MIDL.
8 extern "C" BOOL WINAPI PsDllMain(HINSTANCE instance,
9 DWORD reason,
10 void* reserved);
12 BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void* reserved) {
13 if (reason == DLL_PROCESS_ATTACH)
14 DisableThreadLibraryCalls(instance);
16 // Initialize the proxy/stub code as well.
17 return PsDllMain(instance, reason, reserved);