Rediger

Del via


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