2023-01-03 04:35:53 +00:00
|
|
|
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct qr_config {
|
|
|
|
bool enable;
|
2023-07-11 03:21:36 +00:00
|
|
|
unsigned int port;
|
2023-01-03 04:35:53 +00:00
|
|
|
};
|
|
|
|
|
2023-07-11 03:21:36 +00:00
|
|
|
HRESULT qr_hook_init(const struct qr_config *cfg, unsigned int port);
|