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

# RtlRandom(3w)

## NAME

**RtlRandom** (NTDLL.@)

## SYNOPSIS

ULONG RtlRandom\
  (\
   PULONG *seed*\
  )

## DESCRIPTION

Generates a random number.

## PARAMS

*seed* **\[Out\]**  The *seed* of the Random function.

## RETURNS

It returns a random number distributed over \[0..MAXLONG-1\].

## IMPLEMENTATION

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

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

Debug channel **"ntdll"**.
