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 类型 I 卡。

IsJisTwoSupported

指示设备是否支持 JIS 类型 II 卡。

IsTrackDataMaskingSupported

指示设备是否能够屏蔽轨道数据。

IsTransmitSentinelsSupported

指示设备是否能够传输开始和结束 sentinels。

要求

要求
Header pointofservicedriverinterface.h (包括 PointOfServiceDriverInterface.h)