Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 958 Bytes

processprng.md

File metadata and controls

58 lines (42 loc) · 958 Bytes
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Retrieves a specified number of random bytes from the user-mode per-processor random number generator.
5226f843-b919-4a23-86c1-ff85cec7184c
ProcessPrng function
reference
10/21/2022
APIRef
kbSyntax
ProcessPrng
DllExport
BCryptPrimitives.dll

ProcessPrng function

The ProcessPrng function retrieves a specified number of random bytes from the user-mode per-processor random number generator.

Syntax

BOOL ProcessPrng(
  _Out_ PBYTE  pbData,
        SIZE_T cbData
);

Parameters

pbData [out]

A pointer to a buffer that receives the retrieved bytes.

cbData

The number of bytes to retrieve.

Return value

Always returns TRUE.

Requirements

Requirement Value
DLL BCryptPrimitives.dll
APISet CngRngExt