Bewerken

Delen via


PsIsDiskCountersEnabled function (ntifs.h)

The enabled state of the per process disk I/O counters is returned by the PsIsDiskCountersEnabled routine.

Syntax

BOOLEAN PsIsDiskCountersEnabled();

Return value

If TRUE, the disk

Remarks

A file system driver uses the PsIsDiskCountersEnabled routine to query the system enabled state of the disk I/O counters. A file system driver will use this routine prior to accounting for process disk I/O using PsUpdateDiskCounters.

Requirements

Requirement Value
Minimum supported client Windows 8.
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any

See also

PsUpdateDiskCounters