#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
NTSYSCALLAPI
NTSTATUS
NTAPI
NtQueryTimerResolution(
_Out_ PULONG MaximumTime,
_Out_ PULONG MinimumTime,
_Out_ PULONG CurrentTime
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwQueryTimerResolution(
_Out_ PULONG MaximumTime,
_Out_ PULONG MinimumTime,
_Out_ PULONG CurrentTime
);
View code on GitHub
Function NtQueryTimerResolution
returns resolution of system Timer in context of calling process. See also description of NtSetTimerResolution
.
Means highest possible delay (in 100-ns units) between timer events.
Means lowest possible delay (in 100-ns units) between timer events.
Current timer resolution, in 100-ns units.