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.
7 // PsDllMain is the entry point of the proxy/stub code generated by MIDL.
8 extern "C" BOOL WINAPI
PsDllMain(HINSTANCE instance
,
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
);