i use madCodeHook inject a dll into chrome,this dll call setwindowdisplayaffinity(hwnd,WDA_MONITOR),it call prevent screen capture,then i call setwindowdisplayaffinity(hwnd,WDA_NONE)to alow screen capture, Chrome will pop up a white box with incomplete display.when i set setwindowdisplayaffinity(hwnd,WDA_MONITOR) ,the white chrome box will disapper,i dont know how to solve the white chrome box when i set setwindowdisplayaffinity(hwnd,WDA_NONE),please help me
when i call setwindowdisplayaffinity(hwnd,WDA_NONE),i try to call redraw the wind,but no effect
kitty sammy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.