2019-02-26 18:47:41 +00:00
|
|
|
#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;
|
2023-08-15 15:28:19 +00:00
|
|
|
bool high_baudrate;
|
2023-12-03 17:45:42 +00:00
|
|
|
unsigned int gen;
|
2019-11-06 00:40:00 +00:00
|
|
|
};
|
2019-06-04 02:28:44 +00:00
|
|
|
|
|
|
|
HRESULT sg_reader_hook_init(
|
|
|
|
const struct aime_config *cfg,
|
2021-05-23 15:54:24 +00:00
|
|
|
unsigned int port_no,
|
2023-12-03 17:45:42 +00:00
|
|
|
unsigned int gen,
|
2021-05-23 15:54:24 +00:00
|
|
|
HINSTANCE self);
|