public static extern int EnumChildWindows(int hWndParent, LpfnDelegate lpfn, int lParam);
//EnumWindows函数,EnumWindowsProc 为处理函数 public static extern int EnumWindows(LpfnDelegate lpfn, int lParam);