PosDeviceBasicsType structure (pointofservicedriverinterface.h)

This structure indicates the type of device, version, and recommended buffer size as specified by the driver.

Syntax

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

Members

Version

Contains 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.

DeviceType

Indicates the PosDeviceType of the POS device (for example, a barcode scanner or a magnetic stripe reader).

RecommendedBufferSize

Indicates the size of the buffer that needs to be allocated to receive event data when calling ReadFile to retrieve events for this device.

Requirements

Requirement Value
Header pointofservicedriverinterface.h (include PointOfServiceDriverInterface.h)