易语言反截图基于API纯源码无模块

易语言 2021-08-28 10:58:31

SetWindowDisplayAffinity(HWND,DWROD) function (winuser.h)
Set this value to WDA_MONITOR to display the content only on a monitor.
Set this value to WDA_NONE to remove the monitor-only affinity.
注意:SetWindowDisplayAffinity函数只能对本进程的窗口进行反截屏设置,对别的进程无效.
想对其它应用软件做反截图设置,可以用dll注入的方式.。