Desktop Functions: Smart Device Functions:
|
SetWinEventHook (user32)
C# Signature:
[DllImport("user32.dll")] User-Defined Types:Notes:The MSDN documentation states: When you use a Win32 API that has a callback in managed code, such as SetWinEventHook, you should use GCHandle class structure to avoid exceptions. This is apparently not accurate as the P/Invoke layer automatically generates a marshaling stub at a fixed address: http://blogs.msdn.com/cbrumme/archive/2003/05/06/51385.aspx Tips & Tricks:Please add some! Sample Code:Please add some! Alternative Managed API:The ManagedWindowsApi project (http://mwinapi.sourceforge.net) provides a SystemAccessibleObject class to access accessible objects and handle accessible events. Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|