IOCTL_DISK_PERFORMANCE_OFF IOCTL (ntdddisk.h)

Disables the counters that were enabled by previous calls to IOCTL_DISK_PERFORMANCE. This request is available in Windows XP and later operating systems. Caller must be running at IRQL = PASSIVE_LEVEL.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

None.

Input buffer length

None.

Output buffer

None.

Output buffer length

None.

Status block

The Information member is set to zero. The Status member is set to STATUS_SUCCESS if the operation was successful. Otherwise, the Status member is set to the appropriate error code.

Requirements

Requirement Value
Header ntdddisk.h (include Ntdddisk.h)
IRQL PASSIVE_LEVEL

See also

IOCTL_DISK_PERFORMANCE