Platform SDK: DLLs, Processes, and Threads |
The GetProcessIoCounters function retrieves accounting information for all I/O operations performed by the specified process.
BOOL GetProcessIoCounters( HANDLE hProcess, // handle to process PIO_COUNTERS lpIoCounters // I/O accouting information );
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Winbase.h; include Windows.h.
Library: Use Kernel32.lib.
Processes and Threads Overview, Process and Thread Functions, IO_COUNTERS