static public extern int GetScrollInfo(IntPtr hwnd, int bar, ref SCROLLINFO si); [DllImport("user32.dll", CharSet=CharSet.Auto)]