#pragma once #include #include namespace hook { inline constexpr wchar_t kConfigKey[] = L"Software\\Plandent\\MstscScriptHook"; struct HookConfig { bool enabled = true; std::wstring scriptPath; std::wstring arguments; std::wstring workingDirectory; bool startOnConnect = true; bool stopOnDisconnect = false; bool hidden = true; bool preventDuplicates = true; bool enableLogging = true; }; HookConfig LoadConfig(); std::wstring ExpandEnvironment(const std::wstring& value); }