December 21, 2024

Dynamic Windows Function [dw_pixmap_new]

Syntax

HPIXMAP dw_pixmap_new(HWND handle, unsigned long width, unsigned long height, int depth)

Parameters

HWND handle: Window handle the pixmap is associated with.
unsigned long width: Width of the pixmap in pixels.
unsigned long height: Height of the pixmap in pixels.
int depth: Color depth of the pixmap.

Returns

HPIXMAP A handle to a pixmap or NULL on failure.

Description

Creates a pixmap with given parameters.