1 2 3 4 5 6 7 8 9
#pragma once #include <string> void InstallInitialHooks(); typedef void (*DllLoadCallbackFuncType)(HMODULE moduleAddress); void AddDllLoadCallback(std::string dll, DllLoadCallbackFuncType callback); void CallAllPendingDLLLoadCallbacks();