It gets worse - apparently the content of the registry key has changed with each major version of Windows and there are no well known APIs for managing it.