taitools/ll3hook/ll3-dll.h

21 lines
416 B
C
Raw Permalink Normal View History

2024-02-17 21:46:23 +00:00
#pragma once
#include <windows.h>
#include "ll3io/ll3io.h"
struct ll3_dll {
uint16_t api_version;
HRESULT (*init)(void);
void (*read_coin_counter)(uint16_t *coins, uint16_t *services);
void (*get_btns)(uint8_t *btn, uint8_t *stick);
};
struct ll3_dll_config {
wchar_t path[MAX_PATH];
};
extern struct ll3_dll ll3_dll;
HRESULT ll3_dll_init(const struct ll3_dll_config *cfg, HINSTANCE self);