GetScrollInfo function Null safety user32

int GetScrollInfo(
  1. int hwnd,
  2. int nBar,
  3. Pointer<SCROLLINFO> lpsi

The GetScrollInfo function retrieves the parameters of a scroll bar, including the minimum and maximum scrolling positions, the page size, and the position of the scroll box (thumb).

BOOL GetScrollInfo(
  HWND         hwnd,
  int          nBar,


int GetScrollInfo(int hwnd, int nBar, Pointer<SCROLLINFO> lpsi) =>
    _GetScrollInfo(hwnd, nBar, lpsi);