RtlCreateTimer(3w)
NAME
RtlCreateTimer (NTDLL.@)
SYNOPSIS
NTSTATUS RtlCreateTimer ( PHANDLE NewTimer, HANDLE TimerQueue, RTL_WAITORTIMERCALLBACKFUNC Callback, PVOID Parameter, DWORD DueTime, DWORD Period, ULONG Flags )
DESCRIPTION
Creates a new timer associated with the given queue.
PARAMS
NewTimer [Out] The newly created timer.
TimerQueue [In] The queue to hold the timer.
Callback [In] The callback to fire.
Parameter [In] The argument for the callback.
DueTime [In] The delay, in milliseconds, before first firing the
timer.
Period [In] The period, in milliseconds, at which to fire the timer
after the first callback. If zero, the timer will only fire once. It
still needs to be deleted with RtlDeleteTimer.
Flags [In] Flags controling the execution of the callback. In addition to the WT_* thread pool flags (see RtlQueueWorkItem), WT_EXECUTEINTIMERTHREAD and WT_EXECUTEONLYONCE are supported.
RETURNS
Success: STATUS_SUCCESS.
Failure: Any NTSTATUS code.
IMPLEMENTATION
Defined in "winternl.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ntdll/threadpool.c".
- Debug channel "threadpool".