Scroll to navigation

SDL_StringToGUID(3) SDL3 FUNCTIONS SDL_StringToGUID(3)

NAME

SDL_StringToGUID - Convert a GUID string into a SDL_GUID
structure.

HEADER FILE

Defined in SDL3/SDL_guid.h

SYNOPSIS

#include "SDL3/SDL.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

string containing an ASCII representation of a GUID.

RETURN VALUE

( SDL_GUID ) Returns a SDL_GUID
structure.

AVAILABILITY

This function is available since SDL 3.1.3.

SEE ALSO

(3), SDL_GUIDToString(3)

SDL 3.1.6 Simple Directmedia Layer