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 "dlls/ntdll/threadpool.c". source.winehq.org/source/dlls/ntdll/threadpool.c

Debug channel "threadpool".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2008.