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