Udostępnij przez


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]

Wskaźnik do buforu, który odbiera pobrane bajty.

cbData

Liczba bajtów do pobrania.

Return value

Always returns TRUE.

Requirements

Requirement Value
Minimalny obsługiwany klient Windows 8 [tylko aplikacje klasyczne]
Minimalny obsługiwany serwer Windows Server 2008 R2 [tylko aplikacje desktopowe]
DLL BCryptPrimitives.dll
APISet CngRngExt