// pointofservicedriverinterface.h
// CTL_CODE(0x0054, 0x00d, METHOD_BUFFERED, FILE_WRITE_ACCESS)
#define IOCTL_POINT_OF_SERVICE_MSR_AUTHENTICATE_DEVICE 0x00548034
View the official Windows Driver Kit DDI referenceNo description available.
This IO control function authenticates the magnetic stripe reader (MSR).
Pointer to the input buffer, a MSR_AUTHENTICATE_DEVICE variable.
Size of the input buffer, in bytes. Set to sizeof(MSR_AUTHENTICATE_DEVICE).
Not used with this operation; set to NULL.
Not used with this operation; set to 0 (zero).
Returns TRUE if successful; otherwise, returns FALSE.
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.