Skip to content
Snippets Groups Projects
Commit 40b083f0 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard
Browse files

Create VxD handle only for known VxDs.

parent 0691a597
No related branches found
No related tags found
No related merge requests found
......@@ -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 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment