15#define HARDWARE_TIMER_ENABLED (1 << 0)
16#define HARDWARE_TIMER_ONESHOT (1 << 1)
17#define HARDWARE_TIMER_PRECISE (1 << 2)
20#define HZ_TO_NS(Freq) (ULONGLONG)(1000000000ULL / (ULONGLONG)(Freq))
PHARDWARE_TIMER CreateHardwareTimer(ULONG Flags, ULONGLONG Delay, PHARDWARE_TIMER_PROC Callback)
VOID DisableHardwareTimer(PHARDWARE_TIMER Timer)
BOOLEAN ClockInitialize(VOID)
VOID DestroyHardwareTimer(PHARDWARE_TIMER Timer)
struct _HARDWARE_TIMER HARDWARE_TIMER
VOID EnableHardwareTimer(PHARDWARE_TIMER Timer)
struct _HARDWARE_TIMER * PHARDWARE_TIMER
VOID(FASTCALL * PHARDWARE_TIMER_PROC)(ULONGLONG ElapsedTime)
ULONGLONG CurrentCycleCount
VOID SetHardwareTimerDelay(PHARDWARE_TIMER Timer, ULONGLONG NewDelay)
PHARDWARE_TIMER_PROC Callback
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
_Must_inspect_result_ _In_ ULONG Flags