windows::Win32::Security::Cryptography

Function BCryptGenRandom

pub unsafe fn BCryptGenRandom(
    halgorithm: Option<BCRYPT_ALG_HANDLE>,
    pbbuffer: &mut [u8],
    dwflags: BCRYPTGENRANDOM_FLAGS,
) -> NTSTATUS