I don't know if I didn't use the right words to search on web but I didn't find the solution to watch how much my application already read and wrote on disk.
Some one can help me with this ?
tks
If some one need the function sign.
type
_IO_COUNTERS = record
ReadOperationCount : LONGLONG;
WriteOperationCount : LONGLONG;
OtherOperationCount : LONGLONG;
ReadTransferCount : LONGLONG;
WriteTransferCount : LONGLONG;
OtherTransferCount : LONGLONG;
end;
TIoCounters = _IO_COUNTERS;
function GetProcessIoCounters(hProcess: THandle; var lpIoCounters: TIoCounters): BOOL; stdcall external kernel32;
if you want get this info programmatically you can use the GetProcessIoCounters
function. Another alternative is using the WMI , see the Win32_Process
class
and check these properties (WriteOperationCount, WriteTransferCount, ReadTransferCount, ReadOperationCount).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With