mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
![]() CORE-11933 and PR #621. We are potentially going to modify the window station name to be created or opened, by one with the format "Service-0x<luidhigh>-<luidlow>$", in case the user provides an empty name. Since we want to use the user-mode ObjectAttributes structure pointer so that the Object manager can correctly perform the access checks and the capture, we actually need to construct the new window station name in the user memory space! This allows us then to fetch the new name in the ObjectAttributes structure so that Ob can use it. All of this is performed under SEH. For NtUserOpenWindowStation(), we also need to be Windows-compatible and detect whether user-mode gave instead the special "Service-0x00000000-00000000$" name (observed via API monitoring) that is used when one tries to open a window station with empty name. |
||
---|---|---|
.. | ||
ntuser | ||
rtl | ||
user32 | ||
winsrv |