IOCTL_POINT_OF_SERVICE_MSR_AUTHENTICATE_DEVICE IOCTL (pointofservicedriverinterface.h)

This IO control function authenticates the magnetic stripe reader (MSR).

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

Pointer to the input buffer, a MSR_AUTHENTICATE_DEVICE variable.

Input buffer length

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

Output buffer

Not used with this operation; set to NULL.

Output buffer length

Not used with this operation; set to 0 (zero).

Status block

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

To get extended error information, call GetLastError. The following are common error values:

  • STATUS_ACCESS_DENIED: The device is currently claimed by another client.

  • STATUS_NOT_SUPPORTED: The device does not support authentication.

Requirements

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