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

# GetBitmapBits(3w)

## NAME

**GetBitmapBits** (GDI32.@)

## SYNOPSIS

LONG GetBitmapBits\
  (\
   HBITMAP *hbitmap*,\
   LONG    *count*,\
   LPVOID  *bits*\
  )

## PARAMS

*hbitmap* **\[In\]**  Handle to bitmap.

*count* **\[In\]**  Number of bytes to copy.

*bits* **\[Out\]**  Pointer to buffer to receive *bits*.

## DESCRIPTION

Copies bitmap *bits* of bitmap to buffer.

## RETURNS

**Success:** Number of bytes copied

**Failure:** **0**

## IMPLEMENTATION

Declared in **"gdi\_private.h"**.

Implemented in **"dlls/gdi32/bitmap.c"**.

Debug channel **"bitmap"**.
