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

Function UninitRefitLib

rEFIt_UEFI/refit/lib.cpp:217–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217VOID UninitRefitLib(VOID)
218{
219 // called before running external programs to close open file handles
220
221 if (SelfDir != NULL) {
222 SelfDir->Close(SelfDir);
223 SelfDir = NULL;
224 }
225
226 if (OEMDir != NULL) {
227 OEMDir->Close(OEMDir);
228 OEMDir = NULL;
229 }
230 if (ThemeX.ThemeDir != NULL) {
231 ThemeX.ThemeDir->Close(ThemeX.ThemeDir);
232 ThemeX.ThemeDir = NULL;
233 }
234
235
236 if (SelfRootDir != NULL) {
237 SelfRootDir->Close(SelfRootDir);
238 SelfRootDir = NULL;
239 }
240
241 UninitVolumes();
242}
243
244EFI_STATUS ReinitRefitLib(VOID)
245{

Callers 2

StartEFILoadedImageFunction · 0.85
RefitMainFunction · 0.85

Calls 2

UninitVolumesFunction · 0.85
CloseMethod · 0.45

Tested by

no test coverage detected