mirror of
https://github.com/diamante0018/BlackOpsPlugin.git
synced 2025-05-10 22:34:51 +00:00
13 lines
384 B
C++
13 lines
384 B
C++
#include "std_include.hpp"
|
|
#include "loader/component_loader.hpp"
|
|
|
|
BOOL APIENTRY DllMain(HMODULE /*module_*/, DWORD ul_reason_for_call,
|
|
LPVOID /*reserved_*/) {
|
|
if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
|
|
component_loader::post_unpack();
|
|
} else if (ul_reason_for_call == DLL_PROCESS_DETACH) {
|
|
component_loader::pre_destroy();
|
|
}
|
|
|
|
return TRUE;
|
|
} |