From: Phillip Seaver (phil_at_[hidden])
Date: 2006-09-08 14:43:43
Rene Rivera wrote:
>>> I'd think that both of the above could be covered by just adding a
>>> single new rule W32_GETREG_KEYS to return the names and subkeys of the
>>> given entry.
>> Value names and subkeys are two different beasts - a registry key
>> has both, so how can you know which of the returned strings is a
>> subkey name and which is a value name?
> Well to Windows they may be different beasts, but is there a conceptual
> difference between them? That is isn't the key/name=value equivalent to
> key/name/value. For example, one that intentionally has both values and
> subkeys. With you functions:
Yes. They're roughly analogous to directories (keys) and files
(values). Each key has a default value, can have multiple values and
can have multiple sub-keys as well. To make things more complicated,
you can have a key and a value with the same name (I just tested it). :-)
When you use the registry from a program, you open a key and can then
get a value or enumerate its sub-keys or values (two separate functions).
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk