From d79ee3fe2b50558c38839eeef12ea1328c784df1 Mon Sep 17 00:00:00 2001 From: Will Toohey Date: Wed, 15 Oct 2025 16:29:18 +1000 Subject: [PATCH] Add __layeredfs_version export to hook DLLs --- src/dllmain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dllmain.cpp b/src/dllmain.cpp index ba3027c..cb901df 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -3,6 +3,8 @@ #include "hook.h" #include "utils.hpp" +extern "C" __declspec(dllexport) const char __layeredfs_version[] = VER_STRING; + HMODULE my_module; char dll_filename[MAX_PATH]; uint64_t dll_time;