[KERNEL32]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 22 Nov 2015 17:55:40 +0000 (17:55 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 22 Nov 2015 17:55:40 +0000 (17:55 +0000)
commit317a71e165bae6b7814903380bdf38a31d20ca06
tree72815d4892b4c08659d867f902eb2fae2b814dcc
parent2c92b827724ced2f5d76b03ea41a28426a1c5519
[KERNEL32]
GetDriveTypeW: Use neither CreateFileW nor InternalOpenDirW to open the drive, because both functions call SetLastError upon failure. This can cause failing checks in lines 23, 44 and 59 of the kernel32_apitest:GetDriveType test. Use NtOpenFile instead.

svn path=/trunk/; revision=70037
reactos/dll/win32/kernel32/client/file/disk.c