Function SDL_StringToGUID

pub unsafe extern "C" fn SDL_StringToGUID(
    pchGUID: *const i8,
) -> SDL_GUID
Available on crate feature dep_sdl3 only.
Expand description

Convert a GUID string into a SDL_GUID structure.

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.

§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