kernel32: Make CreateFile called with creation == 0 work when opening a vxd in win9x mode.

This commit is contained in:
Dmitry Timoshkov 2012-03-11 13:41:31 +08:00 committed by Alexandre Julliard
parent 8e3b050f44
commit 495a0cba3d

View file

@ -1310,6 +1310,7 @@ HANDLE WINAPI CreateFileW( LPCWSTR filename, DWORD access, DWORD sharing,
else if (GetVersion() & 0x80000000)
{
vxd_name = filename + 4;
if (!creation) creation = OPEN_EXISTING;
}
}
else dosdev = RtlIsDosDeviceName_U( filename );