Invisiwind
An application that allows you to hide certain windows
...The application works with screen-sharing software such as Zoom, Microsoft Teams, Discord, and OBS. It uses DLL injection to apply Windows' WDA_EXCLUDEFROMCAPTURE display affinity setting to selected windows. This approach avoids minimizing or closing applications during presentations. Users can run Invisiwind through an installer or portable executable. Command-line arguments allow additional control over window hiding. An included AutoHotkey script provides an optional keyboard shortcut. It requires Windows 10 version 2004 or newer.