Exemple #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));
        }
Exemple #2
0
 public static extern IntPtr SetWindowLong(IntPtr hwnd, GwlIndex gwlIndex, int newLong);
Exemple #3
0
 public static extern int GetWindowLong(IntPtr hwnd, GwlIndex gwlindex);
Exemple #4
0
 public static extern int SetWindowLong(IntPtr hWnd, GwlIndex nIndex, int dwNewLong);
Exemple #5
0
 public static extern int GetWindowLong(IntPtr hWnd, GwlIndex nIndex);
Exemple #6
0
 public static extern int SetWindowLong(IntPtr hWnd, GwlIndex nIndex, int dwNewLong);
Exemple #7
0
 public static extern int GetWindowLong(IntPtr hWnd, GwlIndex nIndex);