---
name: "RtlDeleteTimer"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RtlDeleteTimer"
---

# RtlDeleteTimer(3w)

## NAME

**RtlDeleteTimer** (NTDLL.@)

## SYNOPSIS

NTSTATUS RtlDeleteTimer\
  (\
   HANDLE *TimerQueue*,\
   HANDLE *Timer*,\
   HANDLE *CompletionEvent*\
  )

## DESCRIPTION

Cancels a timer-queue timer.

## PARAMS

*TimerQueue* **\[In\]**  The queue that holds the timer.

*Timer* **\[In\]**  The timer to update.

*CompletionEvent* **\[In\]**  If **NULL**, return immediately. If **INVALID\_HANDLE\_VALUE**, wait until the timer is finished firing all pending callbacks before returning. Otherwise, return immediately and set the timer is done.

## RETURNS

**Success:** **STATUS\_SUCCESS** if the timer is done, **STATUS\_PENDING** if not, or if the completion event is **NULL**.

**Failure:** Any **NTSTATUS** code.

## IMPLEMENTATION

Declared in **"winternl.h"**.

Implemented in **"dlls/ntdll/threadpool.c"**.

Debug channel **"threadpool"**.
