// pointofservicedriverinterface.h
// CTL_CODE(0x0054, 0x001, METHOD_BUFFERED, FILE_READ_ACCESS)
#define IOCTL_POINT_OF_SERVICE_GET_PROPERTY 0x00544004
View the official Windows Driver Kit DDI referenceNo description available.
This I/O control function returns the value of the specified property from the device driver.
Pointer to a buffer that contains the PosPropertyId for the property you want to get.
Size, in bytes, of the buffer pointed to by lpInBuffer. Set to sizeof(PosPropertyId).
Pointer to a buffer that receives the property value.
Size, in bytes, of the buffer pointed to by lpOutBuffer.
Returns TRUE if successful; otherwise, returns FALSE.
To get extended error information, call GetLastError. The following list shows common error values (other status values may be returned as defined by your GET property callback implementation):
STATUS_ACCESS_DENIED: The calling thread does not have a claim on the device.
STATUS_BUFFER_OVERFLOW: The output buffer is not large enough to contain the output value. The driver will copy as much data into the output buffer as possible.