diff options
-rw-r--r-- | src/Driver/Ntdriver.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c index 3e78fabe..8c63643c 100644 --- a/src/Driver/Ntdriver.c +++ b/src/Driver/Ntdriver.c @@ -2574,5 +2574,4 @@ NTSTATUS MountManagerMount (MOUNT_STRUCT *mount) PMOUNTMGR_TARGET_NAME in = (PMOUNTMGR_TARGET_NAME) buf;
PMOUNTMGR_CREATE_POINT_INPUT point = (PMOUNTMGR_CREATE_POINT_INPUT) buf;
- UNICODE_STRING symName, devName;
TCGetNTNameFromNumber (arrVolume, sizeof(arrVolume),mount->nDosDriveNo);
@@ -2589,12 +2588,8 @@ NTSTATUS MountManagerMount (MOUNT_STRUCT *mount) point->SymbolicLinkNameLength = (USHORT) wcslen ((PWSTR) &point[1]) * 2;
- RtlInitUnicodeString(&symName, (PWSTR) (buf + point->SymbolicLinkNameOffset));
-
point->DeviceNameOffset = point->SymbolicLinkNameOffset + point->SymbolicLinkNameLength;
TCGetNTNameFromNumber ((PWSTR) (buf + point->DeviceNameOffset), sizeof(buf) - point->DeviceNameOffset,mount->nDosDriveNo);
point->DeviceNameLength = (USHORT) wcslen ((PWSTR) (buf + point->DeviceNameOffset)) * 2;
- RtlInitUnicodeString(&devName, (PWSTR) (buf + point->DeviceNameOffset));
-
ntStatus = TCDeviceIoControl (MOUNTMGR_DEVICE_NAME, IOCTL_MOUNTMGR_CREATE_POINT, point,
point->DeviceNameOffset + point->DeviceNameLength, 0, 0);
|