Unit 'LCLIntf' Package
[Overview][Types][Procedures and functions][Variables][Index] [#lcl]

CreateDIBitmap

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

Declaration

Source position: winapih.inc line 54

function CreateDIBitmap(

  DC: HDC;

  var InfoHeader: TBitmapInfoHeader;

  dwUsage: DWORD;

  InitBits: PChar;

  var InitInfo: TBitmapInfo;

  wUsage: UINT

):HBITMAP;

Arguments

DC

  

The context for the DDB.

InfoHeader

  

The bitmap info header.

InitBits

  

An array containing the bitmap pixels.

InitInfo

  

CBM_INIT when InitBits contains valid data, else zero.

Function result

The bitmap handle, zero on failure.



CT Web help

CodeTyphon Studio