private long GetWindowLong(GetWindowLongOffset offset)
        {
            CheckWindow();

            return IsLong32 ?
                Functions.GetWindowLong32(window, offset) :
                Functions.GetWindowLong64(window, offset);
        }
        private long SetWindowLong(GetWindowLongOffset offset, long newValue)
        {
            CheckWindow();

            return IsLong32 ?
                Functions.SetWindowLong32(window, offset, (int)newValue) :
                Functions.SetWindowLong64(window, offset, newValue);
        }
Example #3
0
 public static extern long SetWindowLong64(IntPtr window, GetWindowLongOffset offset, long newValue);
Example #4
0
 public static extern int SetWindowLong32(IntPtr window, GetWindowLongOffset offset, int newValue);
Example #5
0
 public static extern long GetWindowLong64(IntPtr window, GetWindowLongOffset offset);
Example #6
0
 public static extern int GetWindowLong32(IntPtr window, GetWindowLongOffset offset);
Example #7
0
 private static extern long GetWindowLong(IntPtr hWnd, GetWindowLongOffset nIndex);