You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
363 B

#pragma once
#include "Utils.h"
typedef struct _INLINE_HOOK
{
unsigned char Code[14];
unsigned char JmpCode[14];
void* Address;
void* HookAddress;
} INLINE_HOOK, *PINLINE_HOOK_T;
VOID MakeInlineHook(PINLINE_HOOK_T Hook, VOID* HookFrom, VOID* HookTo, BOOLEAN Install);
VOID EnableInlineHook(PINLINE_HOOK_T Hook);
VOID DisableInlineHook(PINLINE_HOOK_T Hook);