Skip to content

Commit 426f7c9

Browse files
HookDll new lots of source file
1 parent 8dbbf34 commit 426f7c9

File tree

9 files changed

+54
-0
lines changed

9 files changed

+54
-0
lines changed

APIHOOK/HookDll/FileAPI.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#include "stdafx.h"
2+
#include "FileAPI.h"

APIHOOK/HookDll/FileAPI.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#pragma once
2+
3+
#include "SendLog.h"

APIHOOK/HookDll/HookDll.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,16 @@
22
//
33

44
#include "stdafx.h"
5+
#include "HookDll.h"
56

67

8+
void DoHook()
9+
{
10+
11+
}
12+
13+
14+
void DoUnHook()
15+
{
16+
17+
}

APIHOOK/HookDll/HookDll.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#pragma once
2+
3+
#include "FileAPI.h"
4+
5+
void DoHook();
6+
void DoUnHook();

APIHOOK/HookDll/HookDll.vcxproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,17 @@
144144
</ItemDefinitionGroup>
145145
<ItemGroup>
146146
<ClInclude Include="easyhook.h" />
147+
<ClInclude Include="FileAPI.h" />
148+
<ClInclude Include="HookDll.h" />
149+
<ClInclude Include="SendLog.h" />
147150
<ClInclude Include="stdafx.h" />
148151
<ClInclude Include="targetver.h" />
149152
</ItemGroup>
150153
<ItemGroup>
151154
<ClCompile Include="dllmain.cpp" />
155+
<ClCompile Include="FileAPI.cpp" />
152156
<ClCompile Include="HookDll.cpp" />
157+
<ClCompile Include="SendLog.cpp" />
153158
<ClCompile Include="stdafx.cpp">
154159
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
155160
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>

APIHOOK/HookDll/HookDll.vcxproj.filters

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@
2424
<ClInclude Include="easyhook.h">
2525
<Filter>头文件</Filter>
2626
</ClInclude>
27+
<ClInclude Include="HookDll.h">
28+
<Filter>头文件</Filter>
29+
</ClInclude>
30+
<ClInclude Include="FileAPI.h">
31+
<Filter>头文件</Filter>
32+
</ClInclude>
33+
<ClInclude Include="SendLog.h">
34+
<Filter>头文件</Filter>
35+
</ClInclude>
2736
</ItemGroup>
2837
<ItemGroup>
2938
<ClCompile Include="stdafx.cpp">
@@ -35,6 +44,12 @@
3544
<ClCompile Include="dllmain.cpp">
3645
<Filter>源文件</Filter>
3746
</ClCompile>
47+
<ClCompile Include="FileAPI.cpp">
48+
<Filter>源文件</Filter>
49+
</ClCompile>
50+
<ClCompile Include="SendLog.cpp">
51+
<Filter>源文件</Filter>
52+
</ClCompile>
3853
</ItemGroup>
3954
<ItemGroup>
4055
<Library Include="EasyHook64.lib">

APIHOOK/HookDll/SendLog.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include "stdafx.h"
2+
#include "SendLog.h"
3+
4+
void SendLog()
5+
{
6+
7+
}

APIHOOK/HookDll/SendLog.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#pragma once
2+
3+
void SendLog()

APIHOOK/HookDll/dllmain.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// dllmain.cpp : 定义 DLL 应用程序的入口点。
22
#include "stdafx.h"
3+
#include "HookDll.h"
4+
35

46
BOOL APIENTRY DllMain( HMODULE hModule,
57
DWORD ul_reason_for_call,

0 commit comments

Comments
 (0)