Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.27 KB

File metadata and controls

54 lines (35 loc) · 1.27 KB

Home

Function name : GetProcessIoCounters

Group: Process and Thread - Library: kernel32


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


Code examples:

Obtaining I/O counts for the current process

Declaration:

BOOL WINAPI GetProcessIoCounters(
	__in   HANDLE hProcess,
	__out  PIO_COUNTERS lpIoCounters
);
  

FoxPro declaration:

DECLARE INTEGER GetProcessIoCounters IN kernel32;
	INTEGER hProcess,;
	STRING @lpIoCounters  

Parameters:

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.


Return value:

If the function succeeds, the return value is nonzero.


Comments:

See also: GetProcessTimes, GetProcessVersion, GetProcessMemoryInfo.