iw5-mod/src/main.cpp

29 lines
364 B
C++
Raw Normal View History

2018-12-01 09:42:29 -05:00
#include <std_include.hpp>
namespace main
{
void initialize()
{
}
void uninitialize()
{
}
}
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{
main::initialize();
}
else if (ul_reason_for_call == DLL_PROCESS_DETACH)
{
main::uninitialize();
}
return TRUE;
}