pub type joySetCapture = unsafe extern "system" fn(hwnd: HWND, ujoyid: u32, uperiod: u32, fchanged: BOOL) -> u32;