taitools/sivahook/siva-dll.h

21 lines
424 B
C
Raw Normal View History

2024-02-11 04:38:24 +00:00
#pragma once
#include <windows.h>
#include "sivaio/sivaio.h"
struct siva_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 siva_dll_config {
wchar_t path[MAX_PATH];
};
extern struct siva_dll siva_dll;
HRESULT siva_dll_init(const struct siva_dll_config *cfg, HINSTANCE self);