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

# RtlCompareMemoryUlong(3w)

## NAME

**RtlCompareMemoryUlong** (NTDLL.@)

## SYNOPSIS

SIZE\_T RtlCompareMemoryUlong\
  (\
   const ULONG\* *Source1*,\
   SIZE\_T       *Length*,\
   ULONG        *dwVal*\
  )

## DESCRIPTION

Compare a block of memory with a value, a **ULONG** at a time.

## PARAMS

*Source1* **\[In\]**  Source block. This must be **ULONG** aligned.

*Length* **\[In\]**  Number of bytes to compare. This should be a multiple of **4.**

*dwVal* **\[In\]**  Value to compare to.

## RETURNS

The byte position of the first byte at which *Source1* is not *dwVal*.

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

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

Debug channel **"ntdll"**.
