mirror of
https://github.com/diamante0018/BlackOpsPlugin.git
synced 2025-05-13 23:54:51 +00:00
13 lines
379 B
C++
13 lines
379 B
C++
#include <stdinc.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;
|
|
} |