PosDeviceBasicsType 结构 (pointofservicedriverinterface.h)

此结构指示驱动程序指定的设备、版本和建议的缓冲区大小的类型。

语法

typedef struct _PosDeviceBasicsType {
  UINT32        Version;
  PosDeviceType DeviceType;
  UINT32        RecommendedBufferSize;
} PosDeviceBasicsType;

成员

Version

包含 POS 驱动程序接口的主版本和次要版本。 前 16 位包含主要版本,底部 16 位包含次要版本。

DeviceType

指示 POS 设备的 PosDeviceType(例如条形码扫描仪或磁条阅读器)。

RecommendedBufferSize

指示在调用 ReadFile 以检索此设备的事件时需要分配接收事件数据的缓冲区的大小。

要求

要求 价值
标头 pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h)