Enumeração PosDeviceControlType (pointofservicedriverinterface.h)
Essa enumeração define valores para os IOCTLs do driver do scanner e do driver msr (leitor de listras magnéticas).
Sintaxe
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 Reservado para uso interno. |
Invalid O código do evento não é válido. |
GetProperty Representa IOCTL_POINT_OF_SERVICE_GET_PROPERTY. |
SetProperty Representa IOCTL_POINT_OF_SERVICE_SET_PROPERTY. |
ClaimDevice Representa IOCTL_POINT_OF_SERVICE_CLAIM_DEVICE. |
ReleaseDevice Representa IOCTL_POINT_OF_SERVICE_RELEASE_DEVICE. |
RetainDevice Representa IOCTL_POINT_OF_SERVICE_RETAIN_DEVICE. |
RetrieveStatistics Representa IOCTL_POINT_OF_SERVICE_RETRIEVE_STATISTICS. |
ResetStatistics Representa IOCTL_POINT_OF_SERVICE_RESET_STATISTICS. |
UpdateStatistics Representa IOCTL_POINT_OF_SERVICE_UPDATE_STATISTICS. |
CheckHealth Representa IOCTL_POINT_OF_SERVICE_CHECK_HEALTH. |
GetDeviceBasics Representa IOCTL_POINT_OF_SERVICE_GET_DEVICE_BASICS. |
BarcodeScannerInjectEvent Define a constante BarcodeScannerInjectEvent. |
MsrRetrieveDeviceAuthentication Representa IOCTL_POINT_OF_SERVICE_MSR_RETRIEVE_DEVICE_AUTHENTICATION. |
MsrAuthenticateDevice Representa IOCTL_POINT_OF_SERVICE_MSR_AUTHENTICATE_DEVICE. |
MsrDeAuthenticateDevice Representa IOCTL_POINT_OF_SERVICE_MSR_DEAUTHENTICATE_DEVICE. |
MsrUpdateKey Representa IOCTL_POINT_OF_SERVICE_MSR_UPDATE_KEY. |
StartBarcodeScannerSoftwareTrigger Define a constante StartBarcodeScannerSoftwareTrigger. |
StopBarcodeScannerSoftwareTrigger Define a constante StopBarcodeScannerSoftwareTrigger. |
BarcodeScannerGetSymbologyAttributes Define a constante BarcodeScannerGetSymbologyAttributes. |
BarcodeScannerSetSymbologyAttributes Define a constante BarcodeScannerSetSymbologyAttributes. |
_MaxDeviceControlType Reservado para uso interno. |
Observações
Essa enumeração fornece valores para cada IOCTL que você pode enviar para o driver do dispositivo. É uma maneira conveniente de indicar qual IOCTL deve ser expedido ao chamar funções como SendDeviceCommand().
Requisitos
Requisito | Valor |
---|---|
cabeçalho | pointofservicedriverinterface.h (inclua Pointofservicedriverinterface.h) |