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

# SystemFunction036(3w)

## NAME

**SystemFunction036** (ADVAPI32.@)

## SYNOPSIS

BOOLEAN SystemFunction036\
  (\
   PVOID *pbBuffer*,\
   ULONG *dwLen*\
  )

## DESCRIPTION

**MSDN** documents this function as RtlGenRandom and declares it in ntsecapi.h.

## PARAMS

pbBufer **\[Out\]**  Pointer to memory to receive random bytes.

*dwLen* **\[In\]**  Number of random bytes to fetch.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"ntsecapi.h"**.

Implemented in **"dlls/advapi32/crypt.c"**.

Debug channel **"crypt"**.
