Platform |
Win32, x64 |
Purpose |
To create a bitmap from bitmap data. |
Syntax |
INTEGER(7) FUNCTION CREATE_BITMAP@( PTR ) |
Description |
Creates a bitmap from a pointer to data that is in the same format as a .BMP file. When the program is terminated the bitmap will be deleted. The function returns a handle that can be used with %`bm or in Windows API functions that require a HBITMAP handle. |
Return value |
Returns a handle to the new bitmap. A zero return indicates failure. |
See also |