---
name: "GetScrollInfo"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetScrollInfo"
---

# GetScrollInfo(3w)

## NAME

**GetScrollInfo** (USER32.@)

## SYNOPSIS

BOOL GetScrollInfo\
  (\
   HWND         *hwnd*,\
   INT          *nBar*,\
   LPSCROLLINFO *info*\
  )

## DESCRIPTION

GetScrollInfo can be used to retrieve the position, upper bound, lower bound, and page size of a scrollbar control.

## PARAMS

*hwnd* **\[In\]**  Handle of window with scrollbar(s).

*nBar* **\[In\]**  One of **SB\_HORZ**, **SB\_VERT**, or **SB\_CTL**.

*info* **\[IO\]**  fMask specifies which values to retrieve.

## RETURNS

**TRUE** if **SCROLLINFO** is filled ( if *nBar* is **SB\_CTL**, GetScrollInfo returns **TRUE** even if nothing is filled)

## IMPLEMENTATION

Declared in **"commctrl.h"**.

Implemented in **"dlls/user32/scroll.c"**.

Debug channel **"scroll"**.
