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); }
public static extern long SetWindowLong64(IntPtr window, GetWindowLongOffset offset, long newValue);
public static extern int SetWindowLong32(IntPtr window, GetWindowLongOffset offset, int newValue);
public static extern long GetWindowLong64(IntPtr window, GetWindowLongOffset offset);
public static extern int GetWindowLong32(IntPtr window, GetWindowLongOffset offset);
private static extern long GetWindowLong(IntPtr hWnd, GetWindowLongOffset nIndex);