|
From: Mike S. <Mi...@qf...> - 2002-04-23 16:48:05
|
> I'm working on it though I haven't actually done anything > since January. My > general approach was to rewrite code from WINE to work in > win32k.sys. What > advantage would be gained by moving to wineserver? I thought that all > USER objects were unique to a process. The wineserver stuff is just to make sure that the handles can be used between different processes. The ROS win32k.sys code probably should use a handle table stored against the process desktop rather than the process itself (it might do this - I haven't looked extensively). The nice thing about using the Wine approach is that all the USER objects are allocated on the process heap so that you don't need to go to ring0 just to call GetWindowLong (which will obviously happen a lot). I was just thinking that porting Wine rather than reworking it would be a quicker (time wise) way to go. I can see ways in which the win32k.sys could be more efficient. Mike. |