2023-11-11 21:47:47 +00:00
|
|
|
#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);
|