Initialversion

This commit is contained in:
2026-08-09 13:27:53 +02:00
commit eec4f52b5a
25 changed files with 2123 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#pragma once
#include "RegistryConfig.h"
#include <windows.h>
#include <string>
namespace hook
{
class ProcessLauncher
{
public:
ProcessLauncher() = default;
~ProcessLauncher();
ProcessLauncher(const ProcessLauncher&) = delete;
ProcessLauncher& operator=(const ProcessLauncher&) = delete;
bool Start(const HookConfig& config);
void Stop(bool loggingEnabled);
void Detach(bool loggingEnabled);
bool IsRunning();
private:
HANDLE process_ = nullptr;
DWORD processId_ = 0;
void CleanupExitedProcess();
};
}