April 17, 2024

Dynamic Windows Function [dw_window_get_font]

Syntax

char * dw_window_get_font(HWND handle)

Parameters

HWND handle: The window handle from which to obtain the font.

Returns

char * A malloc()ed font name string to be dw_free()ed or NULL on error.

Description

Returns the current font for the specified window

Remarks

This API was introduced in version 2.0.

Use dw_free() to free the buffer when done.