Partager via


Structure PosBarcodeScannerCapabilitiesType (pointofservicedriverinterface.h)

Cette structure définit le type de fonctionnalités du scanneur qu’un appareil prend en charge, par exemple si l’appareil prend en charge la création de rapports de statistiques et l’aperçu d’image.

Syntaxe

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

Membres

PowerReportingType

Un UnifiedPosPowerReportingType qui indique si l’appareil prend en charge les rapports d’alimentation standard ou avancés.

IsStatisticsReportingSupported

Indique si IOCTL_POINT_OF_SERVICE_RETRIEVE_STATISTICS est pris en charge.

IsStatisticsUpdatingSupported

Indique si IOCTL_POINT_OF_SERVICE_UPDATE_STATISTICS est pris en charge.

IsImagePreviewSupported

Indique si les données d’image peuvent être obtenues à partir de l’appareil scanneur de codes-barres (en d’autres termes, si BarcodeScannerImagePreviewReceived événements seront envoyés par le pilote).

Exigences

Exigence Valeur
d’en-tête pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h)