MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / GetDriveCount

Function GetDriveCount

Goldleaf/include/usb/cf/cf_CommandFramework.hpp:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 };
33
34 inline Result GetDriveCount(u32 &out_count) {
35 return cmd::ProcessCommand<1>(cmd::OutValue(out_count));
36 }
37
38 inline Result GetDriveInfo(const u32 drive_idx, std::string &out_label, std::string &out_path, size_t &out_total_size, size_t &out_free_size) {
39 return cmd::ProcessCommand<2>(cmd::InValue(drive_idx), cmd::OutString(out_label), cmd::OutString(out_path), cmd::OutValue(out_total_size), cmd::OutValue(out_free_size));

Callers 1

ReloadMethod · 0.85

Calls 1

OutValueClass · 0.85

Tested by

no test coverage detected