Exemplo n.º 1
0
 internal static extern IntPtr SetMSGWindowsHookEx(int code, MSGCallback callbackFunction, IntPtr handleToInstance,
                                                   int threadID);
Exemplo n.º 2
0
 internal static extern IntPtr SetMSGWindowsHookEx(int code, MSGCallback callbackFunction, IntPtr handleToInstance,
     int threadID);
Exemplo n.º 3
0
 /// <summary>
 /// Creates a local message hook and hooks it.
 /// </summary>
 /// <param name="callback"></param>
 public LocalMessageHook(MSGCallback callback)
     : this()
 {
     this.MSGOccurred = callback;
     StartHook();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Creates a local message hook and hooks it.
 /// </summary>
 /// <param name="callback"></param>
 public LocalMessageHook(MSGCallback callback)
     : this()
 {
     this.MSGOccurred = callback;
     StartHook();
 }