DOKK / manpages / debian 13 / libsdl3-doc / SDL_StringToGUID.3.en
SDL_StringToGUID(3) SDL3 FUNCTIONS SDL_StringToGUID(3)

SDL_StringToGUID - Convert a GUID string into a SDL_GUID
structure.

Defined in SDL3/SDL_guid.h

#include "SDL3/SDL.h"
SDL_GUID SDL_StringToGUID(const char *pchGUID);

Performs no error checking. If this function is given a string containing an invalid GUID, the function will silently succeed, but the GUID generated will not be useful.

string containing an ASCII representation of a GUID.

( SDL_GUID ) Returns a SDL_GUID
structure.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

(3), SDL_GUIDToString(3)

SDL 3.2.10 Simple Directmedia Layer