#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
/**
* The NtCreateTimer routine creates a timer object.
*
* \param TimerHandle A pointer to a variable that receives the handle to the timer object.
* \param DesiredAccess The access mask that specifies the requested access to the timer object.
* \param ObjectAttributes A pointer to an OBJECT_ATTRIBUTES structure that specifies the object attributes.
* \param TimerType The type of the timer object.
* \return NTSTATUS Successful or errant status.
*/
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
No description available.
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
.