[DllImport("User32.dll")] public static extern int EnumChildWindows(int hWndParent, EnumChildWindowsProc callback, int lParam); public delegate int EnumChildWindowsProc(int hWnd, int lParam);