eliakim63 Posted March 4, 2024 Posted March 4, 2024 (edited) There's a certain process that's using setWindowDisplayAffinity to hide the whole screen from getting captured. I'm guessing it has a window that takes up the whole screen and is set to ignore clicks and is transparent so users can, but with setWindowDisplayAffinity set to WDA_MONITOR, any other processes attempting to capture the screen sees nothing but blackness. Is there a way to bypass that? One solution I could think of was either injecting a dll into that process and calling setWindowDisplayAffinity with WDA_NONE, and Idk if this is possible, but another way I thought of was hooking that setWindowDisplayAffinity and then doing nothing and returning successful result to caller. I could test those and see for myself, but I wanted to know if there are other methods since I'm not sure if the process I'm targeting checks whether it's been tampered with or not. Thanks Edited March 4, 2024 by Jos removed black background. Please paste without formatting
Nine Posted March 4, 2024 Posted March 4, 2024 Try with _WinAPI_PrintWindow. It seems to be working just fine with this affinity. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Werty Posted March 4, 2024 Posted March 4, 2024 Try turning off (End Process) dwm.exe in task manager and see if that helps, SetWindowsDisplayAffinity only works if the desktop is composed with dwm.. Some guy's script + some other guy's script = my script!
eliakim63 Posted March 5, 2024 Author Posted March 5, 2024 6 hours ago, Werty said: Try turning off (End Process) dwm.exe in task manager and see if that helps, SetWindowsDisplayAffinity only works if the desktop is composed with dwm.. That doesn't work, it closes and opens
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now