summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Devices/PointOfService/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Devices/PointOfService/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Devices/PointOfService/mod.rs654
1 files changed, 654 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/PointOfService/mod.rs b/vendor/windows-sys/src/Windows/Devices/PointOfService/mod.rs
new file mode 100644
index 000000000..ce011e190
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Devices/PointOfService/mod.rs
@@ -0,0 +1,654 @@
+#[cfg(feature = "Devices_PointOfService_Provider")]
+pub mod Provider;
+pub type BarcodeScanner = *mut ::core::ffi::c_void;
+pub type BarcodeScannerCapabilities = *mut ::core::ffi::c_void;
+pub type BarcodeScannerDataReceivedEventArgs = *mut ::core::ffi::c_void;
+pub type BarcodeScannerErrorOccurredEventArgs = *mut ::core::ffi::c_void;
+pub type BarcodeScannerImagePreviewReceivedEventArgs = *mut ::core::ffi::c_void;
+pub type BarcodeScannerReport = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct BarcodeScannerStatus(pub i32);
+impl BarcodeScannerStatus {
+ pub const Online: Self = Self(0i32);
+ pub const Off: Self = Self(1i32);
+ pub const Offline: Self = Self(2i32);
+ pub const OffOrOffline: Self = Self(3i32);
+ pub const Extended: Self = Self(4i32);
+}
+impl ::core::marker::Copy for BarcodeScannerStatus {}
+impl ::core::clone::Clone for BarcodeScannerStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type BarcodeScannerStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
+pub type BarcodeSymbologyAttributes = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct BarcodeSymbologyDecodeLengthKind(pub i32);
+impl BarcodeSymbologyDecodeLengthKind {
+ pub const AnyLength: Self = Self(0i32);
+ pub const Discrete: Self = Self(1i32);
+ pub const Range: Self = Self(2i32);
+}
+impl ::core::marker::Copy for BarcodeSymbologyDecodeLengthKind {}
+impl ::core::clone::Clone for BarcodeSymbologyDecodeLengthKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CashDrawer = *mut ::core::ffi::c_void;
+pub type CashDrawerCapabilities = *mut ::core::ffi::c_void;
+pub type CashDrawerCloseAlarm = *mut ::core::ffi::c_void;
+pub type CashDrawerClosedEventArgs = *mut ::core::ffi::c_void;
+pub type CashDrawerEventSource = *mut ::core::ffi::c_void;
+pub type CashDrawerOpenedEventArgs = *mut ::core::ffi::c_void;
+pub type CashDrawerStatus = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct CashDrawerStatusKind(pub i32);
+impl CashDrawerStatusKind {
+ pub const Online: Self = Self(0i32);
+ pub const Off: Self = Self(1i32);
+ pub const Offline: Self = Self(2i32);
+ pub const OffOrOffline: Self = Self(3i32);
+ pub const Extended: Self = Self(4i32);
+}
+impl ::core::marker::Copy for CashDrawerStatusKind {}
+impl ::core::clone::Clone for CashDrawerStatusKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CashDrawerStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
+pub type ClaimedBarcodeScanner = *mut ::core::ffi::c_void;
+pub type ClaimedBarcodeScannerClosedEventArgs = *mut ::core::ffi::c_void;
+pub type ClaimedCashDrawer = *mut ::core::ffi::c_void;
+pub type ClaimedCashDrawerClosedEventArgs = *mut ::core::ffi::c_void;
+pub type ClaimedJournalPrinter = *mut ::core::ffi::c_void;
+pub type ClaimedLineDisplay = *mut ::core::ffi::c_void;
+pub type ClaimedLineDisplayClosedEventArgs = *mut ::core::ffi::c_void;
+pub type ClaimedMagneticStripeReader = *mut ::core::ffi::c_void;
+pub type ClaimedMagneticStripeReaderClosedEventArgs = *mut ::core::ffi::c_void;
+pub type ClaimedPosPrinter = *mut ::core::ffi::c_void;
+pub type ClaimedPosPrinterClosedEventArgs = *mut ::core::ffi::c_void;
+pub type ClaimedReceiptPrinter = *mut ::core::ffi::c_void;
+pub type ClaimedSlipPrinter = *mut ::core::ffi::c_void;
+pub type ICashDrawerEventSourceEventArgs = *mut ::core::ffi::c_void;
+pub type ICommonClaimedPosPrinterStation = *mut ::core::ffi::c_void;
+pub type ICommonPosPrintStationCapabilities = *mut ::core::ffi::c_void;
+pub type ICommonReceiptSlipCapabilities = *mut ::core::ffi::c_void;
+pub type IPosPrinterJob = *mut ::core::ffi::c_void;
+pub type IReceiptOrSlipJob = *mut ::core::ffi::c_void;
+pub type JournalPrintJob = *mut ::core::ffi::c_void;
+pub type JournalPrinterCapabilities = *mut ::core::ffi::c_void;
+pub type LineDisplay = *mut ::core::ffi::c_void;
+pub type LineDisplayAttributes = *mut ::core::ffi::c_void;
+pub type LineDisplayCapabilities = *mut ::core::ffi::c_void;
+pub type LineDisplayCursor = *mut ::core::ffi::c_void;
+pub type LineDisplayCursorAttributes = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct LineDisplayCursorType(pub i32);
+impl LineDisplayCursorType {
+ pub const None: Self = Self(0i32);
+ pub const Block: Self = Self(1i32);
+ pub const HalfBlock: Self = Self(2i32);
+ pub const Underline: Self = Self(3i32);
+ pub const Reverse: Self = Self(4i32);
+ pub const Other: Self = Self(5i32);
+}
+impl ::core::marker::Copy for LineDisplayCursorType {}
+impl ::core::clone::Clone for LineDisplayCursorType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type LineDisplayCustomGlyphs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct LineDisplayDescriptorState(pub i32);
+impl LineDisplayDescriptorState {
+ pub const Off: Self = Self(0i32);
+ pub const On: Self = Self(1i32);
+ pub const Blink: Self = Self(2i32);
+}
+impl ::core::marker::Copy for LineDisplayDescriptorState {}
+impl ::core::clone::Clone for LineDisplayDescriptorState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct LineDisplayHorizontalAlignment(pub i32);
+impl LineDisplayHorizontalAlignment {
+ pub const Left: Self = Self(0i32);
+ pub const Center: Self = Self(1i32);
+ pub const Right: Self = Self(2i32);
+}
+impl ::core::marker::Copy for LineDisplayHorizontalAlignment {}
+impl ::core::clone::Clone for LineDisplayHorizontalAlignment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type LineDisplayMarquee = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct LineDisplayMarqueeFormat(pub i32);
+impl LineDisplayMarqueeFormat {
+ pub const None: Self = Self(0i32);
+ pub const Walk: Self = Self(1i32);
+ pub const Place: Self = Self(2i32);
+}
+impl ::core::marker::Copy for LineDisplayMarqueeFormat {}
+impl ::core::clone::Clone for LineDisplayMarqueeFormat {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct LineDisplayPowerStatus(pub i32);
+impl LineDisplayPowerStatus {
+ pub const Unknown: Self = Self(0i32);
+ pub const Online: Self = Self(1i32);
+ pub const Off: Self = Self(2i32);
+ pub const Offline: Self = Self(3i32);
+ pub const OffOrOffline: Self = Self(4i32);
+}
+impl ::core::marker::Copy for LineDisplayPowerStatus {}
+impl ::core::clone::Clone for LineDisplayPowerStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct LineDisplayScrollDirection(pub i32);
+impl LineDisplayScrollDirection {
+ pub const Up: Self = Self(0i32);
+ pub const Down: Self = Self(1i32);
+ pub const Left: Self = Self(2i32);
+ pub const Right: Self = Self(3i32);
+}
+impl ::core::marker::Copy for LineDisplayScrollDirection {}
+impl ::core::clone::Clone for LineDisplayScrollDirection {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type LineDisplayStatisticsCategorySelector = *mut ::core::ffi::c_void;
+pub type LineDisplayStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
+pub type LineDisplayStoredBitmap = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct LineDisplayTextAttribute(pub i32);
+impl LineDisplayTextAttribute {
+ pub const Normal: Self = Self(0i32);
+ pub const Blink: Self = Self(1i32);
+ pub const Reverse: Self = Self(2i32);
+ pub const ReverseBlink: Self = Self(3i32);
+}
+impl ::core::marker::Copy for LineDisplayTextAttribute {}
+impl ::core::clone::Clone for LineDisplayTextAttribute {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct LineDisplayTextAttributeGranularity(pub i32);
+impl LineDisplayTextAttributeGranularity {
+ pub const NotSupported: Self = Self(0i32);
+ pub const EntireDisplay: Self = Self(1i32);
+ pub const PerCharacter: Self = Self(2i32);
+}
+impl ::core::marker::Copy for LineDisplayTextAttributeGranularity {}
+impl ::core::clone::Clone for LineDisplayTextAttributeGranularity {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct LineDisplayVerticalAlignment(pub i32);
+impl LineDisplayVerticalAlignment {
+ pub const Top: Self = Self(0i32);
+ pub const Center: Self = Self(1i32);
+ pub const Bottom: Self = Self(2i32);
+}
+impl ::core::marker::Copy for LineDisplayVerticalAlignment {}
+impl ::core::clone::Clone for LineDisplayVerticalAlignment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type LineDisplayWindow = *mut ::core::ffi::c_void;
+pub type MagneticStripeReader = *mut ::core::ffi::c_void;
+pub type MagneticStripeReaderAamvaCardDataReceivedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct MagneticStripeReaderAuthenticationLevel(pub i32);
+impl MagneticStripeReaderAuthenticationLevel {
+ pub const NotSupported: Self = Self(0i32);
+ pub const Optional: Self = Self(1i32);
+ pub const Required: Self = Self(2i32);
+}
+impl ::core::marker::Copy for MagneticStripeReaderAuthenticationLevel {}
+impl ::core::clone::Clone for MagneticStripeReaderAuthenticationLevel {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct MagneticStripeReaderAuthenticationProtocol(pub i32);
+impl MagneticStripeReaderAuthenticationProtocol {
+ pub const None: Self = Self(0i32);
+ pub const ChallengeResponse: Self = Self(1i32);
+}
+impl ::core::marker::Copy for MagneticStripeReaderAuthenticationProtocol {}
+impl ::core::clone::Clone for MagneticStripeReaderAuthenticationProtocol {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type MagneticStripeReaderBankCardDataReceivedEventArgs = *mut ::core::ffi::c_void;
+pub type MagneticStripeReaderCapabilities = *mut ::core::ffi::c_void;
+pub type MagneticStripeReaderErrorOccurredEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct MagneticStripeReaderErrorReportingType(pub i32);
+impl MagneticStripeReaderErrorReportingType {
+ pub const CardLevel: Self = Self(0i32);
+ pub const TrackLevel: Self = Self(1i32);
+}
+impl ::core::marker::Copy for MagneticStripeReaderErrorReportingType {}
+impl ::core::clone::Clone for MagneticStripeReaderErrorReportingType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type MagneticStripeReaderReport = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct MagneticStripeReaderStatus(pub i32);
+impl MagneticStripeReaderStatus {
+ pub const Unauthenticated: Self = Self(0i32);
+ pub const Authenticated: Self = Self(1i32);
+ pub const Extended: Self = Self(2i32);
+}
+impl ::core::marker::Copy for MagneticStripeReaderStatus {}
+impl ::core::clone::Clone for MagneticStripeReaderStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type MagneticStripeReaderStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
+pub type MagneticStripeReaderTrackData = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct MagneticStripeReaderTrackErrorType(pub i32);
+impl MagneticStripeReaderTrackErrorType {
+ pub const None: Self = Self(0i32);
+ pub const StartSentinelError: Self = Self(1i32);
+ pub const EndSentinelError: Self = Self(2i32);
+ pub const ParityError: Self = Self(3i32);
+ pub const LrcError: Self = Self(4i32);
+ pub const Unknown: Self = Self(-1i32);
+}
+impl ::core::marker::Copy for MagneticStripeReaderTrackErrorType {}
+impl ::core::clone::Clone for MagneticStripeReaderTrackErrorType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct MagneticStripeReaderTrackIds(pub i32);
+impl MagneticStripeReaderTrackIds {
+ pub const None: Self = Self(0i32);
+ pub const Track1: Self = Self(1i32);
+ pub const Track2: Self = Self(2i32);
+ pub const Track3: Self = Self(4i32);
+ pub const Track4: Self = Self(8i32);
+}
+impl ::core::marker::Copy for MagneticStripeReaderTrackIds {}
+impl ::core::clone::Clone for MagneticStripeReaderTrackIds {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosConnectionTypes(pub u32);
+impl PosConnectionTypes {
+ pub const Local: Self = Self(1u32);
+ pub const IP: Self = Self(2u32);
+ pub const Bluetooth: Self = Self(4u32);
+ pub const All: Self = Self(4294967295u32);
+}
+impl ::core::marker::Copy for PosConnectionTypes {}
+impl ::core::clone::Clone for PosConnectionTypes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PosPrinter = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterAlignment(pub i32);
+impl PosPrinterAlignment {
+ pub const Left: Self = Self(0i32);
+ pub const Center: Self = Self(1i32);
+ pub const Right: Self = Self(2i32);
+}
+impl ::core::marker::Copy for PosPrinterAlignment {}
+impl ::core::clone::Clone for PosPrinterAlignment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterBarcodeTextPosition(pub i32);
+impl PosPrinterBarcodeTextPosition {
+ pub const None: Self = Self(0i32);
+ pub const Above: Self = Self(1i32);
+ pub const Below: Self = Self(2i32);
+}
+impl ::core::marker::Copy for PosPrinterBarcodeTextPosition {}
+impl ::core::clone::Clone for PosPrinterBarcodeTextPosition {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PosPrinterCapabilities = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterCartridgeSensors(pub u32);
+impl PosPrinterCartridgeSensors {
+ pub const None: Self = Self(0u32);
+ pub const Removed: Self = Self(1u32);
+ pub const Empty: Self = Self(2u32);
+ pub const HeadCleaning: Self = Self(4u32);
+ pub const NearEnd: Self = Self(8u32);
+}
+impl ::core::marker::Copy for PosPrinterCartridgeSensors {}
+impl ::core::clone::Clone for PosPrinterCartridgeSensors {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterColorCapabilities(pub u32);
+impl PosPrinterColorCapabilities {
+ pub const None: Self = Self(0u32);
+ pub const Primary: Self = Self(1u32);
+ pub const Custom1: Self = Self(2u32);
+ pub const Custom2: Self = Self(4u32);
+ pub const Custom3: Self = Self(8u32);
+ pub const Custom4: Self = Self(16u32);
+ pub const Custom5: Self = Self(32u32);
+ pub const Custom6: Self = Self(64u32);
+ pub const Cyan: Self = Self(128u32);
+ pub const Magenta: Self = Self(256u32);
+ pub const Yellow: Self = Self(512u32);
+ pub const Full: Self = Self(1024u32);
+}
+impl ::core::marker::Copy for PosPrinterColorCapabilities {}
+impl ::core::clone::Clone for PosPrinterColorCapabilities {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterColorCartridge(pub i32);
+impl PosPrinterColorCartridge {
+ pub const Unknown: Self = Self(0i32);
+ pub const Primary: Self = Self(1i32);
+ pub const Custom1: Self = Self(2i32);
+ pub const Custom2: Self = Self(3i32);
+ pub const Custom3: Self = Self(4i32);
+ pub const Custom4: Self = Self(5i32);
+ pub const Custom5: Self = Self(6i32);
+ pub const Custom6: Self = Self(7i32);
+ pub const Cyan: Self = Self(8i32);
+ pub const Magenta: Self = Self(9i32);
+ pub const Yellow: Self = Self(10i32);
+}
+impl ::core::marker::Copy for PosPrinterColorCartridge {}
+impl ::core::clone::Clone for PosPrinterColorCartridge {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PosPrinterFontProperty = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterLineDirection(pub i32);
+impl PosPrinterLineDirection {
+ pub const Horizontal: Self = Self(0i32);
+ pub const Vertical: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PosPrinterLineDirection {}
+impl ::core::clone::Clone for PosPrinterLineDirection {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterLineStyle(pub i32);
+impl PosPrinterLineStyle {
+ pub const SingleSolid: Self = Self(0i32);
+ pub const DoubleSolid: Self = Self(1i32);
+ pub const Broken: Self = Self(2i32);
+ pub const Chain: Self = Self(3i32);
+}
+impl ::core::marker::Copy for PosPrinterLineStyle {}
+impl ::core::clone::Clone for PosPrinterLineStyle {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterMapMode(pub i32);
+impl PosPrinterMapMode {
+ pub const Dots: Self = Self(0i32);
+ pub const Twips: Self = Self(1i32);
+ pub const English: Self = Self(2i32);
+ pub const Metric: Self = Self(3i32);
+}
+impl ::core::marker::Copy for PosPrinterMapMode {}
+impl ::core::clone::Clone for PosPrinterMapMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterMarkFeedCapabilities(pub u32);
+impl PosPrinterMarkFeedCapabilities {
+ pub const None: Self = Self(0u32);
+ pub const ToTakeUp: Self = Self(1u32);
+ pub const ToCutter: Self = Self(2u32);
+ pub const ToCurrentTopOfForm: Self = Self(4u32);
+ pub const ToNextTopOfForm: Self = Self(8u32);
+}
+impl ::core::marker::Copy for PosPrinterMarkFeedCapabilities {}
+impl ::core::clone::Clone for PosPrinterMarkFeedCapabilities {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterMarkFeedKind(pub i32);
+impl PosPrinterMarkFeedKind {
+ pub const ToTakeUp: Self = Self(0i32);
+ pub const ToCutter: Self = Self(1i32);
+ pub const ToCurrentTopOfForm: Self = Self(2i32);
+ pub const ToNextTopOfForm: Self = Self(3i32);
+}
+impl ::core::marker::Copy for PosPrinterMarkFeedKind {}
+impl ::core::clone::Clone for PosPrinterMarkFeedKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PosPrinterPrintOptions = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterPrintSide(pub i32);
+impl PosPrinterPrintSide {
+ pub const Unknown: Self = Self(0i32);
+ pub const Side1: Self = Self(1i32);
+ pub const Side2: Self = Self(2i32);
+}
+impl ::core::marker::Copy for PosPrinterPrintSide {}
+impl ::core::clone::Clone for PosPrinterPrintSide {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PosPrinterReleaseDeviceRequestedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterRotation(pub i32);
+impl PosPrinterRotation {
+ pub const Normal: Self = Self(0i32);
+ pub const Right90: Self = Self(1i32);
+ pub const Left90: Self = Self(2i32);
+ pub const Rotate180: Self = Self(3i32);
+}
+impl ::core::marker::Copy for PosPrinterRotation {}
+impl ::core::clone::Clone for PosPrinterRotation {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterRuledLineCapabilities(pub u32);
+impl PosPrinterRuledLineCapabilities {
+ pub const None: Self = Self(0u32);
+ pub const Horizontal: Self = Self(1u32);
+ pub const Vertical: Self = Self(2u32);
+}
+impl ::core::marker::Copy for PosPrinterRuledLineCapabilities {}
+impl ::core::clone::Clone for PosPrinterRuledLineCapabilities {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PosPrinterStatus = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct PosPrinterStatusKind(pub i32);
+impl PosPrinterStatusKind {
+ pub const Online: Self = Self(0i32);
+ pub const Off: Self = Self(1i32);
+ pub const Offline: Self = Self(2i32);
+ pub const OffOrOffline: Self = Self(3i32);
+ pub const Extended: Self = Self(4i32);
+}
+impl ::core::marker::Copy for PosPrinterStatusKind {}
+impl ::core::clone::Clone for PosPrinterStatusKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PosPrinterStatusUpdatedEventArgs = *mut ::core::ffi::c_void;
+pub type ReceiptPrintJob = *mut ::core::ffi::c_void;
+pub type ReceiptPrinterCapabilities = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+pub struct SizeUInt32 {
+ pub Width: u32,
+ pub Height: u32,
+}
+impl ::core::marker::Copy for SizeUInt32 {}
+impl ::core::clone::Clone for SizeUInt32 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SlipPrintJob = *mut ::core::ffi::c_void;
+pub type SlipPrinterCapabilities = *mut ::core::ffi::c_void;
+pub type UnifiedPosErrorData = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct UnifiedPosErrorReason(pub i32);
+impl UnifiedPosErrorReason {
+ pub const UnknownErrorReason: Self = Self(0i32);
+ pub const NoService: Self = Self(1i32);
+ pub const Disabled: Self = Self(2i32);
+ pub const Illegal: Self = Self(3i32);
+ pub const NoHardware: Self = Self(4i32);
+ pub const Closed: Self = Self(5i32);
+ pub const Offline: Self = Self(6i32);
+ pub const Failure: Self = Self(7i32);
+ pub const Timeout: Self = Self(8i32);
+ pub const Busy: Self = Self(9i32);
+ pub const Extended: Self = Self(10i32);
+}
+impl ::core::marker::Copy for UnifiedPosErrorReason {}
+impl ::core::clone::Clone for UnifiedPosErrorReason {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct UnifiedPosErrorSeverity(pub i32);
+impl UnifiedPosErrorSeverity {
+ pub const UnknownErrorSeverity: Self = Self(0i32);
+ pub const Warning: Self = Self(1i32);
+ pub const Recoverable: Self = Self(2i32);
+ pub const Unrecoverable: Self = Self(3i32);
+ pub const AssistanceRequired: Self = Self(4i32);
+ pub const Fatal: Self = Self(5i32);
+}
+impl ::core::marker::Copy for UnifiedPosErrorSeverity {}
+impl ::core::clone::Clone for UnifiedPosErrorSeverity {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct UnifiedPosHealthCheckLevel(pub i32);
+impl UnifiedPosHealthCheckLevel {
+ pub const UnknownHealthCheckLevel: Self = Self(0i32);
+ pub const POSInternal: Self = Self(1i32);
+ pub const External: Self = Self(2i32);
+ pub const Interactive: Self = Self(3i32);
+}
+impl ::core::marker::Copy for UnifiedPosHealthCheckLevel {}
+impl ::core::clone::Clone for UnifiedPosHealthCheckLevel {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Devices_PointOfService\"`*"]
+#[repr(transparent)]
+pub struct UnifiedPosPowerReportingType(pub i32);
+impl UnifiedPosPowerReportingType {
+ pub const UnknownPowerReportingType: Self = Self(0i32);
+ pub const Standard: Self = Self(1i32);
+ pub const Advanced: Self = Self(2i32);
+}
+impl ::core::marker::Copy for UnifiedPosPowerReportingType {}
+impl ::core::clone::Clone for UnifiedPosPowerReportingType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}