IOCTL_POINT_OF_SERVICE_CHECK_HEALTH IOCTL (pointofservicedriverinterface.h)

This I/O control function checks the device health.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

Pointer to the input buffer, a UnifiedPosHealthCheckLevel variable.

Input buffer length

Size of the input buffer, in bytes. Set to sizeof(UnifiedPosHealthCheckLevel).

Output buffer

Pointer to a buffer that receives a PosStringType followed by the contents of the health string.

Output buffer length

Size of the output buffer, in bytes. Set to sizeof(PosStringType) + enough room to hold the health string.

Status block

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

To get extended error information, call GetLastError. The following is a common error value:

  • STATUS_NOT_SUPPORTED: The driver does not provide health strings.

Requirements

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