1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-11 23:17:08 +01:00
segatools-dniel97/carolhook/carol-dll.h

23 lines
484 B
C
Raw Permalink Normal View History

2022-12-11 04:01:52 +01:00
#pragma once
#include <windows.h>
#include "carolio/carolio.h"
struct carol_dll {
uint16_t api_version;
HRESULT (*jvs_init)(void);
void (*jvs_poll)(uint8_t *opbtn, uint8_t *beams);
void (*jvs_read_coin_counter)(uint16_t *total);
HRESULT (*touch_init)();
HRESULT (*controlbd_init)();
};
struct carol_dll_config {
wchar_t path[MAX_PATH];
};
extern struct carol_dll carol_dll;
HRESULT carol_dll_init(const struct carol_dll_config *cfg, HINSTANCE self);