#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
NTSYSCALLAPI
NTSTATUS
NTAPI
NtCreateTimer(
_Out_ PHANDLE TimerHandle,
_In_ ACCESS_MASK DesiredAccess,
_In_opt_ PCOBJECT_ATTRIBUTES ObjectAttributes,
_In_ TIMER_TYPE TimerType
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwCreateTimer(
_Out_ PHANDLE TimerHandle,
_In_ ACCESS_MASK DesiredAccess,
_In_opt_ PCOBJECT_ATTRIBUTES ObjectAttributes,
_In_ TIMER_TYPE TimerType
);
View code on GitHub
Result of call - HANDLE
to Timer Object.
Access mask for TimerHandle
. Can be set of (from <WinNT.h>):
Optional name of Timer Object.
Can be NotificationTimer
or SynchronizationTimer
(enumerated type definition from <ntdef.h>).
See also EVENT_TYPE
.