pub type FnResetFences = extern "system" fn(device: Device, fenceCount: u32, pFences: *const Fence) -> Result;