2023-01-03 04:35:53 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
struct clock_config {
|
2024-04-23 01:11:03 +00:00
|
|
|
bool enable;
|
2023-01-03 04:35:53 +00:00
|
|
|
bool timezone;
|
|
|
|
bool timewarp;
|
|
|
|
bool writeable;
|
|
|
|
};
|
|
|
|
|
|
|
|
HRESULT clock_hook_init(const struct clock_config *cfg);
|
2024-08-20 14:16:18 +00:00
|
|
|
void clock_hook_insert_hooks(HMODULE target);
|