segatools/board/sg-reader.h

19 lines
308 B
C
Raw Normal View History

#pragma once
#include <windows.h>
2019-11-06 00:40:00 +00:00
#include <stdbool.h>
2021-05-23 15:54:24 +00:00
#include "board/aime-dll.h"
2019-11-06 00:40:00 +00:00
struct aime_config {
2021-05-23 15:54:24 +00:00
struct aime_dll_config dll;
2019-11-06 00:40:00 +00:00
bool enable;
bool high_baudrate;
2019-11-06 00:40:00 +00:00
};
HRESULT sg_reader_hook_init(
const struct aime_config *cfg,
2021-05-23 15:54:24 +00:00
unsigned int port_no,
HINSTANCE self);