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