From 4b54b7bcea22d6f51eeb5f9355815c3149952995 Mon Sep 17 00:00:00 2001 From: "Mr. eXoDia" Date: Thu, 10 Jul 2014 13:02:47 +0200 Subject: [PATCH] GetProcessInformation -> TitanGetProcessInformation + GetStartupInformation -> TitanGetStartupInformation (windows 8 SDK contains GetProcessInformation already) --- SDK/C/TitanEngine.h | 4 ++-- SDK/CPP/TitanEngine.h | 4 ++-- SDK/CPP/TitanEngine.hpp | 4 ++-- TitanEngine/TitanEngine.Debugger.Data.cpp | 4 ++-- TitanEngine/TitanEngine.def | 4 ++-- TitanEngine/definitions.h | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/SDK/C/TitanEngine.h b/SDK/C/TitanEngine.h index 81c5428..e53b316 100644 --- a/SDK/C/TitanEngine.h +++ b/SDK/C/TitanEngine.h @@ -735,8 +735,8 @@ __declspec(dllexport) bool TITCALL SetHardwareBreakPointEx(HANDLE hActiveThread, __declspec(dllexport) bool TITCALL SetHardwareBreakPoint(ULONG_PTR bpxAddress, DWORD IndexOfRegister, DWORD bpxType, DWORD bpxSize, LPVOID bpxCallBack); __declspec(dllexport) bool TITCALL DeleteHardwareBreakPoint(DWORD IndexOfRegister); __declspec(dllexport) bool TITCALL RemoveAllBreakPoints(DWORD RemoveOption); -__declspec(dllexport) void* TITCALL GetProcessInformation(); -__declspec(dllexport) void* TITCALL GetStartupInformation(); +__declspec(dllexport) PROCESS_INFORMATION* TITCALL TitanGetProcessInformation(); +__declspec(dllexport) STARTUPINFOW* TITCALL TitanGetStartupInformation(); __declspec(dllexport) void TITCALL DebugLoop(); __declspec(dllexport) void TITCALL SetDebugLoopTimeOut(DWORD TimeOut); __declspec(dllexport) void TITCALL SetNextDbgContinueStatus(DWORD SetDbgCode); diff --git a/SDK/CPP/TitanEngine.h b/SDK/CPP/TitanEngine.h index 920838c..85f02d5 100644 --- a/SDK/CPP/TitanEngine.h +++ b/SDK/CPP/TitanEngine.h @@ -734,8 +734,8 @@ __declspec(dllimport) bool TITCALL SetHardwareBreakPointEx(HANDLE hActiveThread, __declspec(dllimport) bool TITCALL SetHardwareBreakPoint(ULONG_PTR bpxAddress, DWORD IndexOfRegister, DWORD bpxType, DWORD bpxSize, LPVOID bpxCallBack); __declspec(dllimport) bool TITCALL DeleteHardwareBreakPoint(DWORD IndexOfRegister); __declspec(dllimport) bool TITCALL RemoveAllBreakPoints(DWORD RemoveOption); -__declspec(dllimport) void* TITCALL GetProcessInformation(); -__declspec(dllimport) void* TITCALL GetStartupInformation(); +__declspec(dllexport) PROCESS_INFORMATION* TITCALL TitanGetProcessInformation(); +__declspec(dllexport) STARTUPINFOW* TITCALL TitanGetStartupInformation(); __declspec(dllimport) void TITCALL DebugLoop(); __declspec(dllimport) void TITCALL SetDebugLoopTimeOut(DWORD TimeOut); __declspec(dllimport) void TITCALL SetNextDbgContinueStatus(DWORD SetDbgCode); diff --git a/SDK/CPP/TitanEngine.hpp b/SDK/CPP/TitanEngine.hpp index 8658694..15383b7 100644 --- a/SDK/CPP/TitanEngine.hpp +++ b/SDK/CPP/TitanEngine.hpp @@ -1434,11 +1434,11 @@ protected: } static const PROCESS_INFORMATION* GetProcessInformation() { - return (const PROCESS_INFORMATION*)UE::GetProcessInformation(); + return (const PROCESS_INFORMATION*)UE::TitanGetProcessInformation(); } static const STARTUPINFOW* GetStartupInformation() { - return (const STARTUPINFOW*)UE::GetStartupInformation(); + return (const STARTUPINFOW*)UE::TitanGetStartupInformation(); } static void DebugLoop() { diff --git a/TitanEngine/TitanEngine.Debugger.Data.cpp b/TitanEngine/TitanEngine.Debugger.Data.cpp index cd719cb..b7a8a71 100644 --- a/TitanEngine/TitanEngine.Debugger.Data.cpp +++ b/TitanEngine/TitanEngine.Debugger.Data.cpp @@ -144,12 +144,12 @@ __declspec(dllexport) void TITCALL SetCustomHandler(DWORD ExceptionId, LPVOID Ca } } -__declspec(dllexport) void* TITCALL GetProcessInformation() +__declspec(dllexport) PROCESS_INFORMATION* TITCALL TitanGetProcessInformation() { return(&dbgProcessInformation); } -__declspec(dllexport) void* TITCALL GetStartupInformation() +__declspec(dllexport) STARTUPINFOW* TITCALL TitanGetStartupInformation() { return(&dbgStartupInfo); } diff --git a/TitanEngine/TitanEngine.def b/TitanEngine/TitanEngine.def index a466769..a534585 100644 --- a/TitanEngine/TitanEngine.def +++ b/TitanEngine/TitanEngine.def @@ -153,8 +153,8 @@ GetJumpDestinationEx IsJumpGoingToExecuteEx IsJumpGoingToExecute SetDebugLoopTimeOut -GetProcessInformation -GetStartupInformation +TitanGetProcessInformation +TitanGetStartupInformation AutoDebugEx AutoDebugExW IsFileBeingDebugged diff --git a/TitanEngine/definitions.h b/TitanEngine/definitions.h index 97553b1..c68a762 100644 --- a/TitanEngine/definitions.h +++ b/TitanEngine/definitions.h @@ -218,8 +218,8 @@ __declspec(dllexport) bool TITCALL SetHardwareBreakPointEx(HANDLE hActiveThread, __declspec(dllexport) bool TITCALL SetHardwareBreakPoint(ULONG_PTR bpxAddress, DWORD IndexOfRegister, DWORD bpxType, DWORD bpxSize, LPVOID bpxCallBack); __declspec(dllexport) bool TITCALL DeleteHardwareBreakPoint(DWORD IndexOfRegister); __declspec(dllexport) bool TITCALL RemoveAllBreakPoints(DWORD RemoveOption); -__declspec(dllexport) void* TITCALL GetProcessInformation(); -__declspec(dllexport) void* TITCALL GetStartupInformation(); +__declspec(dllexport) PROCESS_INFORMATION* TITCALL TitanGetProcessInformation(); +__declspec(dllexport) STARTUPINFOW* TITCALL TitanGetStartupInformation(); __declspec(dllexport) void TITCALL DebugLoop(); __declspec(dllexport) void TITCALL SetDebugLoopTimeOut(DWORD TimeOut); __declspec(dllexport) void TITCALL SetNextDbgContinueStatus(DWORD SetDbgCode);