mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-25 01:57:47 +01:00
tweaks for last commit
This commit is contained in:
parent
b690cb5c24
commit
9c555c8e05
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
typedef struct hook_list_data { char function_name[32]; PROC new_function; PROC* function; } hook_list_data;
|
typedef struct hook_list_data { char function_name[32]; PROC new_function; PROC* function; } hook_list_data;
|
||||||
typedef struct hook_list { char module_name[32]; BOOL enabled; struct hook_list_data data[32]; } hook_list;
|
typedef struct hook_list { char module_name[32]; BOOL enabled; hook_list_data data[32]; } hook_list;
|
||||||
|
|
||||||
typedef BOOL (WINAPI* GETCURSORPOSPROC)(LPPOINT);
|
typedef BOOL (WINAPI* GETCURSORPOSPROC)(LPPOINT);
|
||||||
typedef BOOL(WINAPI* CLIPCURSORPROC)(const RECT*);
|
typedef BOOL(WINAPI* CLIPCURSORPROC)(const RECT*);
|
||||||
@ -66,7 +66,7 @@ extern BOOL g_hook_active;
|
|||||||
void hook_init();
|
void hook_init();
|
||||||
void hook_exit();
|
void hook_exit();
|
||||||
void hook_patch_iat(HMODULE hMod, char *moduleName, char *functionName, PROC newFunction);
|
void hook_patch_iat(HMODULE hMod, char *moduleName, char *functionName, PROC newFunction);
|
||||||
void hook_create(struct hook_list* hooks);
|
void hook_create(hook_list* hooks);
|
||||||
void hook_revert(struct hook_list* hooks);
|
void hook_revert(hook_list* hooks);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user