TIMER_BASIC_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

/**
 * Snapshot returned by NtQueryTimer(TimerBasicInformation), not a reservation of
 * the timer signal. Size is 16 bytes on x64 and x86. The query
 * writes only bytes 0 through 8; the 7 trailing padding bytes remain unchanged.
 * Compare members, or initialize the output first, rather than comparing all bytes.
 */
typedef struct _TIMER_BASIC_INFORMATION
{
    LARGE_INTEGER RemainingTime; // Signed 100-nanosecond difference; positive for a future queued due time, not clamped to zero when inactive.
    BOOLEAN TimerState; // Current signal state, not whether the timer is armed or periodic.
} TIMER_BASIC_INFORMATION, *PTIMER_BASIC_INFORMATION;

#endif
#endif

View code on GitHub

NtDoc

No description available.

NTinternals.net (undocumented.ntinternals.net)

RemainingTime

Contains time (in 100ns units) to next timer signal (negative value), or time after last signalization.

TimerState

If TRUE, timer is signaled.

Documented by

See also