Dean
Wed Jun 11 06:24:45 PDT 2008
Be forewarned that this is not completely true. You'll find that there are
calls to read the persistent registry itself at run time when you read
various keys. I learned this the hard way when I dismounted the partition
containing the hive and subsequently made an OS call that resulted in a
registry read. I was intending to reboot shortly after and didn't expect
the hive to be accessed...
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Bruce Eitman [eMVP]" <bruce.eitman.nospam@EuroTech.com.nospam> wrote in
message news:ehf$ykwxIHA.4864@TK2MSFTNGP06.phx.gbl...
> There are actually three types of registry, the two that you mention are
> used to initialize and persist the third type, which is the actual running
> Registry. The Registry is in RAM.
>
> Your tool is accessing the Registry, and no you don't know where the
> value is persisted.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> Bruce.Eitman AT EuroTech DOT com
> My BLOG
http://geekswithblogs.net/bruceeitman
>
> EuroTech Inc.
> www.EuroTech.com
>
> "Peter K." <PeterK@discussions.microsoft.com> wrote in message
> news:B3BAD2A3-C18A-461C-92CE-F8BDEF75302B@microsoft.com...
>>I am using the hive-based registry. As you know this type of registry is
>>made
>> up two registrys (ROM portion and a file based portion) which are linked
>> together.
>>
>> At the moment I am working on an Registry Editor. I would like to know if
>> there is a API call to get the location in wich the registry value is
>> stored
>> (ROM portion or the file based portion of the hive-based registry).
>>
>> Any API call available?
>>
>> Regards Peter
>
>