diff options
Diffstat (limited to 'src/dlls/mscordbi/mscordbi.cpp')
-rw-r--r-- | src/dlls/mscordbi/mscordbi.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/dlls/mscordbi/mscordbi.cpp b/src/dlls/mscordbi/mscordbi.cpp new file mode 100644 index 0000000000..4ef92c7ee8 --- /dev/null +++ b/src/dlls/mscordbi/mscordbi.cpp @@ -0,0 +1,29 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +//***************************************************************************** +// MSCorDBI.cpp +// +// COM+ Debugging Services -- Debugger Interface DLL +// +// Dll* routines for entry points, and support for COM framework. +// +//***************************************************************************** +#include "stdafx.h" + +extern BOOL STDMETHODCALLTYPE DbgDllMain(HINSTANCE hInstance, DWORD dwReason, + LPVOID lpReserved); + +//***************************************************************************** +// The main dll entry point for this module. This routine is called by the +// OS when the dll gets loaded. Control is simply deferred to the main code. +//***************************************************************************** +extern "C" +BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) +{ + //<TODO> Shoud we call DisableThreadLibraryCalls? Or does this code + // need native thread attatch/detatch notifications? </TODO> + + // Defer to the main debugging code. + return DbgDllMain(hInstance, dwReason, lpReserved); +} |