IOCTL_POINT_OF_SERVICE_RESET_STATISTICS IOCTL (pointofservicedriverinterface.h)

This I/O control function resets the specified statistic's value to zero.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

PosStringType that names the statistic to reset to zero.

Input buffer length

Size of the string passed in lpInBuffer. Set to sizeof(PosStringType) + the size of the string in bytes.

Output buffer

Not used with this operation; set to NULL.

Output buffer length

Not used with this operation; set to 0 (zero).

Status block

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

To get extended error information, call GetLastError. The following is a common error value:

  • STATUS_NOT_SUPPORTED: Statistic updating or reporting is not supported.

Requirements

Requirement Value
Header pointofservicedriverinterface.h (include Pointofservicedriverinterface.h)