IOCTL_POINT_OF_SERVICE_GET_DEVICE_BASICS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-pointofservicedriverinterface-ioctl_point_of_service_get_device_basics)

IOCTL_POINT_OF_SERVICE_GET_DEVICE_BASICS IOCTL

Description

This I/O control function gets the type of device, version, and recommended buffer size as specified by the driver.

Parameters

Major code

Input buffer

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.

Input buffer length

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

Output buffer

Pointer to a buffer that receives a PosDeviceBasicsType.

Output buffer length

Size of the output buffer, in bytes. Set to sizeof(PosDeviceBasicsType).

Input/output buffer

Input/output buffer length

Status block

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

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

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.