TIMER_APC_ROUTINE - NtDoc

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

/**
 * Optional timer completion routine, delivered as a user APC to the thread that
 * last set the ordinary timer with this callback. That thread must enter an
 * alertable wait; waiting nonalertably on the timer does not dispatch the callback.
 * TimerContext is the caller-supplied value and may be NULL. TimerLowValue and
 * TimerHighValue contain the low and high 32-bit halves of the system-time stamp
 * sampled when the timer DPC queues the APC, in 100-nanosecond FILETIME units;
 * they are not the relative interval originally supplied to NtSetTimer.
 */
typedef _Function_class_(TIMER_APC_ROUTINE)
VOID NTAPI TIMER_APC_ROUTINE(
    _In_opt_ PVOID TimerContext,
    _In_ ULONG TimerLowValue,
    _In_ LONG TimerHighValue
    );

#endif
#endif

View code on GitHub

NtDoc

No description available.