pub fn createChild(self: *Self) CreateChildError!Handle self: *Self27
28
29
30
31
32
33
34
35
36 pub fn createChild(self: *Self) CreateChildError!Handle {
var handle: ?Handle = null;
switch (self._create_child(self, &handle)) {
.success => return handle orelse error.Unexpected,
else => |status| {
try status.err();
return uefi.unexpectedStatus(status);
},
}
}
To add this protocol to an existing handle, use
addToHandleinstead.