Hacker News new | ask | show | jobs
by nonane 401 days ago
Which APIs would one use to implement this feature on Mac and Windows? For example is there a OS level flag that one can include on windows to not allow capturing of the app’s window - or is a notification sent out when someone tries to capture the screen (and then one can just blank the window)?
1 comments

One method for Windows. Nothing can prevent a dedicated user though.

https://learn.microsoft.com/en-us/windows/win32/api/winuser/...