NtCreateIRTimer - NtDoc

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

/**
 * The NtCreateIRTimer routine creates an IR timer object.
 * IR timers are interruptdriven and designed for high-resolution timing in system components.
 *
 * \param TimerHandle A pointer to a variable that receives the handle to the IR timer object.
 * \param TimerId A pointer to a timer identifier that specifies the provider.
 * \param DesiredAccess The access mask that specifies the requested access to the timer object.
 * \return NTSTATUS Successful or errant status.
 * \remarks The TimerId must be non-NULL and point to a valid timer identifier.
 */
NTSYSCALLAPI
NTSTATUS
NTAPI
NtCreateIRTimer(
    _Out_ PHANDLE TimerHandle,
    _In_ PULONG TimerId,
    _In_ ACCESS_MASK DesiredAccess
    );

#endif
#endif
#endif

View code on GitHub
#ifndef _NTZWAPI_H

NTSYSCALLAPI
NTSTATUS
NTAPI
ZwCreateIRTimer(
    _Out_ PHANDLE TimerHandle,
    _In_ PULONG TimerId,
    _In_ ACCESS_MASK DesiredAccess
    );

#endif

View code on GitHub

NtDoc

No description available.