Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
823 B

//+----------------------------------------------------------------------------
//
// File: main.cpp
//
// Module: CMPBK32.DLL
//
// Synopsis: Implementation of DllMain for cmpbk32.dll.
//
// Copyright (c) 1998 Microsoft Corporation
//
// Author: quintinb created header 08/17/99
//
//+----------------------------------------------------------------------------
#include "cmmaster.h"
extern HINSTANCE g_hInst;
extern "C" BOOL WINAPI DllMain(
HINSTANCE hinstDLL, // handle to DLL module
DWORD fdwReason, // reason for calling function
LPVOID lpvReserved // reserved
)
{
if (fdwReason == DLL_PROCESS_ATTACH)
{
MYDBGASSERT(hinstDLL);
g_hInst = hinstDLL;
MYVERIFY(DisableThreadLibraryCalls(hinstDLL));
}
return TRUE;
}