共用方式為


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)