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

# RtlDeregisterWait(3w)

## NAME

**RtlDeregisterWait** (NTDLL.@)

## SYNOPSIS

NTSTATUS RtlDeregisterWait\
  (\
   HANDLE *WaitHandle*\
  )

## DESCRIPTION

Cancels a wait operation and frees the resources associated with calling RtlRegisterWait().

## PARAMS

WaitObject **\[In\]**  Handle to the wait object to free.

## RETURNS

**Success:** **STATUS\_SUCCESS**.

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

## IMPLEMENTATION

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

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

Debug channel **"threadpool"**.
