Get an ASCII string representation for a given ::SDL_GUID.
int SDL_GUIDToString(SDL_GUID guid, char *pszGUID, int cbGUID);
guid | the ::SDL_GUID you wish to convert to string |
pszGUID | buffer in which to write the ASCII string |
cbGUID | the size of pszGUID |
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
You should supply at least 33 bytes for pszGUID.
This function is available since SDL 3.0.0.