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) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應