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

Re: In which type of registry is a value stored? by Bruce

Bruce
Thu Jun 05 05:39:26 PDT 2008

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



Re: In which type of registry is a value stored? by PeterK

PeterK
Thu Jun 05 06:11:01 PDT 2008

Thanks for the information.

Regards Peter

"Bruce Eitman [eMVP]" wrote:

> 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
>
>
>

Re: In which type of registry is a value stored? by Tom

Tom
Thu Jun 05 10:39:03 PDT 2008

Just curious - why do you think your Registry Editor needs to know
where a registry value originated? Was it just so you could inform
your user of that information?

Tom

On Thu, 5 Jun 2008 06:11:01 -0700, Peter K.
<PeterK@discussions.microsoft.com> wrote:

>Thanks for the information.
>
>Regards Peter
>
>"Bruce Eitman [eMVP]" wrote:
>
>> 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
>>
>>
>>

Re: In which type of registry is a value stored? by Dean

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
>
>