https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtlqueryregistryvalues
RtlQueryRegistryValues function (wdm.h) - Windows drivers | Microsoft Learn
The RtlQueryRegistryValues routine allows the caller to query several values from the registry subtree with a single call.
windows driversfunctionwdmhmicrosoft