(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_GetClipboardUserdata

Retrieve previously set userdata if any.

Syntax

void* SDL_GetClipboardUserdata(void);

Return Value

Returns a pointer to the data or NULL if no data exists

Version

This function is available since SDL 3.0.0.


CategoryAPI