mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2024-11-29 03:14:27 +01:00
19 lines
305 B
C
19 lines
305 B
C
|
#pragma once
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#include "hook/table.h"
|
||
|
|
||
|
struct dll_symbol {
|
||
|
void *ptr;
|
||
|
const char *name;
|
||
|
uint16_t ordinal;
|
||
|
};
|
||
|
|
||
|
HRESULT dll_hook_push(
|
||
|
HMODULE redir_mod,
|
||
|
const wchar_t *name,
|
||
|
const struct hook_symbol *syms,
|
||
|
size_t nsyms);
|