Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Registry question


2 replies to this topic

hilbe

hilbe
  • Members
  • 4 posts

Posted 23 January 2002 - 17:50

Hello!

Is there a way to get the count of values below a given registry key?
I don't need the values names or data, just how many values there are.

TIA,
Jan Hilberath


aglenwright

aglenwright
  • Members
  • 53 posts

Posted 24 January 2002 - 00:53

The RegQueryInfoKey() API returns the number of subkeys *and* the number of values contained in a key.

Full documentation is at http://msdn.microsof...rary....xkp.asp


hilbe

hilbe
  • Members
  • 4 posts

Posted 24 January 2002 - 10:38

Thank you, this works fine for me.

Jan