IO_COUNTERS structure (winnt.h)

Contains I/O accounting information for a process or a job object. For a job object, the counters include all operations performed by all processes that have ever been associated with the job, in addition to all processes currently associated with the job.

Syntax

typedef struct _IO_COUNTERS {
  ULONGLONG ReadOperationCount;
  ULONGLONG WriteOperationCount;
  ULONGLONG OtherOperationCount;
  ULONGLONG ReadTransferCount;
  ULONGLONG WriteTransferCount;
  ULONGLONG OtherTransferCount;
} IO_COUNTERS;

Members

ReadOperationCount

The number of read operations performed.

WriteOperationCount

The number of write operations performed.

OtherOperationCount

The number of I/O operations performed, other than read and write operations.

ReadTransferCount

The number of bytes read.

WriteTransferCount

The number of bytes written.

OtherTransferCount

The number of bytes transferred during operations other than read and write operations.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winnt.h (include Windows.h)

See also

GetProcessIoCounters

JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION