DriverUnifiedPosErrorReason 枚举 (pointofservicecommontypes.h)

此枚举指示错误的原因。

语法

typedef enum DriverUnifiedPosErrorReason {
  UnknownErrorReason,
  NoService,
  Disabled,
  Illegal,
  NoHardware,
  Closed,
  Offline,
  Failure,
  Timeout,
  Busy,
  Extended
} ;

常数

 
UnknownErrorReason
错误的原因尚不清楚。
NoService
由于当前配置,无法与设备通信。
Disabled
必须启用设备才能执行该作。
Illegal
此设备不可用或不支持此函数。
NoHardware
物理设备未连接或未打开。
Closed
设备已关闭。
Offline
设备处于脱机状态。
Failure
设备已连接并打开电源,但无法执行该作。
Timeout
作在设备上超时。
Busy
设备繁忙,无法完成作。
Extended
设备返回了供应商指定的错误。

要求

要求 价值
标头 pointofservicecommontypes.h (include Pointofservicecommontypes.h)