windows-nt/Source/XPSP1/NT/net/rras/cm/customactions/cmroute/main.cpp

29 lines
732 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+----------------------------------------------------------------------------
//
// 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;
}