I'm trying to port my virtual disk driver to Windows Server 2003 SP1 running
on Virtual Server 2005 x64. I create symbolic link using DefineDosDevice. And
I get "X:\ is not accessible. Incorrect function." every time I try to access
created drive. My driver gets only IRP_MJ_CREATE.
Symbolic link is correct: x: --> \Device\Mydevice.
In CreateClose routine:
irp.Status = STATUS_SUCCESS;
irp.Information = FILE_OPENED ;
IoCompleteRequest(irp, IO_NO_INCREMENT);
return STATUS_SUCCESS;
Seems to be OK. I'v tried to call IoCreateSymbolicLink. Same promblem. Whats
wrong?