GetScrollPos

[DllImport("user32.dll", SetLastError = true)]
public static extern int GetScrollPos(
   IntPtr hWnd,
   int nBar
);

Microsoft documentation: Link

Last updated