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 () 的便捷方法。

要求

要求
Header pointofservicedriverinterface.h (包括 Pointofservicedriverinterface.h)