Zig 0.17.0-dev (Split by item) This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig standard library.
std › os › uefi › tables › boot_services › BootServices › connectController Public Function connectController Doc Source Public Function std.os.uefi.tables.boot_services.BootServices.connectController
pub fn connectController (
self : *BootServices ,
controller : Handle ,
driver_image : ?[*:null ]?Handle ,
remaining_device_path : ?*const DevicePathProtocol ,
recursive : bool ,
) ConnectControllerError !void Params File os/uefi/tables/boot_services.zig: 955
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974 pub fn connectController (
self : *BootServices ,
controller : Handle ,
driver_image : ?[*:null ]?Handle ,
remaining_device_path : ?*const DevicePathProtocol ,
recursive : bool ,
) ConnectControllerError !void {
switch (self ._connectController (
controller ,
driver_image ,
remaining_device_path ,
recursive ,
)) {
.success => {},
.invalid_parameter => return error .InvalidParameter ,
.not_found => return error .NotFound ,
.security_violation => return error .SecurityViolation ,
else => |status | return uefi .unexpectedStatus (status ),
}
}
driver_imageshould be a null-terminated ordered list of handles.