Use FromPrimitive for c_uint -> EetError conversion