Could someone from the Windows team clarify one point about the suggested architecture?
We tested this on a physical Windows PC. After Win+L, our viewer displayed the lock screen. When the user pressed Enter locally to show the password field, AcquireNextFrame returned DXGI_ERROR_ACCESS_LOST. Our capture component then called DuplicateOutput again and received E_ACCESSDENIED. Capture resumed after the user unlocked the PC locally.
Our administrator-installed service runs in Session 0. What Microsoft-supported mechanism, if any, can the service use to start a read-only capture component in the physical console session with the required security context?
- Is that mechanism supported when a signed-in user locks the PC with Win+L?
- Is it also supported after a restart, before anyone has signed in?
We only need to display what is visible on the physical monitor, without RDP, a virtual monitor, or remote keyboard input. A reference to the supported API or a Microsoft sample would help. If either scenario has no publicly supported mechanism for third-party services, could you confirm which one?