Commit 40b083f0 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Create VxD handle only for known VxDs.

parent 0691a597
......@@ -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 )
......
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