windows-nt/Source/XPSP1/NT/net/rras/cm/customactions/cmroute/main.cpp
2020-09-26 16:20:57 +08:00

29 lines
732 B
C++

//+----------------------------------------------------------------------------
//
// File: MAIN.CPP
//
// Module: CMROUTE.DLL
//
// Synopsis: Start of CMROUTE.DLL
//
// Copyright (c) 1999 Microsoft Corporation
//
// Author: anbrad created 02/24/99
//
//+----------------------------------------------------------------------------
#include "pch.h"
#include "cmdebug.h"
extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if (DLL_PROCESS_ATTACH == fdwReason)
{
MYVERIFY(DisableThreadLibraryCalls(hinstDLL));
}
// NOTE: Do we need to disable double loading? We aren't using Thread local
// storage, just static variables.
return TRUE;
}