1
0
mirror of synced 2024-11-27 23:10:49 +01:00
bananatools/taikohook/taiko-dll.h
2023-01-02 23:39:03 -05:00

23 lines
491 B
C

#pragma once
#include <windows.h>
#include "taikoio/taikoio.h"
struct taiko_dll {
uint16_t api_version;
HRESULT (*init)(void);
HRESULT (*poll)(void);
void (*read_coin_counter)(uint16_t *coins, uint16_t *services);
void (*get_opbtns)(uint8_t *opbtn);
void (*get_gamebtns)(uint8_t *gamebtn);
};
struct taiko_dll_config {
wchar_t path[MAX_PATH];
};
extern struct taiko_dll taiko_dll;
HRESULT taiko_dll_init(const struct taiko_dll_config *cfg, HINSTANCE self);