INNER CODE UNIT · Rust
hwnd
Blur009/Blur-AutoClicker · src-tauri/src/lib.rs:85
let hwnd = w.hwnd.get() as *mut std::ffi::c_void;
unsafe {
let ex = GetWindowLongW(hwnd, GWL_EXSTYLE);
let new_ex = if enable {
(ex as u32 | 0x08000000) as i32
} else {
(ex as u32 & !0x08000000) as i32
};
SetWindowLongW(hwnd, GWL_EXSTYLE, new_ex);
}
}
}
}
fn is_rtss_running() -> bool {
crate::engine::process::is_process_running("RTSS.exe")
}