mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2024-11-13 21:20:50 +01:00
20 lines
367 B
C
20 lines
367 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include "mai2io/mai2io.h"
|
|
|
|
struct mai2_dll {
|
|
uint16_t api_version;
|
|
HRESULT (*init)(void);
|
|
HRESULT (*poll)(uint8_t *opbtn, uint8_t *p1, uint8_t *p2);
|
|
};
|
|
|
|
struct mai2_dll_config {
|
|
wchar_t path[MAX_PATH];
|
|
};
|
|
|
|
extern struct mai2_dll mai2_dll;
|
|
|
|
HRESULT mai2_dll_init(const struct mai2_dll_config *cfg, HINSTANCE self);
|