mirror of
https://gitea.tendokyu.moe/TeamTofuShop/taitools.git
synced 2026-09-22 22:28:06 +03:00
31 lines
531 B
C
31 lines
531 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
#include <stdint.h>
|
|
|
|
#include "idmac/jvs.h"
|
|
#include "idmac/fastio.h"
|
|
|
|
#pragma pack(push,1)
|
|
|
|
struct idmac_config {
|
|
uint8_t dipsw;
|
|
bool hook_dll;
|
|
struct jvs_config jvs;
|
|
};
|
|
|
|
struct idmac_hardware {
|
|
uint8_t dipsw;
|
|
jvs_provider_t jvs;
|
|
fastio_provider_t fastio_main;
|
|
fastio_provider_t fastio_sub;
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
HRESULT idmac_hook_init(
|
|
const struct idmac_config *cfg,
|
|
struct idmac_hardware *hardware);
|
|
|
|
void idmac_hook_table_apply(HMODULE target);
|