LIBMAIN.CPP

/* 
* LIBMAIN.CPP
* IAnimal Interface DLL Chapter 6
*
* Entry point code
*
* Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
*
* Kraig Brockschmidt, Microsoft
* Internet : kraigb@microsoft.com
* Compuserve: >INTERNET:kraigb@microsoft.com
*/


#include <windows.h>


/*
* LibMain(32)
*
* Purpose:
* Entry point for Win32 DLLs
*/

BOOL WINAPI LibMain32(HINSTANCE hInstance, ULONG ulReason
, LPVOID pvReserved)
{
if (DLL_PROCESS_DETACH==ulReason)
{
return TRUE;
}
else
{
if (DLL_PROCESS_ATTACH!=ulReason)
return TRUE;
}

return TRUE;
}