Update WaitForModule definition
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
#include <psapi.h>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
#define AUTO_ASSEMBLE_TRAMPOLINE(ADDRESS, TRAMPOLINE_LENGTH, INSTRUCTIONS) \
|
||||
@@ -78,7 +79,7 @@ class Memory
|
||||
*/
|
||||
static PVOID SetupOrClearHardwareBreakPointForAllThreads(uintptr_t targetAddress, PVOID vehHandle, bool enable, PVECTORED_EXCEPTION_HANDLER pVEH = nullptr, int hwIndex = 0);
|
||||
private:
|
||||
static bool WaitForModule(const std::string& module_name, int timeoutMs, int intervalMs);
|
||||
static MODULEINFO WaitForModule(const std::string& module_name, int timeoutMs = 15000, int intervalMs = 500);
|
||||
struct PatchInfo {
|
||||
void* address;
|
||||
std::vector<BYTE> originalBytes;
|
||||
|
||||
Reference in New Issue
Block a user