![]() |
get process info
How can I get "I/O Write Bytes" info for process? :confused:
|
Oh, man. You can read some manual on this at MSDN.
Them use System plugin to call the DLL and function required. |
MSDN :eek:
If I could understand what is written there, I would not have to ask here |
So... http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx
System::Call 'kernel32::OpenProcess(i 1040, i 0, i $PID)i .r0' System::Alloc 48 ;6 counters * 8 bytes? Pop $1 System::Call 'kernel32::ProcessGetIOCounters(i r0, p r1)' ??? :hang: |
hmmm... good question - seems like it should work (except that 'p' is incorrect... that's the online docs vs included docs mismatch thing.. you'd want 'i')...
...except that it doesn't seem to. Perhaps the struct size isn't quite right - but doesn't seem to be anything wrong with it... PHP Code:
PHP Code:
|
Dot
At least the following line should have a dot less on the second parameter. (it's a buffer 'out' so one has to supply the buffer handle)
PHP Code:
PHP Code:
|
Quote:
Quote:
so, corrected code without the debuggery bits... PHP Code:
PHP Code:
|
Thank you! ;)
|
| All times are GMT. The time now is 18:03. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.