pub fn createPopup( self: *const HiiPopup, style: PopupStyle, popup_type: PopupType, handle: hii.Handle, msg: u16, ) CreatePopupError!PopupSelection
Displays a popup window.
self: *const HiiPopup
style: PopupStyle
popup_type: PopupType
handle: hii.Handle
msg: u16
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
pub fn createPopup( self: *const HiiPopup, style: PopupStyle, popup_type: PopupType, handle: hii.Handle, msg: u16, ) CreatePopupError!PopupSelection { var res: PopupSelection = undefined; switch (self._create_popup(self, style, popup_type, handle, msg, &res)) { .success => return res, .invalid_parameter => return error.InvalidParameter, .out_of_resources => return error.OutOfResources, else => |status| return uefi.unexpectedStatus(status), } }
Displays a popup window.