mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-05 03:43:40 +00:00
17 lines
396 B
C++
17 lines
396 B
C++
#pragma once
|
|
|
|
#define DBGHELP_TRANSLATE_TCHAR
|
|
#include <windows.h>
|
|
#include <dbghelp.h>
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
PSYMBOL_INFO GetSymbolInfo(HANDLE hProcess, void* address);
|
|
void CleanSymbolInfo(PSYMBOL_INFO pSymbol);
|
|
|
|
bool CreateModuleMap(HANDLE hProcess);
|
|
wstring MapModuleFromAddr(HANDLE hProcess, void* address);
|
|
|
|
wstring GetModuleVersionStr(HANDLE hProcess, HMODULE hModule);
|