Obtains the current VBL timer values.
int32 GetVBLTime (Item ioreq, uint32 *hiorder, uint32 *loworder)
This function obtains the current value of the system VBL timer and stores the results at *hiorder and *loworder. Either pointer can be NULL. The loworder part of the VBL timer is generally of most interest, it doesn't roll over into the high-order part until roughly 800 days of continuous running without a reboot.
GetTimerIOReq()
, or zero to have an IOReq dynamically created/deleted during the call.The low-order portion of the VBL time (a positive value), or a negative error code.
Library call implemented in lib3do.lib.
lib3do.lib, timerutils.h