Reputation: 115
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?
Upvotes: 0
Views: 446
Reputation: 2130
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.
Upvotes: 3