⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shellhook.htm

📁 键盘钩子程序及控件, C++ Builder 和DELPHI可用
💻 HTM
字号:
<HTML>
<HEAD>
<TITLE>Delphi Shell Hook</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META name="DESCRIPTION" content="Delphi Shell Hook">
<META name="KEYWORDS" content="delphi,shell,hook,global,system,wh_shell,setwindowshook,windows,source,dll,shell hook">
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000">
<B><FONT face="Verdana, Arial, Helvetica, sans-serif" size="4">TCPShellHook</FONT></B><FONT face="Verdana, Arial, Helvetica, sans-serif"><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size="4">&reg;</FONT></B> 
<FONT size="2">Global Shell and Window Hook DLL for Borland Delphi.</FONT></FONT> 
<HR noshade size="1">
<FONT face="Verdana, Arial, Helvetica, sans-serif"><FONT size="2"><B>Version</B>: 
1.1<BR>
</FONT><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B> Delphi Versions: </B>5/6/7/8/2005/2006<BR>
</b></FONT><FONT size="2"><B>Developer</B>: BITLOGIC Software Solutions <BR>
<B>Copyright</B>: BITLOGIC &copy; 2005<BR>
<B>E-Mail</B>: <A href="mailto:development@bitlogic.co.uk">development@bitlogic.co.uk</A><BR>
<B>Web</B>: <A href="http://www.bitlogic.co.uk">www.bitlogic.co.uk</A></FONT></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><BR>
<B><BR>
</B>
<B>
Download: </B><A href="http://www.bitlogic.co.uk/downloads/shellhook.zip">shellhook.zip</A></FONT><BR>
<FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><SPAN class="text_main"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>Purchase Online:</B> <A href="https://secure.shareit.com/shareit/checkout.html?productid=300019474&language=English">DLL Licence Keys only</A><BR>
<FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>Purchase Online:</B> <A href="https://secure.shareit.com/shareit/checkout.html?productid=300019472&language=English">DLL Source Code & Licence Keys</A></FONT></FONT></FONT></FONT></FONT></FONT></FONT></SPAN><SPAN class="text_main"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><BR>
<BR>
This component is also included in the <A href="http://www.bitlogic.co.uk/products_borland_tcphookpack.htm">Delphi Hook Pack Collection</A>.</FONT></SPAN><BR>
</FONT>
<HR noshade size="1">
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="3"><B>Overview</B></FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Hooking into the 
  Windows API is a complicated process and there are several techniques to achieve 
  this.<BR>
  Microsoft recommends that the callback procedure for most hooks should reside 
  within a DLL, this is the<BR>
  method used by the TCPShellHook Component. This Component encapsulates the procedures 
  and functions<BR>
  within a separate DLL and uses Memory Mapped File (MMF) to send a custom message with the information <BR>
  to the calling application or process.
  The result is a global and system wide hook into all running processes.</FONT></P>
<P><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">TCPShellHook is a Component Class and DLL for Borland Delphi which functions as a Windows Shell Hook for<BR>
generating events when a Window or Application is Created, Activated and Destroyed. The events include<BR>
details such as Window Handle, Process ID, Window Title and Process Filename. </FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="3"><B>Component Features</B></FONT></P>
<UL>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Supports Windows 
    95/98/ME/NT/2000/XP<B>.</B></FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Ultra small 
    DLL with almost no overhead or impact on system resources.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"> Global, 
  System Wide Shell Hook on all running processes.</FONT></LI>
  <LI><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Details of Window Handle, Process ID, Window Title and Process Filename.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Event when a Shell Window is Created.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Event when a Shell Window is Activated. </FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Event when a Shell Window is Destroyed. </FONT></LI>
  <LI><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Custom message 
  can be set for communication with the DLL.</FONT></LI>
  <LI><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Install as a 
    Component or use Unit Class and DLL Functions directly.</FONT></LI>
</UL>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="3"><B>Component Usage</B></FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">You can use the 
TCPShellHook within your project to monitor  the Shell Events when Windows are<BR>
Created, Activated and Destroyed.</FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="3"><B>Component Installation</B></FONT></P>
<P><FONT color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><STRONG>Note: 
  ShellHook.Dll must be placed within the same directory as your project or system 
  path and also<BR>
