Function getNextMonotonicCount [src]

Prototype

pub fn getNextMonotonicCount( self: *const BootServices, count: *u64, ) GetNextMonotonicCountError!void

Parameters

self: *const BootServicescount: *u64

Possible Errors

DeviceError
InvalidParameter
Unexpected UnexpectedError

Source

pub fn getNextMonotonicCount( self: *const BootServices, count: *u64, ) GetNextMonotonicCountError!void { switch (self._getNextMonotonicCount(count)) { .success => {}, .device_error => return error.DeviceError, .invalid_parameter => return error.InvalidParameter, else => |status| return uefi.unexpectedStatus(status), } }