diff options
Diffstat (limited to 'include/DLLHelper.h')
-rw-r--r-- | include/DLLHelper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/DLLHelper.h b/include/DLLHelper.h index 21bb9aa..749e541 100644 --- a/include/DLLHelper.h +++ b/include/DLLHelper.h @@ -4,6 +4,9 @@ #include <Windows.h> +#define MakePtr(cast, ptr, addValue) (cast)((DWORD_PTR)(ptr) + (DWORD_PTR)(addValue)) +#define MakeDelta(cast, x, y) (cast) ((DWORD_PTR)(x) - (DWORD_PTR)(y)) + struct ResolvedDllEntry { const char * const baseDllName; const char * const functionName; |