[ros-kernel] Winzip almost loads - I need some help
Hartmut Birr
hartmut.birr at gmx.de
Thu Nov 20 22:58:14 CET 2003
> -----Original Message-----
> From: ros-kernel-bounces at reactos.com
> [mailto:ros-kernel-bounces at reactos.com] On Behalf Of Ge van Geldorp
> Sent: Thursday, November 20, 2003 10:09 PM
> To: 'ReactOS Kernel List'
> Subject: RE: [ros-kernel] Winzip almost loads - I need some help
>
>
> > From: Kohl
> >
> > The first example in Bug #76 shows a _very_ invalid registry
> > path. I wonder how that was being build but I am absolutely
> > not surprised that it didn't work. I'll have a look at this
> > later this weekend.
>
> Ehh, what's wrong with it?
> \Registry\Machine\System\CurrentControlSet\Hardware
> Profiles\Current is
> the same as HKEY_CURRENT_CONFIG.
> Win32k tries to load the display driver settings (resolution
> etc.) from
> there.
>
> Ge van Geldorp.
I'm not sure if this is related to a bug which I saw some weeks/month
ago. If there is opened a symbolic link within a registry path, there is
replaced the link with the real name and the parsing starts again at the
root. This means if the parsing routine opens each directory level with
a single call and starts with a handle from the parent directory to open
the 'CurrentControlSet', the reparsing starts at '\CurrentControlSet001'
and this will fail. If a driver use the path starting from root, than
'\HKLM\System\CurrentControlSet\...' is replaced with
'\HKLM\System\CurrentControl001\...' and this will work.
- Hartmut
More information about the Ros-kernel
mailing list