[KERNEL32]
authorThomas Faber <thomas.faber@reactos.org>
Tue, 8 Sep 2015 11:41:08 +0000 (11:41 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Tue, 8 Sep 2015 11:41:08 +0000 (11:41 +0000)
- Issue a debug print on LoadLibrary failure, since this is often a good lead when debugging

svn path=/trunk/; revision=69114

reactos/dll/win32/kernel32/client/loader.c

index 7ab731b..7c555d2 100644 (file)
@@ -381,6 +381,7 @@ done:
     /* Set last error in failure case */
     if (!NT_SUCCESS(Status))
     {
     /* Set last error in failure case */
     if (!NT_SUCCESS(Status))
     {
+        DPRINT1("LoadLibraryExW(%ls) failing with status %lx\n", lpLibFileName, Status);
         BaseSetLastNTError(Status);
         return NULL;
     }
         BaseSetLastNTError(Status);
         return NULL;
     }