mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:43:01 +00:00
[SETUPLIB][USETUP] Minor improvements.
- Make some partitioning functions not dependent on the selected "CurrentPartition". - Add some sanity checks. - Improve some of the "is-partitioned" checks.
This commit is contained in:
parent
c1fbc2d651
commit
29cc1843d0
5 changed files with 155 additions and 94 deletions
|
@ -630,6 +630,8 @@ InitDestinationPaths(
|
|||
WCHAR PathBuffer[MAX_PATH];
|
||||
NTSTATUS Status;
|
||||
|
||||
ASSERT(PartEntry->IsPartitioned && PartEntry->PartitionNumber != 0);
|
||||
|
||||
/* Create 'pSetupData->DestinationRootPath' string */
|
||||
RtlFreeUnicodeString(&pSetupData->DestinationRootPath);
|
||||
Status = RtlStringCchPrintfW(PathBuffer, ARRAYSIZE(PathBuffer),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue