Set Millisecs() ?

Blitz3D Forums/Blitz3D Userlibs/Set Millisecs() ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Probably it's possible to reset the Millisecs Timer with the Function "SetSystemTime" of kernel32.dll. It expects a pointer to a struct that looks like:

Private Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type

I wonder if wMilliseconds holds the TickCount Value, or only the Millisecs between the current and the next second.