Function listPackageLists [src]

Determines the handles that are currently active in the database.

Prototype

pub fn listPackageLists( self: *const HiiDatabase, package_type: u8, package_guid: ?*const Guid, handles: []hii.Handle, ) ListPackageListsError![]hii.Handle

Parameters

self: *const HiiDatabasepackage_type: u8package_guid: ?*const Guidhandles: []hii.Handle

Possible Errors

BufferTooSmall
InvalidParameter
NotFound
Unexpected UnexpectedError

Source

pub fn listPackageLists( self: *const HiiDatabase, package_type: u8, package_guid: ?*const Guid, handles: []hii.Handle, ) ListPackageListsError![]hii.Handle { var len: usize = handles.len; switch (self._list_package_lists( self, package_type, package_guid, &len, handles.ptr, )) { .success => return handles[0..len], .buffer_too_small => return Error.BufferTooSmall, .invalid_parameter => return Error.InvalidParameter, .not_found => return Error.NotFound, else => |status| return uefi.unexpectedStatus(status), } }