Platform SDK: DLLs, Processes, and Threads

IO_COUNTERS

The IO_COUNTERS structure 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.

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

Members

ReadOperationCount
Specifies the number of read operations performed.
WriteOperationCount
Specifies the number of write operations performed.
OtherOperationCount
Specifies the number of I/O operations performed, other than read and write operations.
ReadTransferCount
Specifies the number of bytes read.
WriteTransferCount
Specifies the number of bytes written.
OtherTransferCount
Specifies the number of bytes transferred during operations other than read and write operations.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Winnt.h; include Windows.h.

See Also

Processes and Threads Overview, Process and Thread Structures, GetProcessIoCounters, JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION