コード例 #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
ファイル: Console.cs プロジェクト: ForNeVeR/PoshConsole
 public static extern int SetWindowLong(IntPtr hWnd, GwlIndex nIndex, int dwNewLong);
コード例 #7
0
ファイル: Console.cs プロジェクト: ForNeVeR/PoshConsole
 public static extern int GetWindowLong(IntPtr hWnd, GwlIndex nIndex);