mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-09-15 03:45:09 -05:00
26 lines
460 B
C
26 lines
460 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
struct hook_symbol {
|
|
const char *name;
|
|
uint16_t ordinal;
|
|
void *patch;
|
|
void **link;
|
|
};
|
|
|
|
void hook_table_apply(
|
|
HMODULE target,
|
|
const char *depname,
|
|
const struct hook_symbol *syms,
|
|
size_t nsyms);
|
|
|
|
void hook_table_revert(
|
|
HMODULE target,
|
|
const char *depname,
|
|
const struct hook_symbol *syms,
|
|
size_t nsyms);
|