14 lines
246 B
C
14 lines
246 B
C
|
#pragma once
|
||
|
|
||
|
#include <windows.h>
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
struct cert_config {
|
||
|
bool enable;
|
||
|
wchar_t path[MAX_PATH];
|
||
|
};
|
||
|
|
||
|
HRESULT cert_hook_init(const struct cert_config *cfg);
|
||
|
void cert_hook_insert_hooks(HMODULE target);
|