public static IntPtr GetClassLongPtr(HWnd hWnd, GetClassLongVal nIndex) { if (IntPtr.Size > 4) { return(GetClassLong64(hWnd, nIndex)); } else { return(GetClassLong32(hWnd, nIndex)); } }
public static extern IntPtr GetClassLong64(HWnd hWnd, GetClassLongVal nIndex);
public IntPtr GetClassLongPtr(GetClassLongVal index) { return(User32.GetClassLongPtr(this, index)); }