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

# RtlFindLongestRunClear(3w)

## NAME

**RtlFindLongestRunClear** (NTDLL.@)

## SYNOPSIS

ULONG RtlFindLongestRunClear\
  (\
   PCRTL\_BITMAP *lpBits*,\
   PULONG       *pulStart*\
  )

## DESCRIPTION

Find the longest clear run in a bitmap.

## PARAMS

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

*pulStart* **\[Out\]**  Destination for start of run.

## RETURNS

The length of the run found, or **0** if no run is found.

## IMPLEMENTATION

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

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

Debug channel **"ntdll"**.
