pub type DeviceGetFormatResult = Result<(u32, u32, u32, i64), Error>;