MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / IsDriveLetterAvailable

Method IsDriveLetterAvailable

cppcryptfs/ui/MountPropertyPage.cpp:413–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413BOOL CMountPropertyPage::IsDriveLetterAvailable(WCHAR dl)
414{
415 if (dl >= 'A' && dl <= 'Z')
416 return (GetUsedDrives() & (1 << (dl - 'A'))) == 0;
417 else
418 return FALSE;
419}
420
421
422void CMountPropertyPage::DoDataExchange(CDataExchange* pDX)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected