Files
reactos/base/system/diskpart/rescan.c
T
Eric Kohl d2ae286c6b [DISKPART] Command function return EXIT_CODE instead of BOOL
This simplifies the implementation of the NOERR option.
2026-01-01 13:46:34 +01:00

25 lines
577 B
C

/*
* PROJECT: ReactOS DiskPart
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/system/diskpart/rescan.c
* PURPOSE: Manages all the partitions of the OS in an interactive way.
* PROGRAMMERS: Lee Schroeder
*/
#include "diskpart.h"
EXIT_CODE
rescan_main(
_In_ INT argc,
_In_ PWSTR *argv)
{
ConResPuts(StdOut, IDS_RESCAN_START);
DestroyVolumeList();
DestroyPartitionList();
CreatePartitionList();
CreateVolumeList();
ConResPuts(StdOut, IDS_RESCAN_END);
return EXIT_SUCCESS;
}