PosBarcodeScannerCapabilitiesType 结构 (pointofservicedriverinterface.h)

此结构定义设备支持的扫描程序功能类型,例如设备是否支持统计信息报告和图像预览。

语法

typedef struct _PosBarcodeScannerCapabilitiesType {
  DriverUnifiedPosPowerReportingType PowerReportingType;
  LONG                               IsStatisticsReportingSupported;
  LONG                               IsStatisticsUpdatingSupported;
  LONG                               IsImagePreviewSupported;
} PosBarcodeScannerCapabilitiesType;

成员

PowerReportingType

UnifiedPosPowerReportingType,指示设备是支持标准还是高级电源报告。

IsStatisticsReportingSupported

指示是否支持 IOCTL_POINT_OF_SERVICE_RETRIEVE_STATISTICS

IsStatisticsUpdatingSupported

指示是否支持 IOCTL_POINT_OF_SERVICE_UPDATE_STATISTICS

IsImagePreviewSupported

指示是否可以从条形码扫描仪设备获取图像数据(换句话说,是否 BarcodeScannerImagePreviewReceived 事件将由驱动程序发送)。

要求

要求 价值
标头 pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h)