-
I am trying to secure my application, Is there any way of disabling screen capture in win32 application. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
timsneath
Jan 21, 2022
Replies: 1 comment 1 reply
-
Yup -- the API in the accompanying article should work here: You should be able to do something like: final hwnd = GetForegroundWindow();
final result = SetWindowDisplayAffinity(hwnd, WDA_MONITOR); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Nishank00
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yup -- the API in the accompanying article should work here:
https://yeasir007.blogspot.com/2019/10/how-to-prevent-disable-protect-screen-capture-of-windows-application.html
You should be able to do something like: