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 事件。

要求

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