Function outputString [src]
Writes a string to the output device.
Returns true if the string was successfully written, false if an unknown glyph was encountered.
Prototype
pub fn outputString(self: *SimpleTextOutput, msg: [*:0]const u16) OutputStringError!bool
Parameters
self: *SimpleTextOutput
msg: [*:0]const u16
Possible Errors
Source
pub fn outputString(self: *SimpleTextOutput, msg: [*:0]const u16) OutputStringError!bool {
switch (self._output_string(self, msg)) {
.success => return true,
.warn_unknown_glyph => return false,
.device_error => return Error.DeviceError,
.unsupported => return Error.Unsupported,
else => |status| return uefi.unexpectedStatus(status),
}
}