NtSetTimerResolution (original) (raw)
2OO1, 24 February
NtSetTimerResolution
NtSetTimerResolution
NTSYSAPI NTSTATUS NTAPI
NtSetTimerResolution(
IN ULONG DesiredResolution, IN BOOLEAN SetResolution, OUT PULONG CurrentResolution );
Function NtSetTimerResolution sets resolution of system Timer in calling process context.
- DesiredResolution Resolution to set. To receive minimum and maximum resolution values, call NtQueryTimerResolution.
- SetResolution If set, system_Timer's_ resolution is set to DesiredResolution value. If no, parameterDesiredResolution is ignored.
- CurrentResolution Pointer toULONG value receiving current timer's resolution, in_100-ns_ units.
Documented by:
Tomasz Nowak
Requirements:
Library: ntdll.lib
See also: