[ros-kernel] Re: RtlQueryRegistryValues() in WIN32K

Martin Fuchs martin-fuchs at gmx.net
Thu Sep 16 13:59:35 CEST 2004


> >I don't know either. This is what I know:
> >You can access HKEY_CURRENT_USER from the SYSTEM account.
> >  
> Hm I have no idea, i hope this is NT's behavior...

It's the behaviour of MS Windows - I tested it (only) on XP.

> >PaintDesktop() is normally called from explorer, this runs in the logged
> >on user context - so this should be no problem.
> >  
> Well, it's only called from explorer if explorer is running. Otherwise 

As far as I can see running ROS in Bochs, this doesn't work either.
I inserted debug messages, which print that 0xc0000005 error status.

> the real desktop window procedure which runs in it's own thread in CSRSS 
> calls it. It's no problem for explorer but it could be a problem if it's 
> CSRSS who calls it, again I don't know at the moment.

As long as there is no user logged on, which registry entry should be
questioned for the "PaintDesktopVersion" flag? 
May be that of the "HKEY_USERS\.default" hive.

Regards,

   Martin


More information about the Ros-kernel mailing list