PosEventType 列舉 (pointofservicedriverinterface.h)
此列舉定義 PosEventDataHeader 結構中使用的值,以指出引發的事件類型。
Syntax
typedef enum _PosEventType {
InvalidEvent,
_MinEventType,
ReleaseDeviceRequested,
StatusUpdated,
BarcodeScannerTriggerPressed,
BarcodeScannerTriggerReleased,
BarcodeScannerDataReceived,
BarcodeScannerErrorOccurred,
BarcodeScannerImagePreviewReceived,
MagneticStripeReaderDataReceived,
MagneticStripeReaderErrorOccurred,
_Max
} PosEventType;
常數
InvalidEvent 事件程式代碼無效。 |
_MinEventType 保留供內部使用。 |
ReleaseDeviceRequested 代表 ReleaseDeviceRequested 事件。 |
StatusUpdated 表示 StatusUpdated 事件。 |
BarcodeScannerTriggerPressed 代表 BarcodeScannerTriggerPressed 事件。 |
BarcodeScannerTriggerReleased 代表 BarcodeScannerTriggerReleased 事件。 |
BarcodeScannerDataReceived 代表 BarcodeScannerDataReceived 事件。 |
BarcodeScannerErrorOccurred 代表 BarcodeScannerErrorOccurred 事件。 |
BarcodeScannerImagePreviewReceived 代表 BarcodeScannerImagePreviewReceived 事件。 |
MagneticStripeReaderDataReceived 代表 MagneticStripeReaderDataReceived 事件。 |
MagneticStripeReaderErrorOccurred 代表 MagneticStripeReaderErrorOccurred 事件。 |
_Max 保留供內部使用。 |
規格需求
需求 | 值 |
---|---|
標頭 | pointofservicedriverinterface.h (include Pointofservicedriverinterface.h) |