no need to create a symbolic link in \??
authorThomas Bluemel <thomas@reactsoft.com>
Thu, 27 Oct 2005 20:04:17 +0000 (20:04 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Thu, 27 Oct 2005 20:04:17 +0000 (20:04 +0000)
svn path=/trunk/; revision=18799

reactos/drivers/dd/beep/beep.c

index a3b39a3..939228d 100644 (file)
@@ -243,7 +243,6 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
   PDEVICE_EXTENSION DeviceExtension;
   PDEVICE_OBJECT DeviceObject;
   UNICODE_STRING DeviceName = RTL_CONSTANT_STRING(L"\\Device\\Beep");
   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");
   NTSTATUS Status;
 
   DPRINT("Beep Device Driver 0.0.3\n");
@@ -277,10 +276,6 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
                    SynchronizationEvent,
                    FALSE);
 
                    SynchronizationEvent,
                    FALSE);
 
-  /* Create the dos device link */
-  IoCreateSymbolicLink(&SymlinkName,
-                      &DeviceName);
-
   return(STATUS_SUCCESS);
 }
 
   return(STATUS_SUCCESS);
 }