PosDeviceControlType enumeration (pointofservicedriverinterface.h)

This enumeration defines values for the IOCTLs of the scanner driver and magnetic stripe reader (MSR) driver.

Syntax

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;

Constants

 
_MinDeviceControlType
Reserved for internal use.
Invalid
The event code is not valid.
GetProperty
Represents IOCTL_POINT_OF_SERVICE_GET_PROPERTY.
SetProperty
Represents IOCTL_POINT_OF_SERVICE_SET_PROPERTY.
ClaimDevice
Represents IOCTL_POINT_OF_SERVICE_CLAIM_DEVICE.
ReleaseDevice
Represents IOCTL_POINT_OF_SERVICE_RELEASE_DEVICE.
RetainDevice
Represents IOCTL_POINT_OF_SERVICE_RETAIN_DEVICE.
RetrieveStatistics
Represents IOCTL_POINT_OF_SERVICE_RETRIEVE_STATISTICS.
ResetStatistics
Represents IOCTL_POINT_OF_SERVICE_RESET_STATISTICS.
UpdateStatistics
Represents IOCTL_POINT_OF_SERVICE_UPDATE_STATISTICS.
CheckHealth
Represents IOCTL_POINT_OF_SERVICE_CHECK_HEALTH.
GetDeviceBasics
Represents IOCTL_POINT_OF_SERVICE_GET_DEVICE_BASICS.
BarcodeScannerInjectEvent
Defines the BarcodeScannerInjectEvent constant.
MsrRetrieveDeviceAuthentication
Represents IOCTL_POINT_OF_SERVICE_MSR_RETRIEVE_DEVICE_AUTHENTICATION.
MsrAuthenticateDevice
Represents IOCTL_POINT_OF_SERVICE_MSR_AUTHENTICATE_DEVICE.
MsrDeAuthenticateDevice
Represents IOCTL_POINT_OF_SERVICE_MSR_DEAUTHENTICATE_DEVICE.
MsrUpdateKey
Represents IOCTL_POINT_OF_SERVICE_MSR_UPDATE_KEY.
StartBarcodeScannerSoftwareTrigger
Defines the StartBarcodeScannerSoftwareTrigger constant.
StopBarcodeScannerSoftwareTrigger
Defines the StopBarcodeScannerSoftwareTrigger constant.
BarcodeScannerGetSymbologyAttributes
Defines the BarcodeScannerGetSymbologyAttributes constant.
BarcodeScannerSetSymbologyAttributes
Defines the BarcodeScannerSetSymbologyAttributes constant.
_MaxDeviceControlType
Reserved for internal use.

Remarks

This enumeration provides values for each IOCTL that you can send to the device driver. It is a convenient way to indicate which IOCTL to dispatch when calling functions like SendDeviceCommand().

Requirements

Requirement Value
Header pointofservicedriverinterface.h (include Pointofservicedriverinterface.h)