forked from Dniel97/segatools
18 lines
434 B
C
18 lines
434 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
#include <stdbool.h>
|
|
|
|
struct printer_config {
|
|
bool enable;
|
|
bool rotate_180;
|
|
char serial_no[8];
|
|
wchar_t main_fw_path[MAX_PATH];
|
|
wchar_t dsp_fw_path[MAX_PATH];
|
|
wchar_t param_fw_path[MAX_PATH];
|
|
wchar_t printer_out_path[MAX_PATH];
|
|
};
|
|
|
|
void printer_hook_init(const struct printer_config *cfg, int rfid_port_no, HINSTANCE self);
|
|
void printer_hook_insert_hooks(HMODULE target);
|