SDL_StringToGUID - Man Page

Convert a GUID string into a SDL_GUID structure.

Synopsis

#include <SDL3/SDL_guid.h>

SDL_GUID SDL_StringToGUID(const char *pchGUID);

Description

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.

Function Parameters

pchGUID

string containing an ASCII representation of a GUID.

Return Value

Returns a SDL_GUID structure.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_GUIDToString(3)

Referenced By

SDL_GUIDToString(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS