Click or drag to resize
Xcalibur Systems LLC Logo

EventHelper Methods

The EventHelper type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCallNextHookEx Passes the hook information to the next hook procedure in the current hook chain. A hook procedure can call this function either before or after processing the hook information.

CallNextHookEx function

Public methodStatic memberGetKeyState Retrieves the status of the specified virtual key. The status specifies whether the key is up, down, or toggled (on, off—alternating each time the key is pressed).

GetKeyState function

Public methodStatic memberGetLastError Retrieves the calling thread's last-error code value. The last-error code is maintained on a per-thread basis. Multiple threads do not overwrite each other's last-error code.
Public methodStatic memberGetModuleHandle Retrieves a module handle for the specified module. The module must have been loaded by the calling process.

GetModuleHandle function

Public methodStatic memberLoadLibrary Loads the specified module into the address space of the calling process. The specified module may cause other modules to be loaded.

LoadLibrary function

Public methodStatic memberSetWindowsHookEx Installs an application-defined hook procedure into a hook chain. You would install a hook procedure to monitor the system for certain types of events. These events are associated either with a specific thread or with all threads in the same desktop as the calling thread.

SetWindowsHookEx function

Public methodStatic memberUnhookWindowsHookEx Removes a hook procedure installed in a hook chain by the SetWindowsHookEx function.

UnhookWindowsHookEx function

Top
See Also