Store ARC name as well as system path
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
66713ba461
commit
9aa6d6913a
@ -589,7 +589,7 @@ BlpDissectVolumeArcPath(IN PUCHAR SystemPath,
|
|||||||
OUT PULONG DriveNumber,
|
OUT PULONG DriveNumber,
|
||||||
OUT PULONG PartNumber)
|
OUT PULONG PartNumber)
|
||||||
{
|
{
|
||||||
PUCHAR ArcPath;
|
PUCHAR ArcPath, LocalArcName;
|
||||||
ULONG ArcLength = 0;
|
ULONG ArcLength = 0;
|
||||||
|
|
||||||
/* Set default values */
|
/* Set default values */
|
||||||
@ -713,9 +713,13 @@ BlpDissectVolumeArcPath(IN PUCHAR SystemPath,
|
|||||||
*Path = SystemPath + ArcLength;
|
*Path = SystemPath + ArcLength;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Store ARC name if possible */
|
||||||
if(ArcName)
|
if(ArcName)
|
||||||
{
|
{
|
||||||
/* TODO: Store ARC path in ArcName */
|
BlEfiMemoryAllocatePool(ArcLength, (PVOID *)&LocalArcName);
|
||||||
|
RtlCopyMemory(LocalArcName, SystemPath, ArcLength);
|
||||||
|
LocalArcName[ArcLength] = '\0';
|
||||||
|
*ArcName = LocalArcName;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return success */
|
/* Return success */
|
||||||
|
Loading…
Reference in New Issue
Block a user