// pointofservicedriverinterface.h
// CTL_CODE(0x0054, 0x006, METHOD_BUFFERED, FILE_READ_ACCESS)
#define IOCTL_POINT_OF_SERVICE_RETRIEVE_STATISTICS 0x00544018
View the official Windows Driver Kit DDI referenceNo description available.
This I/O control function returns unified point of service (UPOS) standard information about a device such as its category, manufacturer, and firmware revision number.
[in] Not used with this operation; set to NULL.
Not used with this operation; set to 0 (zero).
Pointer to the PosStatisticsHeader structure that contains the statistics.
Size of the output buffer in bytes. Set to sizeof(PosStatisticsHeader).
Returns TRUE if successful; otherwise, returns FALSE.
To get extended error information, call GetLastError. The following list shows common error values:
STATUS_BUFFER_OVERFLOW: The output buffer is not large enough to hold the statistics.
STATUS_NOT_SUPPORTED: Statistic reporting is not supported.