pgl/pm: add GetProcessId command

This commit is contained in:
Michael Scire
2025-11-13 12:34:28 -07:00
parent bd909f7272
commit c0cfff94b9
8 changed files with 31 additions and 2 deletions

View File

@@ -88,4 +88,8 @@ namespace ams::pm {
R_RETURN(impl::BoostSystemThreadResourceLimit());
}
Result ShellService::GetProcessId(sf::Out<os::ProcessId> out, ncm::ProgramId program_id) {
R_RETURN(impl::GetProcessId(out.GetPointer(), program_id));
}
}

View File

@@ -34,6 +34,7 @@ namespace ams::pm {
Result BoostApplicationThreadResourceLimit();
void GetBootFinishedEventHandle(sf::OutCopyHandle out);
Result BoostSystemThreadResourceLimit();
Result GetProcessId(sf::Out<os::ProcessId> out, ncm::ProgramId program_id);
};
static_assert(pm::impl::IsIShellInterface<ShellService>);