MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / switch

Function switch

source/script2.cpp:6988–6999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6986 case FID_DriveGetType:
6987 {
6988 DRIVE_SET_PATH
6989 switch (GetDriveType(path))
6990 {
6991 case DRIVE_UNKNOWN: _f_return_p(_T("Unknown"));
6992 case DRIVE_REMOVABLE: _f_return_p(_T("Removable"));
6993 case DRIVE_FIXED: _f_return_p(_T("Fixed"));
6994 case DRIVE_REMOTE: _f_return_p(_T("Network"));
6995 case DRIVE_CDROM: _f_return_p(_T("CDROM"));
6996 case DRIVE_RAMDISK: _f_return_p(_T("RAMDisk"));
6997 default: // DRIVE_NO_ROOT_DIR
6998 _f_return_empty;
6999 }
7000 break;
7001 }
7002

Callers 1

BIF_DECLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected