Returns the current reload register value, the system hardware timer period in picosecond units (at the nominal timer input clock frequency), and an indicator to show whether a call to AdjustRtSystemTimer takes effect on the next system tick. If this bit is clear then the adjustment takes effect immediately.
BOOLEAN GetRtSystemTimerValues(
    TIMERVALUES *pTimerValues
);
typedef struct {
    DWORD _reserved;
    DWORD dwFlags;
    QWORD ReloadValue;
    QWORD ClockPeriod;
} TIMERVALUES;
#define RELOAD_COUNT_AT_NEXT_TICK   0x00000001
BOOLEAN GetRtSystemTimerValuesEx(
    TIMERVALUESEX *pTimerValues;
);
typedef struct {
    DWORD _reserved;
    DWORD dwFlags;
    QWORD ReloadValue;
    QWORD ClockPeriod;
    QWORD CurrentCount;
    QWORD TimeOffset;
    QWORD AccumulatedTicks;
    QWORD AccumulatedTime;
} TIMERVALUESEX;
pTimerValues 
dwFlags 
ReloadValue 
ClockPeriod 
CurrentCount 
TimeOffset 
AccumulatedTicks 
AccumulatedTime 
Note that a call to GetRtSystemTimerValues that follows a call to AdjustRtSystemTimer may not return the adjusted ReloadValue until after the next system timer tick.
TRUE 
FALSE 
E_BAD_ADDR 0x800f 
pTimerValues is not a valid pointer to writable memory. | Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 6.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |