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

This commit is contained in:
Ulrich Weigand 1999-09-13 15:12:45 +00:00 committed by Alexandre Julliard
parent 457884982f
commit 526d8e9d22
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}