April 19, 2024

Dynamic Windows Function [dw_window_get_text]

Syntax

char * dw_window_get_text(HWND handle)

Parameters

HWND handle: Handle to the window.

Returns

char * A malloc()ed buffer of text associated with the given window or NULL on error.

Description

Gets the text used for a given window.

Remarks

Use dw_free() to free the buffer when done.