MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / DiskCardCleanup

Method DiskCardCleanup

source/Configuration/PageSlots.cpp:353–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353void CPageSlots::DiskCardCleanup()
354{
355 for (UINT i = DRIVE_1; i < NUM_DRIVES; i++)
356 m_PropertySheetHelper.GetConfigNew().m_disk2Card.EjectDisk(i); // close any open file handles
357
358 for (UINT i = HARDDISK_1; i < NUM_HARDDISKS; i++)
359 m_PropertySheetHelper.GetConfigNew().m_harddiskCard.Unplug(i); // close any open file handles
360}
361
362void CPageSlots::DlgCANCEL(HWND hWnd)
363{

Callers

nothing calls this directly

Calls 2

EjectDiskMethod · 0.80
UnplugMethod · 0.80

Tested by

no test coverage detected