Example #1
0
        /// <summary>
        /// Handles 32/64 bit differences
        /// </summary>
        public static IntPtr GetWindowLongPtr(IntPtr hWnd, GwlIndex nIndex)
        {
            if (Is32BitProcess())
            {
                return((IntPtr)GetWindowLongPtr32(hWnd, (int)nIndex));
            }

            return(GetWindowLongPtr64(hWnd, (int)nIndex));
        }
Example #2
0
 public static extern IntPtr SetWindowLong(IntPtr hwnd, GwlIndex gwlIndex, int newLong);
Example #3
0
 public static extern int GetWindowLong(IntPtr hwnd, GwlIndex gwlindex);
Example #4
0
 public static extern int SetWindowLong(IntPtr hWnd, GwlIndex nIndex, int dwNewLong);
Example #5
0
 public static extern int GetWindowLong(IntPtr hWnd, GwlIndex nIndex);
Example #6
0
 public static extern int SetWindowLong(IntPtr hWnd, GwlIndex nIndex, int dwNewLong);
Example #7
0
 public static extern int GetWindowLong(IntPtr hWnd, GwlIndex nIndex);