Commit in reactos/subsys/win32k on MAIN
ldr/loader.c+21-11.13 -> 1.14
stubs/stubs.c-151.26 -> 1.27
+21-16
2 modified files

- Added an implementation of LdrFindImageProcAddress.

reactos/subsys/win32k/ldr
loader.c 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- loader.c	24 Nov 2003 14:19:52 -0000	1.13
+++ loader.c	7 Mar 2004 04:44:41 -0000	1.14
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: loader.c,v 1.13 2003/11/24 14:19:52 gvg Exp $
+/* $Id: loader.c,v 1.14 2004/03/07 04:44:41 dwelch Exp $
  *
  */
 
@@ -90,6 +90,26 @@
    return STATUS_PROCEDURE_NOT_FOUND;
 }
 
+PVOID STDCALL
+EngFindImageProcAddress(IN HANDLE Module,
+			IN LPSTR ProcName)
+{
+  PVOID Function;
+  NTSTATUS Status;
+  ANSI_STRING ProcNameString;
+  RtlInitAnsiString(&ProcNameString, ProcName);
+  Status = LdrGetProcedureAddress(Module, 
+				  &ProcNameString,
+				  0,
+				  &Function);
+  if (!NT_SUCCESS(Status))
+    {
+      return(NULL);
+    }
+  return(Function);
+}
+
+
 /*
  * @implemented
  */

reactos/subsys/win32k/stubs
stubs.c 1.26 -> 1.27
diff -u -r1.26 -r1.27
--- stubs.c	6 Mar 2004 01:22:03 -0000	1.26
+++ stubs.c	7 Mar 2004 04:44:41 -0000	1.27
@@ -262,21 +262,6 @@
  */
 PVOID
 STDCALL
-EngFindImageProcAddress(
-	IN HANDLE  hModule,
-	IN LPSTR   lpProcName
-	)
-{
-  // www.osr.com/ddk/graphics/gdifncs_0oiw.htm
-  UNIMPLEMENTED;
-  return NULL;
-}
-
-/*
- * @unimplemented
- */
-PVOID
-STDCALL
 EngFindResource(
 	IN  HANDLE  h,
 	IN  int     iName,
CVSspam 0.2.8