I am currently investigating writing a windows kernel-mode driver, and in terms of registry access, I found RtlQueryRegistryValues on MSDN. However, while RtlQueryRegistryValues is good for querying actual registry values, I was wondering if there's a registry function for determining the number of subkeys of a given regkey? Again, I found RegQueryInfoKey on MSDN, but my understanding is that it's for user-mode applications. Is there an equivalent function for windows kernel-mode drivers?
Thanks.