MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2CleanDrvLetter

Function Ext2CleanDrvLetter

Ext2Mgr/enumDisk.cpp:4202–4219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4200}
4201
4202VOID
4203Ext2CleanDrvLetter(PEXT2_LETTER drvLetter)
4204{
4205 if (drvLetter->Extent) {
4206 free(drvLetter->Extent);
4207 drvLetter->Extent = NULL;
4208 }
4209
4210 if (drvLetter->SDN) {
4211 free(drvLetter->SDN);
4212 drvLetter->SDN = NULL;
4213 }
4214
4215 drvLetter->bUsed = FALSE;
4216 drvLetter->bTemporary = FALSE;
4217 drvLetter->DrvType = DRIVE_NO_ROOT_DIR;
4218 memset(drvLetter->SymLink, 0, MAX_PATH);
4219}
4220
4221VOID
4222Ext2CleanupDrvLetters()

Callers 3

Ext2CleanupDrvLettersFunction · 0.85
Ext2RemoveMountPointFunction · 0.85
DriverChangeNotifyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected