hooklib/path.c: Add initial path rewriting hooks

This commit is contained in:
Tau
2019-05-15 20:10:32 -04:00
parent 2ab3a353df
commit 744a7e6560
3 changed files with 538 additions and 0 deletions

12
hooklib/path.h Normal file
View File

@ -0,0 +1,12 @@
#pragma once
#include <windows.h>
#include <stddef.h>
typedef HRESULT (*path_hook_t)(
const wchar_t *src,
wchar_t *dest,
size_t *count);
HRESULT path_hook_push(path_hook_t hook);