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