reactos/base/system/diskpart/rescan.c
Eric Kohl 2ba6b09754 [DISKPART] Add volume support
Add the 'list volume' and 'select volume' commands
2022-03-26 15:18:08 +01:00

22 lines
546 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"
BOOL rescan_main(INT argc, LPWSTR *argv)
{
ConResPuts(StdOut, IDS_RESCAN_START);
DestroyVolumeList();
DestroyPartitionList();
CreatePartitionList();
CreateVolumeList();
ConResPuts(StdOut, IDS_RESCAN_END);
return TRUE;
}