December 21, 2024

Dynamic Windows Function [dw_clipboard_get_text]

Syntax

char * dw_clipboard_get_text(void)

Returns

char * Pointer to an allocated string of text or NULL if clipboard empty or contents could not be converted to text.

Description

Gets the contents of the default clipboard as text.

Remarks

Must free the result with dw_free() if it is not NULL.