1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-28 06:50:49 +01:00
segatools-dniel97/hooklib/printer.h
2024-09-11 13:31:23 +02:00

18 lines
485 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);
void printer_set_dimensions(int width, int height);