| 4838 | } |
| 4839 | |
| 4840 | VOID |
| 4841 | Ext2RemoveMountPoint( |
| 4842 | PEXT2_LETTER drvLetter, |
| 4843 | BOOL bPermanent |
| 4844 | ) |
| 4845 | { |
| 4846 | CHAR drvPath[] = "A:\\\0"; |
| 4847 | CHAR dosPath[] = "A:\0"; |
| 4848 | |
| 4849 | dosPath[0] = drvPath[0] = drvLetter->Letter; |
| 4850 | |
| 4851 | Ext2DefineDosDevice ( |
| 4852 | DDD_RAW_TARGET_PATH| |
| 4853 | DDD_REMOVE_DEFINITION| |
| 4854 | DDD_EXACT_MATCH_ON_REMOVE, |
| 4855 | dosPath, drvLetter->SymLink); |
| 4856 | if (bPermanent) { |
| 4857 | DeleteVolumeMountPoint(drvPath); |
| 4858 | } |
| 4859 | |
| 4860 | Ext2CleanDrvLetter(drvLetter); |
| 4861 | Ext2QueryDrvLetter(drvLetter); |
| 4862 | } |
| 4863 | |
| 4864 | BOOL |
| 4865 | Ext2RefreshVolumePoint( |
no test coverage detected