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

# RtlFindSetRuns(3w)

## NAME

**RtlFindSetRuns** (NTDLL.@)

## SYNOPSIS

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

## DESCRIPTION

Find a series of set runs in a bitmap.

## PARAMS

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

*lpSeries* **\[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 set runs found.

## IMPLEMENTATION

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

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

Debug channel **"ntdll"**.
