Fixed last error code when trying to load unknown VxD with CreateFile.
This commit is contained in:
parent
457884982f
commit
526d8e9d22
|
@ -282,7 +282,7 @@ HANDLE DEVICE_Open( LPCSTR filename, DWORD access,
|
||||||
return FILE_CreateDevice( info->id | 0x10000, access, sa );
|
return FILE_CreateDevice( info->id | 0x10000, access, sa );
|
||||||
|
|
||||||
FIXME( "Unknown VxD %s\n", filename);
|
FIXME( "Unknown VxD %s\n", filename);
|
||||||
SetLastError( ERROR_PATH_NOT_FOUND );
|
SetLastError( ERROR_FILE_NOT_FOUND );
|
||||||
return HFILE_ERROR;
|
return HFILE_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue