Skip to content
Discussion options

You must be logged in to vote

Pluely achieves window capture evasion natively at the operating system compositor level:

  1. Windows API Implementation:
    On Windows, Pluely hooks into the native Win32 window handles created by Tauri and sets the window display affinity flag:
use windows::Win32::UI::WindowsAndMessaging::{SetWindowDisplayAffinity, WDA_EXCLUDEFROMCAPTURE};

pub fn apply_stealth_mode(hwnd: isize) -> Result<(), String> {
    unsafe {
        let success = SetWindowDisplayAffinity(
            windows::Win32::Foundation::HWND(hwnd as *mut _),
            WDA_EXCLUDEFROMCAPTURE
        );
        if success.as_bool() {
            Ok(())
        } else {
            Err("Failed to set window display affinity".to…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bitzin-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant