reactos/lib/kernel32/misc
diff -u -r1.63 -r1.64
--- stubs.c 14 Mar 2004 09:21:41 -0000 1.63
+++ stubs.c 14 Mar 2004 11:11:17 -0000 1.64
@@ -1,4 +1,4 @@
-/* $Id: stubs.c,v 1.63 2004/03/14 09:21:41 weiden Exp $
+/* $Id: stubs.c,v 1.64 2004/03/14 11:11:17 weiden Exp $
*
* KERNEL32.DLL stubs (unimplemented functions)
* Remove from this file, if you implement them.
@@ -959,19 +959,6 @@
/*
* @unimplemented
*/
-DWORD
-STDCALL
-GetProcessId(
- HANDLE Process
- )
-{
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
-}
-
-/*
- * @unimplemented
- */
BOOL
STDCALL
GetProcessIoCounters(
reactos/lib/kernel32/process
diff -u -r1.59 -r1.60
--- proc.c 23 Jan 2004 21:16:04 -0000 1.59
+++ proc.c 14 Mar 2004 11:11:17 -0000 1.60
@@ -1,4 +1,4 @@
-/* $Id: proc.c,v 1.59 2004/01/23 21:16:04 ekohl Exp $
+/* $Id: proc.c,v 1.60 2004/03/14 11:11:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@@ -317,6 +317,23 @@
/*
* @implemented
*/
+DWORD
+STDCALL
+GetProcessId(HANDLE Process)
+{
+ DWORD ProcessId;
+
+ if(!InternalGetProcessId(Process, &ProcessId))
+ {
+ return 0;
+ }
+ return ProcessId;
+}
+
+
+/*
+ * @implemented
+ */
HANDLE STDCALL
OpenProcess(DWORD dwDesiredAccess,
BOOL bInheritHandle,