willhook 0.6.3

Capture all keyboard and mouse input regardless of application focus on the active windows desktop
Documentation
use winapi::shared::minwindef::DWORD;
use winapi::shared::windef::HHOOK;
use winapi::shared::ntdef::NULL;

pub struct RawHook {
    pub raw_handle: HHOOK,
    pub thread_id: DWORD,
}

impl RawHook {
    pub fn new() -> RawHook {
        RawHook {
            raw_handle: NULL as HHOOK,
            thread_id: NULL as DWORD,
        }
    }
}

unsafe impl Send for RawHook {}
unsafe impl Sync for RawHook {}