![]() ![]() |
![]() |
File: [OMI] / omi / nits / nitsdll / main.cpp
(download)
Revision: 1.1, Mon Apr 20 17:19:54 2015 UTC (9 years, 2 months ago) by krisbash Branch: MAIN CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD OMI 1.0.8-1 |
//***************************************************************************** // Copyright (C) 2007 Microsoft Corporation // All rights reserved. //***************************************************************************** #include "../base/Globals.h" #ifdef _MSC_VER #include <main.tmh> BOOL WINAPI DllMain(_In_ HINSTANCE instance, _In_ DWORD reason, PVOID) { switch( reason ) { case DLL_PROCESS_ATTACH: // // Next, we disable all thread attach and detach messages to minimize our working set // if ( !DisableThreadLibraryCalls ( instance ) ) { return FALSE; } WPP_INIT_TRACING(NITS_TRACING_LOCATION); break; case DLL_PROCESS_DETACH: WPP_CLEANUP(); break; } return TRUE; } #endif
ViewCVS 0.9.2 |