1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[link(name = "windows")] 3 extern "system" {} 4 pub type PrintTicketCapabilities = *mut ::core::ffi::c_void; 5 pub type PrintTicketFeature = *mut ::core::ffi::c_void; 6 #[repr(transparent)] 7 pub struct PrintTicketFeatureSelectionType(pub i32); 8 impl PrintTicketFeatureSelectionType { 9 pub const PickOne: Self = Self(0i32); 10 pub const PickMany: Self = Self(1i32); 11 } 12 impl ::core::marker::Copy for PrintTicketFeatureSelectionType {} 13 impl ::core::clone::Clone for PrintTicketFeatureSelectionType { clone(&self) -> Self14 fn clone(&self) -> Self { 15 *self 16 } 17 } 18 pub type PrintTicketOption = *mut ::core::ffi::c_void; 19 #[repr(transparent)] 20 pub struct PrintTicketParameterDataType(pub i32); 21 impl PrintTicketParameterDataType { 22 pub const Integer: Self = Self(0i32); 23 pub const NumericString: Self = Self(1i32); 24 pub const String: Self = Self(2i32); 25 } 26 impl ::core::marker::Copy for PrintTicketParameterDataType {} 27 impl ::core::clone::Clone for PrintTicketParameterDataType { clone(&self) -> Self28 fn clone(&self) -> Self { 29 *self 30 } 31 } 32 pub type PrintTicketParameterDefinition = *mut ::core::ffi::c_void; 33 pub type PrintTicketParameterInitializer = *mut ::core::ffi::c_void; 34 pub type PrintTicketValue = *mut ::core::ffi::c_void; 35 #[repr(transparent)] 36 pub struct PrintTicketValueType(pub i32); 37 impl PrintTicketValueType { 38 pub const Integer: Self = Self(0i32); 39 pub const String: Self = Self(1i32); 40 pub const Unknown: Self = Self(2i32); 41 } 42 impl ::core::marker::Copy for PrintTicketValueType {} 43 impl ::core::clone::Clone for PrintTicketValueType { clone(&self) -> Self44 fn clone(&self) -> Self { 45 *self 46 } 47 } 48 pub type WorkflowPrintTicket = *mut ::core::ffi::c_void; 49 pub type WorkflowPrintTicketValidationResult = *mut ::core::ffi::c_void; 50