Creating windows on the lock screen

B XV 21 Reputation points
2021-12-19T06:52:07.72+00:00

https://learn.microsoft.com/en-us/windows/win32/winstation/desktops
I referred to this information, using EnumDesktopsA and EnumWindowStationsA functions did not find the ScreenSaver desktop. After various tests, I found that the lock screen interface was built on the Default desktop, a window of LockApp.exe. But how can I create a window on the lock screen desktop?
I tried to use SetParent but to no avail.
I can create windows on the Winlogon and Default desktops by specifying STARTUPINFO.lpDesktop, but I can’t create windows on the lock screen anyway.

original:
我参考了这篇资料,使用EnumDesktopsA和EnumWindowStationsA函数并没有找到 ScreenSaver桌面,经过各种测试发现锁屏界面是建立在Default桌面上,LockApp.exe的窗口。但是要怎样才能在锁屏桌面上创建窗口呢?
我尝试使用SetParent但是并没有效果。
我通过指定 STARTUPINFO.lpDesktop 可以在Winlogon和Default桌面创建窗口,但无论如何都无法在锁屏界面上面创建窗口。

Developer technologies Universal Windows Platform (UWP)
Windows development Windows API - Win32
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 49,536 Reputation points
    2021-12-19T11:14:15.05+00:00

    An application that has been manifested with "uiAccess=true", signed and installed in a secure file system location (e.g., C:\Program Files..., C:\Windows\System32) can display windows that appear over the lock screen image. For example,

    158719-lockwindow.png

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.