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

# RtlFillMemory(3w)

## NAME

**RtlFillMemory** (NTDLL.@)

## SYNOPSIS

VOID RtlFillMemory\
  (\
   VOID\*  *Destination*,\
   SIZE\_T *Length*,\
   BYTE   *Fill*\
  )

## DESCRIPTION

Set a block of memory with a value.

## PARAMS

*Destination* **\[Out\]**  Block to fill.

*Length* **\[In\]**  Number of bytes to fill.

*Fill* **\[In\]**  Value to set.

## RETURNS

Nothing.

## IMPLEMENTATION

Declared in **"winbase.h"**.

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

Debug channel **"ntdll"**.
