[ros-kernel] Desktops vs Windowstations
Andrew "Silver Blade" Greenwood
lists at silverblade.co.uk
Thu Dec 18 09:55:21 CET 2003
That sounds accurate to me.
I do recall reading a while ago that any window which has no owner specified, is in fact owned by the desktop. This is presumably because the desktop handle is 0 (NULL), and when you don't specify an owner or parent for a window, you specify NULL, aka the desktop window.
At least, that's how I interpreted it...
----- Original Message -----
From: Richard Campbell
To: ros-kernel at reactos.com
Sent: Thursday, December 18, 2003 9:32 AM
Subject: [ros-kernel] Desktops vs Windowstations
those who remember there was a discussion a while back about the ownership of windows, some thought that windows were owned by the desktop, others thought the windows were owned by the windowstation, well just a little bit ago, a buddy of mine and i were messing around with desktops and windowstations, we looked up the functions calls CreateDesktop and CreateWindowStation and he pointed out that microsoft themselves admits that windows are owned by the desktop, NOT by the windowstation:
The CreateDesktop function creates a new desktop on the window station associated with the calling process. It retrieves a handle that can be used to access the new desktop. The calling process must have an associated window station, either assigned by the system at process creation time or set by SetProcessWindowStation. A desktop is a secure object contained within a window station object. A desktop has a logical display surface and contains windows, menus, and hooks.
The CreateWindowStation function creates a window station object. It retrieves a handle that can be used to access the window station. A window station is a secure object that contains a set of global atoms, a clipboard, and a set of desktop objects.
I post this now because i believe reactos's implementation is incorrect. I'm NOT posting this to start some huge flamewar.
------------------------------------------------------------------------------
_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://reactos.com:8080/pipermail/ros-kernel/attachments/20031218/bb94e1ae/attachment.htm
More information about the Ros-kernel
mailing list