// pointofservicedriverinterface.h
// CTL_CODE(0x0054, 0x00a, METHOD_BUFFERED, FILE_READ_ACCESS)
#define IOCTL_POINT_OF_SERVICE_GET_DEVICE_BASICS 0x00544028
View the official Windows Driver Kit DDI referenceNo description available.
This I/O control function gets the type of device, version, and recommended buffer size as specified by the driver.
32-bit encoded POS Windows Runtime (WinRT) API version. The top sixteen bits must contain the major version, and the lower sixteen bits must contain the minor version.
Size of the input buffer, in bytes. Set to sizeof(UINT32).
Pointer to a buffer that receives a PosDeviceBasicsType.
Size of the output buffer, in bytes. Set to sizeof(PosDeviceBasicsType).
Returns TRUE if successful; otherwise, returns FALSE.
To get extended error information, call GetLastError. The following list shows common error values:
STATUS_BUFFER_TOO_SMALL: The output buffer is not large enough to contain the result.
STATUS_INSUFFICIENT_RESOURCES: There is insufficient memory.
Provide the version of the POS WinRT API to inform the driver which version of the runtime it is working with. This IOCTL returns the version of the driver in PosDeviceBasicsType, so that you can have the driver version available in the runtime API if you wish to provide it.