Basically, as @Dai pointed to test in the comment, it was SetWindowDisplayAffinity
, I tested it myself and it worked as predicted, not in all scenarios ( as you have to create a window and make it on foreground then apply the function on it .... ) but it is it
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…