What "Invisible" Actually Means on Windows
There are two types of "invisible" — and only one is reliable.
Type 1: Visual hiding (unreliable)
The tool hides itself visually in the browser using CSS or DOM manipulation. It looks invisible on your screen, but screen recording software may still capture the underlying DOM. This is how most browser extensions work. It fails unpredictably across different capture tools and browser versions.
Type 2: OS-level capture exclusion (reliable)
The tool uses the Windows SetWindowDisplayAffinity API with the WDA_EXCLUDEFROMCAPTURE flag. This tells the Windows Desktop Window Manager to remove the window from all capture pipelines before any recording software ever sees it. The window doesn't exist in the capture buffer. This is how GhostDesk works.
How SetWindowDisplayAffinity Works
SetWindowDisplayAffinity is a Win32 API function that's been in Windows since Windows 7, but the specific flag that matters — WDA_EXCLUDEFROMCAPTURE — was added in Windows 10 build 19041 (May 2020 Update).
When a window has this flag set:
- Screen capture APIs receive a blank/empty region where the window exists
- Video call screen share captures (Zoom, Teams, Meet) don't see the window
- OBS, Windows Game Bar, and other recording tools see nothing
- The exclusion is at the compositor level — before any app can intercept
For Electron apps, mainWindow.setContentProtection(true) calls this API under the hood on Windows. The cross-platform wrapper doesn't behave identically on macOS — different mechanism, different reliability profile.
Why Windows Developers Need Invisible AI
The use case isn't complicated: you're working, you need AI help, you don't want to break your flow or show what you're asking.
Specific scenarios:
- Pair programming sessions where you want to reference AI without the appearance of not knowing something
- Technical demos where you want notes and context visible to you only
- Deep work sessions where alt-tab context-switching destroys focus
- Any high-stakes screen-share situation where private notes matter