- Timestamp:
- Dec 27, 2017 5:53:36 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/win/VBoxGuestInst.cpp
r70350 r70367 62 62 GetSystemDirectory(szDriver, sizeof(szDriver)); 63 63 strcat(strcat(szDriver, "\\drivers"), pszSlashName); 64 65 /* Try FAT name abbreviation. */ 66 if (GetFileAttributesA(szDriver) == INVALID_FILE_ATTRIBUTES) 67 { 68 pszSlashName = "\\VBoxGst.sys"; 69 GetCurrentDirectory(MAX_PATH, szDriver); 70 strcat(szDriver, pszSlashName); 71 if (GetFileAttributesA(szDriver) == INVALID_FILE_ATTRIBUTES) 72 { 73 GetSystemDirectory(szDriver, sizeof(szDriver)); 74 strcat(strcat(szDriver, "\\drivers"), pszSlashName); 75 76 } 77 } 64 78 } 65 79
Note:
See TracChangeset
for help on using the changeset viewer.