SDL 2.0
|
Go to the source code of this file.
Data Structures | |
struct | SDL_GUID |
Functions | |
void | SDL_GUIDToString (SDL_GUID guid, char *pszGUID, int cbGUID) |
SDL_GUID | SDL_GUIDFromString (const char *pchGUID) |
Include file for handling SDL_GUID values.
Definition in file SDL_guid.h.
SDL_GUID SDL_GUIDFromString | ( | const char * | pchGUID | ) |
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.
pchGUID | string containing an ASCII representation of a GUID |
void SDL_GUIDToString | ( | SDL_GUID | guid, |
char * | pszGUID, | ||
int | cbGUID | ||
) |
Get an ASCII string representation for a given SDL_GUID.
You should supply at least 33 bytes for pszGUID.
guid | the SDL_GUID you wish to convert to string |
pszGUID | buffer in which to write the ASCII string |
cbGUID | the size of pszGUID |