/// <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)); }
public static extern IntPtr SetWindowLong(IntPtr hwnd, GwlIndex gwlIndex, int newLong);
public static extern int GetWindowLong(IntPtr hwnd, GwlIndex gwlindex);
public static extern int SetWindowLong(IntPtr hWnd, GwlIndex nIndex, int dwNewLong);
public static extern int GetWindowLong(IntPtr hWnd, GwlIndex nIndex);