Sign in Join
FPDoc Onlineexperiment

TWidgetSet.CreateDIBitmap function

Member of TWidgetSetpublicIn unit InterfaceBase

Creates a Device Dependent Bitmap (DDB) from a Device Independent Bitmap (DIB).

Declaration

pascal
function CreateDIBitmap(DC: HDC; var InfoHeader: TBitmapInfoHeader; 
 dwUsage: DWORD; InitBits: PChar; 
 var InitInfo: TBitmapInfo; wUsage: UINT)
: HBITMAP; virtual

Arguments

DC

The context for the DDB.

InfoHeader
dwUsage
InitBits

An array containing the bitmap pixels.

InitInfo

CBM_INIT when InitBits contains valid data, else zero.

wUsage

Function result

The bitmap handle, zero on failure.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.