which one of these returns a registry value? : <https://docs.microsoft.com/en-us/windows/win32/sysinfo/retrieving-data-from-the-registry>

is confusing me.  All I want is to retrieve the value of particular registry key.  Which one of the functions do I use?

Many thank,

-T