PosMagneticStripeReaderCapabilitiesType 结构 (pointofservicedriverinterface.h)
此结构定义设备支持的磁条读取器(MSR)功能,例如设备是否支持跟踪数据掩码。
语法
typedef struct _PosMagneticStripeReaderCapabilitiesType {
DriverUnifiedPosPowerReportingType PowerReportingType;
LONG IsStatisticsReportingSupported;
LONG IsStatisticsUpdatingSupported;
UINT32 CardAuthenticationLength;
UINT32 SupportedEncryptionAlgorithms;
DriverMagneticStripeReaderAuthenticationLevel AuthenticationLevel;
LONG IsIsoSupported;
LONG IsJisOneSupported;
LONG IsJisTwoSupported;
LONG IsTrackDataMaskingSupported;
LONG IsTransmitSentinelsSupported;
} PosMagneticStripeReaderCapabilitiesType;
成员
PowerReportingType
指示设备支持的电源报告类型。
IsStatisticsReportingSupported
指示设备是否支持 IOCTL_POINT_OF_SERVICE_RETRIEVE_STATISTICS。
IsStatisticsUpdatingSupported
指示设备是否支持 IOCTL_POINT_OF_SERVICE_UPDATE_STATISTICS。
CardAuthenticationLength
设备使用的身份验证类型的长度(以字节为单位)。
SupportedEncryptionAlgorithms
支持的加密算法。 请参阅 MsrDataEncryption。
AuthenticationLevel
设备支持的身份验证级别。
IsIsoSupported
指示设备是否支持 ISO 卡。
IsJisOneSupported
指示设备是否支持 JIS Type-I 卡。
IsJisTwoSupported
指示设备是否支持 JIS Type-II 卡。
IsTrackDataMaskingSupported
指示设备是否能够屏蔽跟踪数据。
IsTransmitSentinelsSupported
指示设备是否可以传输开始和结束 sentinels。
要求
要求 | 价值 |
---|---|
标头 | pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h) |