Create VxD handle only for known VxDs.

This commit is contained in:
Ulrich Weigand 1999-07-31 17:25:36 +00:00 committed by Alexandre Julliard
parent 0691a59736
commit 40b083f0e4
1 changed files with 2 additions and 1 deletions

View File

@ -282,7 +282,8 @@ HANDLE DEVICE_Open( LPCSTR filename, DWORD access,
return FILE_CreateDevice( info->id | 0x10000, access, sa );
FIXME( "Unknown VxD %s\n", filename);
return FILE_CreateDevice( 0x10000, access, sa );
SetLastError( ERROR_PATH_NOT_FOUND );
return HFILE_ERROR;
}
static const struct VxDInfo *DEVICE_GetInfo( HANDLE handle )