INNER CODE UNIT · Rust

Ok

Blur009/Blur-AutoClicker · src-tauri/src/lib.rs:83

    if let Ok(handle) = window.window_handle() {
        if let RawWindowHandle::Win32(w) = handle.as_raw() {
            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")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…