Desktop Functions: Smart Device Functions:
|
enumwindows (user32)
C# Signature:
[DllImport("user32.dll")] User-Defined Types:None. Notes:Callback EnumWindowsProc should return true to continue enumerating or false to stop. Tips & Tricks:Please add some! SAMPLE CODE!!public delegate bool CallBackPtr(int hwnd, int lParam); public class EnumReport { [DllImport("user32.dll")] public static extern int EnumWindows(CallBackPtr callPtr, int lPar); public static bool Report(int hwnd, int lParam)
{ } void Main() { CallBackPtr callBackPtr = new CallBackPtr(EnumReport.Report); EnumReport.EnumWindows(callBackPtr, 0); } Alternative Managed API:Do you know one? Please contribute it! 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). |
|