MKI_BitmapLoadImage (Bitmaps) Changed in Version 2015.2

www.CAD6.com

C++ Syntax

MKI_BITMAP_PTR

MKI_BitmapLoadImage(

 const LPCWSTR f_pszBitmapName );

 

Loads a bitmap into memory as a 32-bit RGBA bitmap and returns its address. This address is NOT a standard Windows bitmap handle!

 

If no longer used, the bitmap memory must be freed using MKI_BitmapFreeImage.

 

Parameters

BitmapName

[const LPCWSTR] File name of the source bitmap file. This file must contain a portable network graphic (PNG) or any other format currently supported. Any non-RGBA bitmap will be converted to 32-bit RGBA format with a constant alpha of 255 (opaque).

 

Return Value

Returns a non-zero bitmap address if successful. This handle identifies a 32-bit RGBA bitmap and can be passed on to a MKI_ICON_DATA structure.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH