// pointofservicedriverinterface.h
typedef struct _PosDeviceBasicsType {
UINT32 Version;
PosDeviceType DeviceType;
UINT32 RecommendedBufferSize;
} PosDeviceBasicsType;
View the official Windows Driver Kit DDI referenceNo description available.
This structure indicates the type of device, version, and recommended buffer size as specified by the driver.
VersionContains the major and minor version of the POS driver interface. The top 16 bits contains the major version and the bottom 16 bits contains the minor version.
DeviceTypeIndicates the PosDeviceType of the POS device (for example, a barcode scanner or a magnetic stripe reader).
RecommendedBufferSizeIndicates the size of the buffer that needs to be allocated to receive event data when calling ReadFile to retrieve events for this device.