Description:
extern "C" __declspec(dllexport) BOOL InstallHook(HWND handle)
{
hhook = ::SetWindowsHookEx(WH_SHELL, MyShellProc, GetModuleHandle("Hook.dll"), 0)
hWnd = handle
RegMonPID = GetCurrentProcessId()
return hhook > 0
}
- [hook] - Linked to (HOOK) The basic principle art
- [keybhook_app] - Dynamically linked applications, the cod
File list (Check if you may need any files):
Hook-registry-monitor\Debug\RegistryMoniter.exe
.....................\detours.h
.....................\detours.lib
.....................\Hook.aps
.....................\Hook.clw
.....................\Hook.cpp
.....................\Hook.def
.....................\Hook.dsp
.....................\Hook.dsw
.....................\Hook.h
.....................\Hook.ncb
.....................\Hook.opt
.....................\Hook.plg
.....................\Hook.rc
.....................\ReadMe.txt
.....................\res\Hook.rc2
.....................\Resource.h
.....................\StdAfx.cpp
.....................\StdAfx.h
.....................\Debug
.....................\res
Hook-registry-monitor