Tao.Sdl SDK Documentation

Sdl.SDL_GetTicks Method 

Get the number of milliseconds since the SDL library initialization.

[Visual Basic]
Public Shared Function SDL_GetTicks() As Integer
[C#]
public static int SDL_GetTicks();

Return Value

The number of milliseconds since SDL was initialized.

Remarks

Note that this value wraps if the program runs for more than ~49 days.

Binds to C-function call in SDL_timer.h:

extern DECLSPEC Uint32 SDLCALL SDL_GetTicks(void)

See Also

Sdl Class | Tao.Sdl Namespace | SDL_Delay