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