
84
CHAPTER 3 ADVANCED FILE AND DIRECTORY PROCESSING, AND THE REGISTRY
expandable string with parameters replaced by environment variables). See the
on-line help for a list of all the value types.
Test the function’s return value to determine whether you have enumerated
all the keys. The value will be
if you have found a valid key.
is similar except that you specify a value name ra ther
than an index. If you know the value names, you can use this function. If you do
not know the names, you can scan with
.
Set a value within an open key using
, supplying the value
name, value type, and actual value data.
Finally, delete named values using the functi