MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / DirIterOpen

Function DirIterOpen

rEFIt_UEFI/refit/lib.cpp:1451–1462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1449}
1450
1451VOID DirIterOpen(IN EFI_FILE *BaseDir, IN CONST CHAR16 *RelativePath OPTIONAL, OUT REFIT_DIR_ITER *DirIter)
1452{
1453 if (RelativePath == NULL) {
1454 DirIter->LastStatus = EFI_SUCCESS;
1455 DirIter->DirHandle = BaseDir;
1456 DirIter->CloseDirHandle = FALSE;
1457 } else {
1458 DirIter->LastStatus = BaseDir->Open(BaseDir, &(DirIter->DirHandle), RelativePath, EFI_FILE_MODE_READ, 0);
1459 DirIter->CloseDirHandle = EFI_ERROR(DirIter->LastStatus) ? FALSE : TRUE;
1460 }
1461 DirIter->LastFileInfo = NULL;
1462}
1463
1464BOOLEAN DirIterNext(IN OUT REFIT_DIR_ITER *DirIter, IN UINTN FilterMode, IN CONST CHAR16 *FilePattern OPTIONAL,
1465 OUT EFI_FILE_INFO **DirEntry)

Callers 13

ScanVolumeFunction · 0.85
ScanDriverDirFunction · 0.85
PatchACPI_OtherOSFunction · 0.85
LoadPlugInKextsMethod · 0.85
LoadKextsMethod · 0.85
GetListOfConfigsFunction · 0.85
GetListOfDsdtsFunction · 0.85
GetListOfACPIFunction · 0.85
GetListOfInjectKextFunction · 0.85
InitKextListFunction · 0.85
GetListOfThemesFunction · 0.85
LinuxScanFunction · 0.85

Calls 1

OpenMethod · 0.45

Tested by

no test coverage detected