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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for