[ros-diffs] [fireball] 49676: [NTDLL] - Fix LdrVerifyImageMatchesChecksum() prototype.

fireball at svn.reactos.org fireball at svn.reactos.org
Sat Nov 20 22:05:43 UTC 2010


Author: fireball
Date: Sat Nov 20 22:05:42 2010
New Revision: 49676

URL: http://svn.reactos.org/svn/reactos?rev=49676&view=rev
Log:
[NTDLL]
- Fix LdrVerifyImageMatchesChecksum() prototype.

Modified:
    trunk/reactos/dll/ntdll/ldr/utils.c
    trunk/reactos/include/ndk/umfuncs.h

Modified: trunk/reactos/dll/ntdll/ldr/utils.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/utils.c?rev=49676&r1=49675&r2=49676&view=diff
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/utils.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/utils.c [iso-8859-1] Sat Nov 20 22:05:42 2010
@@ -3236,9 +3236,9 @@
  */
 NTSTATUS NTAPI
 LdrVerifyImageMatchesChecksum (IN HANDLE FileHandle,
-                               ULONG Unknown1,
-                               ULONG Unknown2,
-                               ULONG Unknown3)
+                               IN PLDR_CALLBACK Callback,
+                               IN PVOID CallbackContext,
+                               OUT PUSHORT ImageCharacterstics)
 {
   FILE_STANDARD_INFORMATION FileInfo;
   IO_STATUS_BLOCK IoStatusBlock;

Modified: trunk/reactos/include/ndk/umfuncs.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/umfuncs.h?rev=49676&r1=49675&r2=49676&view=diff
==============================================================================
--- trunk/reactos/include/ndk/umfuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/umfuncs.h [iso-8859-1] Sat Nov 20 22:05:42 2010
@@ -295,13 +295,14 @@
     IN PVOID BaseAddress
 );
 
+typedef VOID NTAPI (*PLDR_CALLBACK)(PVOID CallbackContext, PVOID Name);
 NTSTATUS
 NTAPI
 LdrVerifyImageMatchesChecksum(
     IN HANDLE FileHandle,
-    ULONG Unknown1,
-    ULONG Unknown2,
-    ULONG Unknown3
+    IN PLDR_CALLBACK Callback,
+    IN PVOID CallbackContext,
+    OUT PUSHORT ImageCharacterstics
 );
 
 #endif




More information about the Ros-diffs mailing list