segatools/hooklib/printer.h

18 lines
485 B
C
Raw Normal View History

#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);
2024-08-05 18:53:56 +00:00
void printer_hook_insert_hooks(HMODULE target);
2024-09-11 11:31:23 +00:00
void printer_set_dimensions(int width, int height);