Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Get_Last_Updated_System_Time
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
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.
 
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 ½
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