added files.

This commit is contained in:
nitrogenoliquido committed 2026-10-14 22:15:53 -05:00
commit e908ab2355
353 files changed
+130515

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include <windows.h>
#include <string>
#include <vector>
namespace Slinky {
struct TargetWindow {
HWND hWnd = nullptr;
DWORD pid = 0;
std::wstring title;
};
class ProcessUtil {
public:
static std::vector<DWORD> GetJavaProcessIds();
static std::vector<TargetWindow> FindMinecraftWindows();
static bool IsModuleLoaded(DWORD pid, const wchar_t* moduleName);
static bool WaitForModuleLoad(DWORD pid, const wchar_t* moduleName, DWORD timeoutMs);
};
} // namespace Slinky