MCPcopy Create free account
hub / github.com/bumptop/BumpTop / isVolumeADisc

Method isVolumeADisc

trunk/win/Source/BT_FileSystemManager.cpp:1230–1237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1228}
1229
1230bool FileSystemManager::isVolumeADisc( QString volume )
1231{
1232 if (!exists(volume))
1233 return false;
1234
1235 unsigned int driveType = GetDriveType((LPCTSTR) volume.utf16());
1236 return (driveType == DRIVE_CDROM);
1237}
1238
1239void FileSystemManager::onPowerSuspend()
1240{

Callers 2

crossReferenceMethod · 0.80
onDeviceAddedMethod · 0.80

Calls 1

existsFunction · 0.70

Tested by

no test coverage detected