within the same folder in which any application uses the Dll.</STRONG></FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">To use as a component, simply install 
  the registration file <FONT color="#0000CC">CPShellHookReg.pas</FONT> as a new 
  component into an existing<BR> 
  or new
  Package. TCPShellHook can also be created dynamicly by using the CPShellHook.pas 
  within your projects.<BR>
  Always place the <FONT color="#000099">ShellHook.DLL </FONT>into the same location 
as your project or anywhere the path can find it. </FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><I>Quick Start 
  Steps:</I></FONT></P>
<UL>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Place the component 
    into your current project.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Set the OnShell 
    Events.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Optionally set your Licence Code for non-trial use.</FONT></LI>
  <LI><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif">Optionally set 
    and register a custom UserHookMsg to WM_USER + [1 to 65535]</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Invoke the Function 
    Start_ShellHook. </FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Process the 
    OnShell Events.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Invoke the Function 
    Stop_ShellHook to stop the ShellHook.</FONT></LI>
</UL>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="3"><B>Methods, Events 
  &amp; Properties</B></FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><I>Methods:</I></FONT></P>
<UL>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>Start_ShellHook 
    </B> Function:Boolean Starts the ShellHook.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>Stop_ShellHook 
    </B> Function:Boolean Stops the ShellHook.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>UpdateHook</B> Function:Boolean Updates the Hook with new Property values. </FONT></LI>
</UL>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><I>Events:</I></FONT></P>
<UL>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>OnShellWindowCreated: </B>Shell Event For New Window Created.<BR>
    WindowID: HWnd = Handle of Window.</FONT></LI>
<LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>OnShellWindowActivated: </B>Shell Event For  Window being Activated.<BR>
WindowID: HWnd = Handle of Window.</FONT></LI>
<LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>OnShellWindowDestroyed: </B>Shell Event For  Window being Closed or Destroyed.<BR>
WindowID: HWnd = Handle of Window.</FONT></LI>
</UL>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><I>Properties:</I></FONT></P>
<UL>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>Enabled</B>: 
    Running Status of the ShellHook.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" 
size=2><B>HookLibLoaded</B>: Indication if ShellHook DLL Loaded successfully.</FONT>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" 
size=2><B>LicenceCode</B>: Licence Code string for removal of trial message.</FONT></LI>
  <LI><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif"><STRONG>WindowHandle:</STRONG> 
  Handle used by Component to receive Messages.</FONT></LI>
  <LI><FONT size="2" face="Verdana, Arial, Helvetica, sans-serif"><STRONG>UserHookMsg:</STRONG> 
    Custom WM_USER Message for communication with the DLL.</FONT></LI>
  <LI><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>Name:</B> 
    Name of Component.</FONT></LI>
</UL>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="3"><B>Licence Keys and Component Source Code</B></FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"> DLL Licence Keys (for trial notice removal) or Full Delphi Source code
is available to purchase below. <BR>
Purchasing entitles you to Free support and professional developer advice on using the components<BR>
within your projects. </FONT><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Developer support is provided via E-Mail and DLL component updates are free.</FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Unrestricted DLL &amp; Licence Key <FONT color="#990000"><B>$19.00 US Dollars</B></FONT><BR>
  Unrestricted DLL &amp; Licence Key <B><FONT color="#990000">&#8364;17.00 Euro<BR>
</FONT><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">Purchase Online: <A href="https://secure.shareit.com/shareit/checkout.html?productid=300019474&language=English"><B>Secure Order</B></A></FONT></B></FONT></P>
<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2">DLL Source Code &amp; Licence Key <FONT color="#990000"><B>$46.00 US Dollars</B></FONT><BR>
  DLL Source Code &amp; Licence Key <B><FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B><FONT color="#990000">&#8364;</FONT></B></FONT><FONT color="#990000">39.00 Euro<BR>
</FONT>Purchase Online:</B> <A href="https://secure.shareit.com/shareit/checkout.html?productid=300019472&language=English"><B>Secure Order</B></A></FONT></P>
<HR noshade size="1">
<FONT face="Verdana, Arial, Helvetica, sans-serif" size="2"><B><FONT color="#999999">BITLOGIC Software Developers </FONT></B><FONT color="#999999">of Desktop Software and Security Applications, Utilities and Components.</FONT></FONT> 
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -