| 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)); |