no need to create a symbolic link in \??

svn path=/trunk/; revision=18799
This commit is contained in:
Thomas Bluemel 2005-10-27 20:04:17 +00:00
parent d0cd0df7fe
commit 0448c9617f

View file

@ -243,7 +243,6 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
PDEVICE_EXTENSION DeviceExtension;
PDEVICE_OBJECT DeviceObject;
UNICODE_STRING DeviceName = RTL_CONSTANT_STRING(L"\\Device\\Beep");
UNICODE_STRING SymlinkName = RTL_CONSTANT_STRING(L"\\??\\Beep");
NTSTATUS Status;
DPRINT("Beep Device Driver 0.0.3\n");
@ -277,10 +276,6 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
SynchronizationEvent,
FALSE);
/* Create the dos device link */
IoCreateSymbolicLink(&SymlinkName,
&DeviceName);
return(STATUS_SUCCESS);
}