* Sync to trunk HEAD (r53473).
[reactos.git] / dll / win32 / kernel32 / client / loader.c
index b600b8c..4453827 100644 (file)
@@ -818,7 +818,7 @@ BasepGetModuleHandleExW(BOOLEAN NoLock, DWORD dwPublicFlags, LPCWSTR lpwModuleNa
             /* Fail */
             BaseSetLastNTError(Status);
             if (phModule) *phModule = 0;
-            return Status;
+            return NT_SUCCESS(Status);
         }
     }