PosDeviceControlType, énumération (pointofservicedriverinterface.h)
Cette énumération définit les valeurs des pilotes du scanneur et du pilote MSR (Lecteur de bandes magnétiques).
Syntaxe
typedef enum _PosDeviceControlType {
_MinDeviceControlType,
Invalid,
GetProperty,
SetProperty,
ClaimDevice,
ReleaseDevice,
RetainDevice,
RetrieveStatistics,
ResetStatistics,
UpdateStatistics,
CheckHealth,
GetDeviceBasics,
BarcodeScannerInjectEvent,
MsrRetrieveDeviceAuthentication,
MsrAuthenticateDevice,
MsrDeAuthenticateDevice,
MsrUpdateKey,
StartBarcodeScannerSoftwareTrigger,
StopBarcodeScannerSoftwareTrigger,
BarcodeScannerGetSymbologyAttributes,
BarcodeScannerSetSymbologyAttributes,
_MaxDeviceControlType
} PosDeviceControlType;
Constantes
_MinDeviceControlType Réservé à une utilisation interne. |
Invalid Le code d’événement n’est pas valide. |
GetProperty Représente IOCTL_POINT_OF_SERVICE_GET_PROPERTY. |
SetProperty Représente IOCTL_POINT_OF_SERVICE_SET_PROPERTY. |
ClaimDevice Représente IOCTL_POINT_OF_SERVICE_CLAIM_DEVICE. |
ReleaseDevice Représente IOCTL_POINT_OF_SERVICE_RELEASE_DEVICE. |
RetainDevice Représente IOCTL_POINT_OF_SERVICE_RETAIN_DEVICE. |
RetrieveStatistics Représente IOCTL_POINT_OF_SERVICE_RETRIEVE_STATISTICS. |
ResetStatistics Représente IOCTL_POINT_OF_SERVICE_RESET_STATISTICS. |
UpdateStatistics Représente IOCTL_POINT_OF_SERVICE_UPDATE_STATISTICS. |
CheckHealth Représente IOCTL_POINT_OF_SERVICE_CHECK_HEALTH. |
GetDeviceBasics Représente IOCTL_POINT_OF_SERVICE_GET_DEVICE_BASICS. |
BarcodeScannerInjectEvent Définit la constante BarcodeScannerInjectEvent. |
MsrRetrieveDeviceAuthentication Représente IOCTL_POINT_OF_SERVICE_MSR_RETRIEVE_DEVICE_AUTHENTICATION. |
MsrAuthenticateDevice Représente IOCTL_POINT_OF_SERVICE_MSR_AUTHENTICATE_DEVICE. |
MsrDeAuthenticateDevice Représente IOCTL_POINT_OF_SERVICE_MSR_DEAUTHENTICATE_DEVICE. |
MsrUpdateKey Représente IOCTL_POINT_OF_SERVICE_MSR_UPDATE_KEY. |
StartBarcodeScannerSoftwareTrigger Définit la constante StartBarcodeScannerSoftwareTrigger. |
StopBarcodeScannerSoftwareTrigger Définit la constante StopBarcodeScannerSoftwareTrigger. |
BarcodeScannerGetSymbologyAttributes Définit la constante BarcodeScannerGetSymbologyAttributes. |
BarcodeScannerSetSymbologyAttributes Définit la constante BarcodeScannerSetSymbologyAttributes. |
_MaxDeviceControlType Réservé à une utilisation interne. |
Remarques
Cette énumération fournit des valeurs pour chaque IOCTL que vous pouvez envoyer au pilote de périphérique. Il s’agit d’un moyen pratique d’indiquer la durée de vie du CIO à distribuer lors de l’appel de fonctions comme SendDeviceCommand().
Exigences
Exigence | Valeur |
---|---|
d’en-tête | pointofservicedriverinterface.h (include Pointofservicedriverinterface.h) |