WORD
V_Opnwk( devno, dev )
WORD devno;
VDI_Workstation dev;
{
	WORD i, in[11];

	in[0] = dev->dev_id = devno;
	for(i = 1;i < 10; in[i++] = 1);
	in[10] = 2;
	i = devno;

	v_opnvwk( in, &i, &dev->xres );
	dev->handle = i;

	if(i)
		vq_extnd( i, 1, &dev->screentype );

	return (i);
}
