#pragma once #include "common.h" #include "types.h" namespace Util { std::optional GetModuleFilename(DWORD processId, HMODULE module = NULL); std::optional GetModuleFilename(HMODULE module = NULL); std::vector>> GetAllProcesses(); std::optional GetClipboardText(); std::optional StringToWideString(const std::string& text, UINT encoding = CP_UTF8); std::optional ParseCode(std::wstring code); std::wstring GenerateCode(HookParam hp, DWORD processId = 0); }