aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/hooks.h
blob: aca6649176c7fa203b1df394b963ce8b7ea98d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include <string>

void InstallInitialHooks();

typedef void (*DllLoadCallbackFuncType)(HMODULE moduleAddress);
void AddDllLoadCallback(std::string dll, DllLoadCallbackFuncType callback);
void AddDllLoadCallbackForDedicatedServer(std::string dll, DllLoadCallbackFuncType callback);
void AddDllLoadCallbackForClient(std::string dll, DllLoadCallbackFuncType callback);

void CallAllPendingDLLLoadCallbacks();