pub fn unload(self: *LoadedImage, handle: Handle) UnloadError!void self: *LoadedImagehandle: Handle29
30
31
32
33
34
35 pub fn unload(self: *LoadedImage, handle: Handle) UnloadError!void {
switch (self._unload(self, handle)) {
.success => {},
.invalid_parameter => return error.InvalidParameter,
else => |status| return uefi.unexpectedStatus(status),
}
}
Unloads an image from memory.