Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2010-09-07 02:51:02
Size: 683
Editor: SheenaSmith
Comment: add RF
Revision 6 as of 2011-03-04 21:29:56
Size: 729
Editor: SheenaSmith
Comment: update content - 2/28 5421 (2/10 5244)
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Use this function to return the number of available display modes for the current display. Use this function to return the number of available display modes.
Line 11: Line 11:
int SDL_GetNumDisplayModes(void) int SDL_GetNumDisplayModes(int displayIndex)
Line 13: Line 13:

== Function Parameters ==
||'''displayIndex'''||the index of the display to query||
Line 27: Line 30:
 .[[SDL_SelectVideoDisplay]]

SDL_GetNumDisplayModes

Use this function to return the number of available display modes.

Syntax

int SDL_GetNumDisplayModes(int displayIndex)

Function Parameters

displayIndex

the index of the display to query

Return Value

Returns a number >= 1 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_GetNumDisplayModes (last edited 2019-05-09 16:22:25 by gerstrong)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit