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

# CreateDiscardableBitmap(3w)

## NAME

**CreateDiscardableBitmap** (GDI32.@)

## SYNOPSIS

HBITMAP CreateDiscardableBitmap\
  (\
   HDC *hdc*,\
   INT *width*,\
   INT *height*\
  )

## PARAMS

*hdc* **\[In\]**  Handle to device context.

*width* **\[In\]**  Bitmap *width*.

*height* **\[In\]**  Bitmap *height*.

## DESCRIPTION

Creates a discardable bitmap.

## RETURNS

**Success:** Handle to bitmap

**Failure:** **NULL**

## IMPLEMENTATION

Declared in **"wingdi.h"**.

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

Debug channel **"bitmap"**.
