pf2: drv::IsDetected

This commit is contained in:
Michael Scire
2021-02-02 23:18:52 -08:00
parent a2f611edb7
commit 60ea1dade2
5 changed files with 63 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ namespace ams::prfile2::pdm {
namespace part {
pdm::Error CheckDataEraseRequest(HandleType part_handle, bool *out);
pdm::Error CheckMediaDetect(HandleType part_handle, bool *out);
pdm::Error CheckMediaInsert(HandleType part_handle, bool *out);
}
@@ -30,6 +31,7 @@ namespace ams::prfile2::pdm {
namespace disk {
pdm::Error CheckDataEraseRequest(HandleType disk_handle, bool *out);
pdm::Error CheckMediaDetect(HandleType disk_handle, bool *out);
pdm::Error CheckMediaInsert(HandleType disk_handle, bool *out);
}

View File

@@ -26,6 +26,7 @@ namespace ams::prfile2::drv {
pf::Error Initialize(Volume *volume);
bool IsDetected(Volume *volume);
bool IsInserted(Volume *volume);
}