[ros-kernel] (no subject)
Thomas Weidenmueller
w3seek at reactos.com
Wed Sep 15 19:02:10 CEST 2004
Martin Fuchs wrote:
>Hello,
>
>I would like to move the version display on the desktop from explorer into PaintDesktop(). So I moved the code into WIN32K's NtUserPaintDesktop(). To decide wether to activate the display routine, we have to look into the registry. I attached my patch for this to the mail.
>
>But there are no registry functions like NtRegOpenKey() available in WIN32K.
>How should this be handled?
>Somehow call from WIN32K into ADVAPI32?
>Move the display routine into USER32 instead of WIN32K?
>Duplicating the registry code of ADVAPI32 in WIN32K seems no good solution for me.
>
>
You can't call usermode dlls from win32k, see IntGetFontMetricSetting()
in ntuser\misc.dll for an example how to lookup stuff in the registry.
Regards
Thomas
More information about the Ros-kernel
mailing list