Group: Process and Thread - Library: kernel32
Obtaining I/O counts for the current process
BOOL WINAPI GetProcessIoCounters(
__in HANDLE hProcess,
__out PIO_COUNTERS lpIoCounters
);
DECLARE INTEGER GetProcessIoCounters IN kernel32;
INTEGER hProcess,;
STRING @lpIoCounters hProcess A handle to the process. The handle must have the PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION access right.
lpIoCounters A pointer to an IO_COUNTERS structure that receives the I/O accounting information for the process.
If the function succeeds, the return value is nonzero.
See also: GetProcessTimes, GetProcessVersion, GetProcessMemoryInfo.
Home