#[repr(C)]pub struct HiiDatabaseProtocol {
pub new_package_list: unsafe extern "efiapi" fn(this: *const Self, package_list: *const HiiPackageListHeader, driver_handle: Handle, handle: *mut HiiHandle) -> Status,
pub remove_package_list: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle) -> Status,
pub update_package_list: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle, package_list: *const HiiPackageListHeader) -> Status,
pub list_package_lists: unsafe extern "efiapi" fn(this: *const Self, package_type: u8, package_guid: *const Guid, handle_buffer_length: *mut usize, handle: *mut HiiHandle) -> Status,
pub export_package_lists: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle, buffer_size: *mut usize, buffer: *mut HiiPackageListHeader) -> Status,
pub register_package_notify: unsafe extern "efiapi" fn(this: *const Self, package_type: u8, package_guid: *const Guid, package_notify_fn: HiiDatabaseNotifyFn, notify_type: HiiDatabaseNotifyType, notify_handle: *mut Handle) -> Status,
pub unregister_package_notify: unsafe extern "efiapi" fn(this: *const Self, notification_handle: Handle) -> Status,
pub find_keyboard_layouts: unsafe extern "efiapi" fn(this: *const Self, key_guid_buffer_length: *mut u16, key_guid_buffer: *mut Guid) -> Status,
pub get_keyboard_layout: unsafe extern "efiapi" fn(this: *const Self, key_guid: *const Guid, leyboard_layout_length: *mut u16, keyboard_layout: *mut HiiKeyboardLayout) -> Status,
pub set_keyboard_layout: unsafe extern "efiapi" fn(this: *const Self, key_guid: *const Guid) -> Status,
pub get_package_list_handle: unsafe extern "efiapi" fn(this: *const Self, package_list_handle: HiiHandle, driver_handle: *mut Handle) -> Status,
}
Expand description
EFI_HII_DATABASE_PROTOCOL
Fields§
§new_package_list: unsafe extern "efiapi" fn(this: *const Self, package_list: *const HiiPackageListHeader, driver_handle: Handle, handle: *mut HiiHandle) -> Status
§remove_package_list: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle) -> Status
§update_package_list: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle, package_list: *const HiiPackageListHeader) -> Status
§list_package_lists: unsafe extern "efiapi" fn(this: *const Self, package_type: u8, package_guid: *const Guid, handle_buffer_length: *mut usize, handle: *mut HiiHandle) -> Status
§export_package_lists: unsafe extern "efiapi" fn(this: *const Self, handle: HiiHandle, buffer_size: *mut usize, buffer: *mut HiiPackageListHeader) -> Status
§register_package_notify: unsafe extern "efiapi" fn(this: *const Self, package_type: u8, package_guid: *const Guid, package_notify_fn: HiiDatabaseNotifyFn, notify_type: HiiDatabaseNotifyType, notify_handle: *mut Handle) -> Status
§unregister_package_notify: unsafe extern "efiapi" fn(this: *const Self, notification_handle: Handle) -> Status
§find_keyboard_layouts: unsafe extern "efiapi" fn(this: *const Self, key_guid_buffer_length: *mut u16, key_guid_buffer: *mut Guid) -> Status
§get_keyboard_layout: unsafe extern "efiapi" fn(this: *const Self, key_guid: *const Guid, leyboard_layout_length: *mut u16, keyboard_layout: *mut HiiKeyboardLayout) -> Status
§set_keyboard_layout: unsafe extern "efiapi" fn(this: *const Self, key_guid: *const Guid) -> Status
§get_package_list_handle: unsafe extern "efiapi" fn(this: *const Self, package_list_handle: HiiHandle, driver_handle: *mut Handle) -> Status
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HiiDatabaseProtocol
impl RefUnwindSafe for HiiDatabaseProtocol
impl Send for HiiDatabaseProtocol
impl Sync for HiiDatabaseProtocol
impl Unpin for HiiDatabaseProtocol
impl UnwindSafe for HiiDatabaseProtocol
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more