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) |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