PosDeviceControlType 列舉 (pointofservicedriverinterface.h)

此列舉會定義掃描器驅動程式和磁條讀取器 (MSR) 驅動程式的 IOCTL 值。

語法

typedef enum _PosDeviceControlType {
  _MinDeviceControlType,
  Invalid,
  GetProperty,
  SetProperty,
  ClaimDevice,
  ReleaseDevice,
  RetainDevice,
  RetrieveStatistics,
  ResetStatistics,
  UpdateStatistics,
  CheckHealth,
  GetDeviceBasics,
  BarcodeScannerInjectEvent,
  MsrRetrieveDeviceAuthentication,
  MsrAuthenticateDevice,
  MsrDeAuthenticateDevice,
  MsrUpdateKey,
  StartBarcodeScannerSoftwareTrigger,
  StopBarcodeScannerSoftwareTrigger,
  BarcodeScannerGetSymbologyAttributes,
  BarcodeScannerSetSymbologyAttributes,
  _MaxDeviceControlType
} PosDeviceControlType;

常數

 
_MinDeviceControlType
保留供內部使用。
Invalid
事件程式代碼無效。
GetProperty
表示 IOCTL_POINT_OF_SERVICE_GET_PROPERTY。
SetProperty
表示 IOCTL_POINT_OF_SERVICE_SET_PROPERTY。
ClaimDevice
表示 IOCTL_POINT_OF_SERVICE_CLAIM_DEVICE。
ReleaseDevice
表示 IOCTL_POINT_OF_SERVICE_RELEASE_DEVICE。
RetainDevice
表示 IOCTL_POINT_OF_SERVICE_RETAIN_DEVICE。
RetrieveStatistics
表示 IOCTL_POINT_OF_SERVICE_RETRIEVE_STATISTICS。
ResetStatistics
表示 IOCTL_POINT_OF_SERVICE_RESET_STATISTICS。
UpdateStatistics
表示 IOCTL_POINT_OF_SERVICE_UPDATE_STATISTICS。
CheckHealth
表示 IOCTL_POINT_OF_SERVICE_CHECK_HEALTH。
GetDeviceBasics
表示 IOCTL_POINT_OF_SERVICE_GET_DEVICE_BASICS。
BarcodeScannerInjectEvent
定義 BarcodeScannerInjectEvent 常數。
MsrRetrieveDeviceAuthentication
表示 IOCTL_POINT_OF_SERVICE_MSR_RETRIEVE_DEVICE_AUTHENTICATION。
MsrAuthenticateDevice
表示 IOCTL_POINT_OF_SERVICE_MSR_AUTHENTICATE_DEVICE。
MsrDeAuthenticateDevice
表示 IOCTL_POINT_OF_SERVICE_MSR_DEAUTHENTICATE_DEVICE。
MsrUpdateKey
表示 IOCTL_POINT_OF_SERVICE_MSR_UPDATE_KEY。
StartBarcodeScannerSoftwareTrigger
定義 startBarcodeScannerSoftwareTrigger 常數。
StopBarcodeScannerSoftwareTrigger
定義 stopBarcodeScannerSoftwareTrigger 常數。
BarcodeScannerGetSymbologyAttributes
定義 BarcodeScannerGetSymbologyAttributes 常數。
BarcodeScannerSetSymbologyAttributes
定義 BarcodeScannerSetSymbologyAttributes 常數。
_MaxDeviceControlType
保留供內部使用。

言論

此列舉會提供您可以傳送給裝置驅動程式的每個 IOCTL 值。 在呼叫 sendDeviceCommand() 等函式時,指示要分派哪一個 IOCTL 是一種方便的方式。

要求

要求 價值
標頭 pointofservicedriverinterface.h (include Pointofservicedriverinterface.h)