次の方法で共有


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 を含む)