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

Method OnRefresh

Ext2Mgr/Ext2MgrDlg.cpp:771–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771void CExt2MgrDlg::OnRefresh()
772{
773 m_bHandleChange = FALSE;
774 m_bFocusVolume = FALSE;
775 m_bFocusDisk = FALSE;
776
777 Ext2AutoRemoveDeadLetters();
778
779 /* cleanup all the disk/volume structures */
780 Ext2CleanupDisks();
781 Ext2CleanupCdroms();
782 Ext2CleanupVolumes();
783 Ext2CleanupDrvLetters();
784
785 /* loading system configurations */
786 if (Ext2QuerySysConfig()) {
787 Ext2LoadDisks();
788 Ext2LoadCdroms();
789 if (Ext2LoadVolumes()) {
790 Ext2LoadRemovableVolumes();
791 Ext2LoadDrvLetters();
792 Ext2LoadCdromDrvLetters();
793 Ext2LoadAllVolumeDrvLetters();
794 Ext2LoadAllDiskPartitions();
795 if (g_bAutoRemoveDeadLetters) {
796 Ext2AutoRemoveDeadLetters();
797 }
798 if (Ext2ProcessExt2Volumes()) {
799 }
800 }
801 } else {
802 return;
803 }
804
805 /* updating the volume list */
806 Ext2RefreshVolumeList(&m_VolumeList);
807
808 /* updating the disk list */
809 Ext2RefreshDiskList(&m_DiskView);
810
811 m_bHandleChange = TRUE;
812}
813
814void CExt2MgrDlg::OnService()
815{

Callers

nothing calls this directly

Calls 15

Ext2CleanupDisksFunction · 0.85
Ext2CleanupCdromsFunction · 0.85
Ext2CleanupVolumesFunction · 0.85
Ext2CleanupDrvLettersFunction · 0.85
Ext2QuerySysConfigFunction · 0.85
Ext2LoadDisksFunction · 0.85
Ext2LoadCdromsFunction · 0.85
Ext2LoadVolumesFunction · 0.85
Ext2LoadRemovableVolumesFunction · 0.85
Ext2LoadDrvLettersFunction · 0.85
Ext2LoadCdromDrvLettersFunction · 0.85

Tested by

no test coverage detected