Wiki Page Content

Revision 1 as of 2010-05-18 00:23:27

Clear message

DRAFT

SDL_AddTimer

Use this function to add a new timer to the pool of timers already running.

Syntax

SDL_TimerID SDL_AddTimer(Uint32               interval,
                         SDL_NewTimerCallback callback,
                         void*                param)

Function Parameters

interval

the time, in milliseconds, to wait/cycle

callback

the callback function to run

param

a pointer to the parameters of the timer ???

Return Value

Returns a timer ID, or NULL when an error occurs; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryTimer

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