HookLib

时间:2010-04-18 13:51:38
【文件属性】:

文件名称:HookLib

文件大小:21KB

文件格式:RAR

更新时间:2010-04-18 13:51:38

apihook hook library

////Hooking the function BOOL Initialize(PSTR pCalleeModule,PSTR pCalleeFunction,PROC HookFunction,TIsTargetModule pTargetModule); ////(input)pCalleeModule :the module where the original function exist; ////(input)pCalleeFunction :the original function you want to hook; ////(input)HookFunction :the hook function you programed and want to replace the original function; ////(input)pTargetModule :the function indicate that which module you want to hook // if pTargetModule is set to NULL, it will hook all module except this lib itself ////Return Value ////return TRUE means a successful hooking , otherwise FALSE ////


【文件预览】:
hook
----JHooker.dll(25KB)
----JHooker.h(3KB)
----JHooker.lib(4KB)

网友评论

  • 还不错的例子 但是需要做修改 否则做打开我的电脑影响很大
  • 把hook做成框架了,呵呵。inline hook