# Function Reference

# _WinAPI_GetProcessIoCounters

Retrieves accounting information for all I/O operations performed by the specified process

#include <WinAPIProc.au3>
_WinAPI_GetProcessIoCounters ( [$iPID = 0] )

## Parameters

$iPID | [optional] The PID of the process. Default (0) is the current process.

## Return Value

Success: | The array that contains the following information: [0] - The number of read operations performed. [1] - The number of write operations performed. [2] - The number of I/O operations performed, other than read and write operations. [3] - The number of bytes read. [4] - The number of bytes written. [5] - The number of bytes transferred during operations other than read and write operations.
Failure: | Sets the @error flag to non-zero.

## See Also

Search GetProcessIoCounters in MSDN Library.