mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 03:34:11 +00:00
[DISKPART] Implement the UNIQUEID command
This commit is contained in:
parent
c8f6440a78
commit
da0bff2a50
1 changed files with 5 additions and 6 deletions
|
@ -48,7 +48,7 @@ UniqueIdDisk(
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((pszSuffix == NULL) ||
|
if ((pszSuffix == NULL) ||
|
||||||
(wcslen(pszSuffix) > 8) ||
|
(wcslen(pszSuffix) != 8) ||
|
||||||
(IsHexString(pszSuffix) == FALSE))
|
(IsHexString(pszSuffix) == FALSE))
|
||||||
{
|
{
|
||||||
ConResPuts(StdErr, IDS_ERROR_INVALID_ARGS);
|
ConResPuts(StdErr, IDS_ERROR_INVALID_ARGS);
|
||||||
|
@ -62,12 +62,11 @@ UniqueIdDisk(
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
ConPrintf(StdOut, L"Setting the disk signature is not implemented yet!\n");
|
DPRINT("New Signature: 0x%08lx\n", ulValue);
|
||||||
#if 0
|
|
||||||
DPRINT1("New Signature: %lx\n", ulValue);
|
|
||||||
CurrentDisk->LayoutBuffer->Signature = ulValue;
|
CurrentDisk->LayoutBuffer->Signature = ulValue;
|
||||||
// SetDiskLayout(CurrentDisk);
|
CurrentDisk->Dirty = TRUE;
|
||||||
#endif
|
UpdateDiskLayout(CurrentDisk);
|
||||||
|
WritePartitions(CurrentDisk);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue