aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/hooks.h
blob: ab7b3d64855ca27e822dcd2d50b90f36ce1ab611 (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();