logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_StringToGUID - Convert a GUID string into a SDL_GUID

Availability

       This function is available since SDL 3.2.0.

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.

Header File

       Defined in SDL3/SDL_guid.h

Name

       SDL_StringToGUID - Convert a GUID string into a SDL_GUID
        structure.

Return Value

       ( SDL_GUID ) Returns a SDL_GUID
        structure.

See Also

(3), SDL_GUIDToString(3)

Simple Directmedia Layer                           SDL 3.2.10                                SDL_StringToGUID(3)

Synopsis

#include"SDL3/SDL.h"SDL_GUIDSDL_StringToGUID(constchar*pchGUID);

Thread Safety

       It is safe to call this function from any thread.

See Also