diff options
author | m417z <mmm.maltsev@gmail.com> | 2021-08-13 18:35:30 +0300 |
---|---|---|
committer | m417z <mmm.maltsev@gmail.com> | 2021-08-13 18:35:30 +0300 |
commit | 10d3f78e2dde01852b501cf823cab606f6727d02 (patch) | |
tree | 326ca038e558333f606a7a3bb5f815f4a0f946a2 | |
parent | 6ffd0190232c670fa08e01dd4f2907ee5785a335 (diff) |
Minor adjustments for consistency
-rw-r--r-- | build/VC12/libMinHook.vcxproj | 1 | ||||
-rw-r--r-- | build/VC14/libMinHook.vcxproj | 1 | ||||
-rw-r--r-- | build/VC15/libMinHook.vcxproj | 1 | ||||
-rw-r--r-- | src/hook.c | 4 |
4 files changed, 2 insertions, 5 deletions
diff --git a/build/VC12/libMinHook.vcxproj b/build/VC12/libMinHook.vcxproj index 6b2a190..7e7fe8e 100644 --- a/build/VC12/libMinHook.vcxproj +++ b/build/VC12/libMinHook.vcxproj @@ -120,7 +120,6 @@ <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>None</DebugInformationFormat> <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> - <CompileAs>CompileAsC</CompileAs> <WholeProgramOptimization>true</WholeProgramOptimization> <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet> </ClCompile> diff --git a/build/VC14/libMinHook.vcxproj b/build/VC14/libMinHook.vcxproj index 263b811..a429e69 100644 --- a/build/VC14/libMinHook.vcxproj +++ b/build/VC14/libMinHook.vcxproj @@ -120,7 +120,6 @@ <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>None</DebugInformationFormat> <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> - <CompileAs>CompileAsC</CompileAs> <WholeProgramOptimization>true</WholeProgramOptimization> <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet> </ClCompile> diff --git a/build/VC15/libMinHook.vcxproj b/build/VC15/libMinHook.vcxproj index 0d4352e..829ac34 100644 --- a/build/VC15/libMinHook.vcxproj +++ b/build/VC15/libMinHook.vcxproj @@ -120,7 +120,6 @@ <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>None</DebugInformationFormat> <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> - <CompileAs>CompileAsC</CompileAs> <WholeProgramOptimization>true</WholeProgramOptimization> <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet> </ClCompile> @@ -140,7 +140,7 @@ static PHOOK_ENTRY AddHookEntry() } //------------------------------------------------------------------------- -static void DeleteHookEntry(UINT pos) +static VOID DeleteHookEntry(UINT pos) { if (pos < g_hooks.size - 1) g_hooks.pItems[pos] = g_hooks.pItems[g_hooks.size - 1]; @@ -196,7 +196,7 @@ static DWORD_PTR FindNewIP(PHOOK_ENTRY pHook, DWORD_PTR ip) } //------------------------------------------------------------------------- -static void ProcessThreadIPs(HANDLE hThread, UINT pos, UINT action) +static VOID ProcessThreadIPs(HANDLE hThread, UINT pos, UINT action) { // If the thread suspended in the overwritten area, // move IP to the proper address. |