Commit 495a0cba authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent 8e3b050f
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment