21 lines
345 B
C
21 lines
345 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
struct sram_config {
|
|
bool enable;
|
|
wchar_t path[MAX_PATH];
|
|
};
|
|
|
|
DEFINE_GUID(
|
|
sram_guid,
|
|
0x741B5FCA,
|
|
0x4635,
|
|
0x4443,
|
|
0xA7, 0xA0, 0x57, 0xCA, 0x7B, 0x50, 0x6A, 0x49);
|
|
|
|
HRESULT sram_hook_init(const struct sram_config *cfg);
|