DosTmrQueryTime
Appearance
Description
Provides a snapshot of the time from the IRQ0 high resolution timer (Intel 8254).
Syntax
#define INCL_DOSPROFILE #include <os2.h> PQWORD pqwTmrTime; /* Time. */ APIRET rc; /* Return Code. */ rc = DosTmrQueryTime(pqwTmrTime);
Parameters
- pqwTmrTime (PQWORD) - output
- Time.
A snapshot of the time from the IRQ0 high resolution timer.
Return Code
rc (APIRET) - returns
DosTmrQueryTime returns the following values:
- 0 NO_ERROR
- 87 ERROR_INVALID_PARAMETER
- 53 ERROR_TMR_NO_DEVICE
- 99 ERROR_DEVICE_IN_USE
- 536 ERROR_TMR_INVALID_TIME