1
0
mirror of synced 2024-11-30 16:24:27 +01:00
bananatools/tekkenhook/tekken-dll.h

21 lines
417 B
C
Raw Normal View History

2023-09-18 10:15:27 +02:00
#pragma once
#include <windows.h>
#include "tekkenio/tekkenio.h"
struct tekken_dll {
uint16_t api_version;
HRESULT (*jvs_init)(void);
HRESULT (*jvs_poll)(uint8_t *opbtn);
void (*jvs_read_coin_counter)(uint16_t *coins);
};
struct tekken_dll_config {
wchar_t path[MAX_PATH];
};
extern struct tekken_dll tekken_dll;
HRESULT tekken_dll_init(const struct tekken_dll_config *cfg, HINSTANCE self);