Skip to content

Latest commit

 

History

History
87 lines (68 loc) · 2.33 KB

nf-wingdi-getbitmapbits.md

File metadata and controls

87 lines (68 loc) · 2.33 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wingdi.GetBitmapBits
GetBitmapBits function (wingdi.h)
The GetBitmapBits function copies the bitmap bits of a specified device-dependent bitmap into a buffer.
GetBitmapBits
GetBitmapBits function [Windows GDI]
_win32_GetBitmapBits
gdi.getbitmapbits
wingdi/GetBitmapBits
gdi\getbitmapbits.htm
gdi
72e8cc6b-d282-451e-b6ec-0473d2daea7c
12/05/2018
GetBitmapBits, GetBitmapBits function [Windows GDI], _win32_GetBitmapBits, gdi.getbitmapbits, wingdi/GetBitmapBits
wingdi.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Gdi32.lib
Gdi32.dll
Windows
19H1
GetBitmapBits
wingdi/GetBitmapBits
c++
APIRef
kbSyntax
DllExport
gdi32.dll
Ext-MS-Win-GDI-Draw-l1-1-0.dll
Ext-MS-Win-GDI-Draw-l1-1-1.dll
ext-ms-win-gdi-draw-l1-1-2.dll
Ext-MS-Win-GDI-Draw-L1-1-3.dll
GDI32Full.dll
GetBitmapBits

GetBitmapBits function

-description

The GetBitmapBits function copies the bitmap bits of a specified device-dependent bitmap into a buffer.

Note  This function is provided only for compatibility with 16-bit versions of Windows. Applications should use the GetDIBits function.
 

-parameters

-param hbit [in]

A handle to the device-dependent bitmap.

-param cb [in]

The number of bytes to copy from the bitmap into the buffer.

-param lpvBits [out]

A pointer to a buffer to receive the bitmap bits. The bits are stored as an array of byte values.

-returns

If the function succeeds, the return value is the number of bytes copied to the buffer.

If the function fails, the return value is zero.

-see-also

Bitmap Functions

Bitmaps Overview