Re: kernel32.GetProcessIoCounters basic implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Pouech wrote:
TSIA
A+
oops, wrong file... use this one instead :-(
A+

--
Eric Pouech
Name:          iocnt
ChangeLog:     Implemented GetIoProcessCounters
License:       X11
GenDate:       2003/09/13 12:50:39 UTC
ModifiedFiles: dlls/kernel/kernel32.spec dlls/kernel/process.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/kernel/kernel32.spec,v
retrieving revision 1.106
diff -u -u -r1.106 kernel32.spec
--- dlls/kernel/kernel32.spec	11 Sep 2003 03:00:11 -0000	1.106
+++ dlls/kernel/kernel32.spec	13 Sep 2003 07:18:18 -0000
@@ -452,7 +452,7 @@
 @ stdcall GetProcessFlags(long)
 @ stdcall GetProcessHeap()
 @ stdcall GetProcessHeaps(long ptr)
-@ stub GetProcessIoCounters
+@ stdcall GetProcessIoCounters(long ptr)
 @ stdcall GetProcessShutdownParameters(ptr ptr)
 @ stdcall GetProcessTimes(long ptr ptr ptr ptr)
 @ stdcall GetProcessVersion(long)
Index: dlls/kernel/process.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/kernel/process.c,v
retrieving revision 1.4
diff -u -u -r1.4 process.c
--- dlls/kernel/process.c	5 Sep 2003 23:08:37 -0000	1.4
+++ dlls/kernel/process.c	13 Sep 2003 07:17:56 -0000
@@ -424,6 +424,16 @@
     return !status;
 }
 
+/******************************************************************
+ *		GetProcessIoCounters (KERNEL32.@)
+ *
+ *
+ */
+BOOL WINAPI GetProcessIoCounters(HANDLE hProcess, PIO_COUNTERS ioc)
+{
+    memset(ioc, 0, sizeof(ioc));
+    return TRUE;
+}
 
 /***********************************************************************
  *		RegisterServiceProcess (KERNEL.491)

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux