Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)?


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

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: