ReactOS
0.4.16-dev-59-gd481587
rescan.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS DiskPart
3
* LICENSE: GPL - See COPYING in the top level directory
4
* FILE: base/system/diskpart/rescan.c
5
* PURPOSE: Manages all the partitions of the OS in an interactive way.
6
* PROGRAMMERS: Lee Schroeder
7
*/
8
9
#include "
diskpart.h
"
10
11
BOOL
rescan_main
(
INT
argc
,
LPWSTR
*
argv
)
12
{
13
ConResPuts
(
StdOut
,
IDS_RESCAN_START
);
14
DestroyVolumeList
();
15
DestroyPartitionList
();
16
CreatePartitionList
();
17
CreateVolumeList
();
18
ConResPuts
(
StdOut
,
IDS_RESCAN_END
);
19
20
return
TRUE
;
21
}
argc
static int argc
Definition:
ServiceArgs.c:12
StdOut
#define StdOut
Definition:
fc.c:14
ConResPuts
void ConResPuts(FILE *fp, UINT nID)
Definition:
fc.c:27
IDS_RESCAN_START
#define IDS_RESCAN_START
Definition:
resource.h:82
IDS_RESCAN_END
#define IDS_RESCAN_END
Definition:
resource.h:83
diskpart.h
DestroyVolumeList
VOID DestroyVolumeList(VOID)
Definition:
partlist.c:1450
CreateVolumeList
NTSTATUS CreateVolumeList(VOID)
Definition:
partlist.c:1412
TRUE
#define TRUE
Definition:
types.h:120
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
argv
#define argv
Definition:
mplay32.c:18
rescan_main
BOOL rescan_main(INT argc, LPWSTR *argv)
Definition:
rescan.c:11
DestroyPartitionList
VOID DestroyPartitionList(IN PPARTLIST List)
Definition:
partlist.c:2010
CreatePartitionList
PPARTLIST CreatePartitionList(VOID)
Definition:
partlist.c:1925
INT
int32_t INT
Definition:
typedefs.h:58
LPWSTR
WCHAR * LPWSTR
Definition:
xmlstorage.h:184
base
system
diskpart
rescan.c
Generated on Thu Sep 19 2024 06:02:33 for ReactOS by
1.9.6