2019-02-26 19:47:41 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
2019-11-06 01:40:00 +01:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2021-05-23 17:54:24 +02:00
|
|
|
#include "board/aime-dll.h"
|
|
|
|
|
2019-11-06 01:40:00 +01:00
|
|
|
struct aime_config {
|
2021-05-23 17:54:24 +02:00
|
|
|
struct aime_dll_config dll;
|
2019-11-06 01:40:00 +01:00
|
|
|
bool enable;
|
2023-08-15 17:28:19 +02:00
|
|
|
bool high_baudrate;
|
2023-12-03 18:45:42 +01:00
|
|
|
unsigned int gen;
|
2019-11-06 01:40:00 +01:00
|
|
|
};
|
2019-06-04 04:28:44 +02:00
|
|
|
|
|
|
|
HRESULT sg_reader_hook_init(
|
|
|
|
const struct aime_config *cfg,
|
2021-05-23 17:54:24 +02:00
|
|
|
unsigned int port_no,
|
2023-12-03 18:45:42 +01:00
|
|
|
unsigned int gen,
|
2021-05-23 17:54:24 +02:00
|
|
|
HINSTANCE self);
|