Esempio n. 1
0
        public List <IntPtr> EnumWindows_Renamed()
        {
            var handleList = new List <IntPtr>();

            HandleLists.Add(handleList);
            var handleIndex = (IntPtr)HandleLists.IndexOf(handleList);

            NativeMethods.EnumWindows(EnumCallback, handleIndex);
            HandleLists.Remove(handleList);

            return(handleList);
        }
Esempio n. 2
0
        public List <IntPtr> EnumChildWindows(IntPtr hWndParent)
        {
            List <IntPtr> handleList = new List <IntPtr>();

            HandleLists.Add(handleList);
            int handleIndex = HandleLists.IndexOf(handleList);

            Win32.EnumChildWindows(hWndParent, EnumCallback, handleIndex);
            HandleLists.Remove(handleList);

            return(handleList);
        }
Esempio n. 3
0
        public List <IntPtr> EnumChildWindows(IntPtr hWndParent)
        {
            var handleList = new List <IntPtr>();

            HandleLists.Add(handleList);
            var handleIndex = (IntPtr)HandleLists.IndexOf(handleList);

            NativeMethods.EnumChildWindows(hWndParent, EnumCallback, handleIndex);
            HandleLists.Remove(handleList);

            return(handleList);
        }
Esempio n. 4
0
        public List <IntPtr> EnumWindows_Renamed()
        {
            List <IntPtr> handleList = new List <IntPtr>();

            HandleLists.Add(handleList);
            int handleIndex = HandleLists.IndexOf(handleList);

            Win32.EnumWindows(EnumCallback, handleIndex);
            HandleLists.Remove(handleList);

            return(handleList);
        }