Get_Last_Updated_System_Time

include vmm.inc

VMMcall Get_Last_Updated_System_Time

mov [SysTime], eax ; system time in milliseconds


The Get_Last_Updated_System_Time service returns the time in milliseconds since Windows was started. This service is accurate to approximately 50 milliseconds.

This is an asynchronous service.

Parameters

This service has no parameters.

Return Value

The EAX register contains the elapsed time in milliseconds since Windows started.

Comments

This service does not detect rollover of the clock which occurs every 49 1/2 days. If a virtual device is sensitive to rollover, it should schedule a time out every 30 days.

Although the Get_System_Time service is more accurate than this service, Get_System_Time must call the timer device to update the clock so it is slower than Get_Last_Updated_System_Time.

Uses

EAX, Flags

See Also

Get_System_Time