
- use LdrRegisterDllNotification instead of LoadLibraryExW for patching ** LoadLibraryExW is currently still hooked for the UpdatePack7 compatibility fix, I'm looking into other alternatives - more robust error checking - refactored a lot of code to be more reusable - header guards - better logging framework - tighter permissions on the unload event - probably other stuff I forgot about
9 lines
173 B
C
9 lines
173 B
C
#ifndef IATHOOK_H
|
|
#define IATHOOK_H
|
|
#pragma once
|
|
|
|
#include <Windows.h>
|
|
|
|
void iat_hook(HMODULE hModule, LPCSTR lpFuncName, LPVOID *lpOldAddress, LPVOID lpNewAddress);
|
|
#endif
|