mirror of https://github.com/x64dbg/TitanEngine
fixed two bugs with dynamically imported winapi functions
This commit is contained in:
parent
3cd9d2da3e
commit
9dca34e3b8
|
|
@ -17979,7 +17979,7 @@ __declspec(dllexport) void TITCALL DebugLoopEx(DWORD TimeOut)
|
||||||
__declspec(dllexport) bool TITCALL AttachDebugger(DWORD ProcessId, bool KillOnExit, LPVOID DebugInfo, LPVOID CallBack)
|
__declspec(dllexport) bool TITCALL AttachDebugger(DWORD ProcessId, bool KillOnExit, LPVOID DebugInfo, LPVOID CallBack)
|
||||||
{
|
{
|
||||||
|
|
||||||
typedef void(TITCALL *fDebugSetProcessKillOnExit)(bool KillExitingDebugee);
|
typedef void(WINAPI *fDebugSetProcessKillOnExit)(bool KillExitingDebugee);
|
||||||
fDebugSetProcessKillOnExit myDebugSetProcessKillOnExit;
|
fDebugSetProcessKillOnExit myDebugSetProcessKillOnExit;
|
||||||
LPVOID funcDebugSetProcessKillOnExit = NULL;
|
LPVOID funcDebugSetProcessKillOnExit = NULL;
|
||||||
|
|
||||||
|
|
@ -18017,8 +18017,7 @@ __declspec(dllexport) bool TITCALL AttachDebugger(DWORD ProcessId, bool KillOnEx
|
||||||
}
|
}
|
||||||
__declspec(dllexport) bool TITCALL DetachDebugger(DWORD ProcessId)
|
__declspec(dllexport) bool TITCALL DetachDebugger(DWORD ProcessId)
|
||||||
{
|
{
|
||||||
|
typedef bool(WINAPI *fDebugActiveProcessStop)(DWORD dwProcessId);
|
||||||
typedef bool(TITCALL *fDebugActiveProcessStop)(DWORD dwProcessId);
|
|
||||||
fDebugActiveProcessStop myDebugActiveProcessStop;
|
fDebugActiveProcessStop myDebugActiveProcessStop;
|
||||||
LPVOID funcDebugActiveProcessStop = NULL;
|
LPVOID funcDebugActiveProcessStop = NULL;
|
||||||
bool FuncReturn = false;
|
bool FuncReturn = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue