summaryrefslogtreecommitdiffstats
path: root/remoting/host/win/core.cc
blob: 2acbb0562f32ac32011478f479b093a3875da900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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>

#include "remoting/host/remoting_me2me_host.h"

BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void* reserved) {
  if (reason == DLL_PROCESS_ATTACH)
    DisableThreadLibraryCalls(instance);

  return TRUE;
}