DRAFT |
SDL_GetDisplayName
Use this function to get the name of a display in UTF-8 encoding.
Contents
Syntax
const char* SDL_GetDisplayName(int displayIndex)
Function Parameters
displayIndex |
the index of display from which the name should be queried |
Return Value
Returns the name of a display or NULL for an invalid display index or failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Version
This function is available since SDL 2.0.0.