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

# RtlFindClearRuns(3w)

## NAME

**RtlFindClearRuns** (NTDLL.@)

## SYNOPSIS

ULONG RtlFindClearRuns\
  (\
   PCRTL\_BITMAP    *lpBits*,\
   PRTL\_BITMAP\_RUN *lpSeries*,\
   ULONG           *ulCount*,\
   BOOLEAN         *bLongest*\
  )

## DESCRIPTION

Find a series of clear runs in a bitmap.

## PARAMS

*lpBits* **\[In\]**  Bitmap pointer.

ulSeries **\[Out\]**  Array for each run found.

*ulCount* **\[In\]**  Number of runs to find.

*bLongest* **\[In\]**  Whether to find the very longest runs or not.

## RETURNS

The number of clear runs found.

## IMPLEMENTATION

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

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

Debug channel **"ntdll"**.
