| 1 | // Licensed to the .NET Foundation under one or more agreements. |
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | //***************************************************************************** |
| 5 | // MSCorDBI.cpp |
| 6 | // |
| 7 | // COM+ Debugging Services -- Debugger Interface DLL |
| 8 | // |
| 9 | // Dll* routines for entry points, and support for COM framework. |
| 10 | // |
| 11 | //***************************************************************************** |
| 12 | #include "stdafx.h" |
| 13 | |
| 14 | extern BOOL WINAPI DbgDllMain(HINSTANCE hInstance, DWORD dwReason, |
| 15 | LPVOID lpReserved); |
| 16 | |
| 17 | //***************************************************************************** |
| 18 | // The main dll entry point for this module. This routine is called by the |
| 19 | // OS when the dll gets loaded. Control is simply deferred to the main code. |
| 20 | //***************************************************************************** |
| 21 | extern "C" |
| 22 | BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) |
| 23 | { |
| 24 | // Defer to the main debugging code. |
| 25 | return DbgDllMain(hInstance, dwReason, lpReserved); |
| 26 | } |
| 27 | |