Moved creation of ARC names into ntoskrnl.

svn path=/trunk/; revision=2708
This commit is contained in:
Eric Kohl 2002-03-13 01:53:00 +00:00
parent 576dc2f69b
commit 94860ff5bb

View file

@ -88,8 +88,6 @@ NTSTATUS STDCALL DriverEntry(IN PDRIVER_OBJECT DriverObject,
Status = STATUS_INSUFFICIENT_RESOURCES;
goto cleandevice;
}
RtlInitUnicodeString( &LinkName, L"\\ArcName\\virt(0)disk(0)ram(0)" );
IoAssignArcName( &LinkName, &DeviceName );
RtlInitUnicodeString( &LinkName, L"\\??\\Z:" );
IoCreateSymbolicLink( &LinkName, &DeviceName );