projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b2a23
)
[KERNEL32] In GetLogicalDrives(), if NtQueryInformationProcess() call succeed, but...
author
Pierre Schweitzer
<pierre@reactos.org>
Sun, 29 Oct 2017 13:48:41 +0000
(14:48 +0100)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sun, 29 Oct 2017 13:49:59 +0000
(14:49 +0100)
Patch by Alex Ionescu
dll/win32/kernel32/client/file/disk.c
patch
|
blob
|
history
diff --git
a/dll/win32/kernel32/client/file/disk.c
b/dll/win32/kernel32/client/file/disk.c
index
041f4b1
..
6d13e64
100644
(file)
--- a/
dll/win32/kernel32/client/file/disk.c
+++ b/
dll/win32/kernel32/client/file/disk.c
@@
-127,6
+127,11
@@
GetLogicalDrives(VOID)
return 0;
}
+ if (ProcessDeviceMapInfo.Query.DriveMap == 0)
+ {
+ SetLastError(ERROR_SUCCESS);
+ }
+
return ProcessDeviceMapInfo.Query.DriveMap;
}