mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[NTOSKRNL]
IoCreateSymbolicLink -> IoAssignArcName svn path=/trunk/; revision=55528
This commit is contained in:
parent
cb1539b7df
commit
fd8ceb0b0d
1 changed files with 4 additions and 4 deletions
|
@ -108,7 +108,7 @@ IopCreateArcNames(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
|||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
/* Map ARC to NT name */
|
||||
IoCreateSymbolicLink(&BootDeviceName, &SystemDevice);
|
||||
IoAssignArcName(&BootDeviceName, &SystemDevice);
|
||||
RtlFreeUnicodeString(&BootDeviceName);
|
||||
|
||||
/* Now, get loader path name */
|
||||
|
@ -381,7 +381,7 @@ IopCreateArcNamesCd(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
|||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
/* Create symbolic link */
|
||||
IoCreateSymbolicLink(&ArcNameStringW, &DeviceStringW);
|
||||
IoAssignArcName(&ArcNameStringW, &DeviceStringW);
|
||||
RtlFreeUnicodeString(&ArcNameStringW);
|
||||
DPRINT1("Boot device found\n");
|
||||
}
|
||||
|
@ -724,7 +724,7 @@ IopCreateArcNamesDisk(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
|||
}
|
||||
|
||||
/* Link both */
|
||||
IoCreateSymbolicLink(&ArcNameStringW, &DeviceStringW);
|
||||
IoAssignArcName(&ArcNameStringW, &DeviceStringW);
|
||||
|
||||
/* And release resources */
|
||||
RtlFreeUnicodeString(&ArcNameStringW);
|
||||
|
@ -781,7 +781,7 @@ IopCreateArcNamesDisk(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
|||
}
|
||||
|
||||
/* Link device name & ARC name */
|
||||
IoCreateSymbolicLink(&ArcNameStringW, &DeviceStringW);
|
||||
IoAssignArcName(&ArcNameStringW, &DeviceStringW);
|
||||
|
||||
/* Release strings */
|
||||
RtlFreeUnicodeString(&ArcNameStringW);
|
||||
|
|
Loading…
Reference in a new issue