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

Method UpdatePartition

Ext2Mgr/Ext2MgrDlg.cpp:1467–1488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1465}
1466
1467void CExt2MgrDlg::UpdatePartition(PEXT2_PARTITION part)
1468{
1469 int i;
1470
1471 if (part->Volume) {
1472 part->Volume->DrvLetters = part->DrvLetters;
1473 UpdateVolume(part->Volume);
1474 return;
1475 }
1476
1477 for (i = 0; i < m_DiskView.GetItemCount(); i++) {
1478
1479 PULONG data = (PULONG)m_DiskView.GetItemData(i);
1480 if (!data) {
1481 continue;
1482 }
1483 if (*data == EXT2_PART_MAGIC &&
1484 data == (PULONG)part) {
1485 Ext2RefreshDVPT(&m_DiskView, part, i);
1486 }
1487 }
1488}
1489
1490void CExt2MgrDlg::OnDrvLetter()
1491{

Callers 1

OnSdevChangeMpMethod · 0.80

Calls 1

Ext2RefreshDVPTFunction · 0.85

Tested by

no test coverage detected