'Screen capture via WinAPI (security)
Is it possible to determine that now my screen (or window of my C++ program) is being captured by any of the running programs on the PC?
Solution 1:[1]
It seems there is no way to detect a screen capture until now But you can use SetWindowDisplayAffinity to protect the window content from being captured or copied only when the Desktop Window Manager(DWM) is composing the desktop.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | YangXiaoPo - MSFT |
