Commit 526d8e9d authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Fixed last error code when trying to load unknown VxD with CreateFile.

parent 45788498
......@@ -282,7 +282,7 @@ HANDLE DEVICE_Open( LPCSTR filename, DWORD access,
return FILE_CreateDevice( info->id | 0x10000, access, sa );
FIXME( "Unknown VxD %s\n", filename);
SetLastError( ERROR_PATH_NOT_FOUND );
SetLastError( ERROR_FILE_NOT_FOUND );
return HFILE_ERROR;
}
......
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