PosDeviceInformation structure (pointofservicecommontypes.h)

This structure provides device information as defined in and required by the Unified Point of Service (UPOS) standard.

Syntax

typedef struct _PosDeviceInformation {
  wchar_t UnifiedPOSVersion[STATISTICS_STRING_SIZE];
  wchar_t DeviceCategory[STATISTICS_STRING_SIZE];
  wchar_t ManufacturerName[STATISTICS_STRING_SIZE];
  wchar_t ModelName[STATISTICS_STRING_SIZE];
  wchar_t SerialNumber[STATISTICS_STRING_SIZE];
  wchar_t ManufactureDate[STATISTICS_STRING_SIZE];
  wchar_t MechanicalRevision[STATISTICS_STRING_SIZE];
  wchar_t FirmwareRevision[STATISTICS_STRING_SIZE];
  wchar_t Interface[STATISTICS_STRING_SIZE];
  wchar_t InstallationDate[STATISTICS_STRING_SIZE];
} PosDeviceInformation;

Members

UnifiedPOSVersion[STATISTICS_STRING_SIZE]

Indicates the version of the UPOS specification supported.

DeviceCategory[STATISTICS_STRING_SIZE]

Indicates the device category (for example, POSPrinter or CashDrawer).

ManufacturerName[STATISTICS_STRING_SIZE]

Indicates the name of the device manufacturer.

ModelName[STATISTICS_STRING_SIZE]

Indicates the model name of the device.

SerialNumber[STATISTICS_STRING_SIZE]

Indicates the serial number of the device.

ManufactureDate[STATISTICS_STRING_SIZE]

Indicates the date the device was manufactured.

MechanicalRevision[STATISTICS_STRING_SIZE]

Indicates the device hardware revision.

FirmwareRevision[STATISTICS_STRING_SIZE]

Indicates the device firmware revision.

Interface[STATISTICS_STRING_SIZE]

Indicates the device hardware interface (for example, serial or USB).

InstallationDate[STATISTICS_STRING_SIZE]

Indicates the device installation date.

Remarks

These strings must be NULL terminated, and the maximum length of the strings is STATISTICS_STRING_SIZE - 1.

Requirements

Requirement Value
Header pointofservicecommontypes.h (include PointOfServiceCommonTypes.h)