Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2011-01-01 20:57:54
Size: 623
Editor: SheenaSmith
Comment: update formatting - enums, structs, the/an
Revision 7 as of 2017-07-14 21:55:00
Size: 696
Comment: Fixed return value description.
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
Returns the ID of the window. Returns the ID of the window on success or 0 on failure; call [[SDL_GetError]]() for more information.

SDL_GetWindowID

Use this function to get the numeric ID of a window, for logging purposes.

Syntax

Uint32 SDL_GetWindowID(SDL_Window* window)

Function Parameters

window

the window to query

Return Value

Returns the ID of the window on success or 0 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_GetWindowID (last edited 2017-07-14 21:56:25 by PhilippWiesemann)

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