December 21, 2024

Dynamic Windows Function [dw_pixmap_new_from_data]

Syntax

HPIXMAP dw_pixmap_new_from_data(HWND handle, char *data, int len)

Parameters

HWND handle: Window handle the pixmap is associated with.
char *data: Source of the image data (BMP on OS/2 or Windows, XPM on Unix, PNG on Mac)
int len: Length of data

Returns

HPIXMAP A handle to a pixmap or NULL on failure.

Description

Creates a pixmap from data in memory.