MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2RefreshDiskList

Function Ext2RefreshDiskList

Ext2Mgr/enumDisk.cpp:4125–4142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4123}
4124
4125VOID
4126Ext2RefreshDiskList(CListCtrl *List)
4127{
4128 List->DeleteAllItems();
4129 ULONG i = 0;
4130
4131 /* adding disks */
4132 for (i=0; i < g_nDisks; i++) {
4133 Ext2InsertDisk(List, &gDisks[i]);
4134 Ext2InsertPartition(List, NULL, NULL);
4135 }
4136
4137 /* adding cdroms */
4138 for (i=0; i < g_nCdroms; i++) {
4139 Ext2InsertCdromAsDisk(List, &gCdroms[i]);
4140 Ext2InsertPartition(List, NULL, NULL);
4141 }
4142}
4143
4144
4145VOID

Callers 2

OnInitDialogMethod · 0.85
OnRefreshMethod · 0.85

Calls 3

Ext2InsertDiskFunction · 0.85
Ext2InsertPartitionFunction · 0.85
Ext2InsertCdromAsDiskFunction · 0.85

Tested by

no test coverage detected