mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-19 09:25:08 -04:00
strat: use sf::NativeHandle for ipc templating
This commit is contained in:
parent
d97e97258e
commit
69777cf792
41 changed files with 447 additions and 454 deletions
|
@ -42,7 +42,10 @@ namespace ams::pm {
|
|||
}
|
||||
|
||||
void ShellService::GetProcessEventHandle(sf::OutCopyHandle out) {
|
||||
R_ABORT_UNLESS(impl::GetProcessEventHandle(out.GetHandlePointer()));
|
||||
os::NativeHandle event_handle;
|
||||
R_ABORT_UNLESS(impl::GetProcessEventHandle(std::addressof(event_handle)));
|
||||
|
||||
out.SetValue(event_handle, false);
|
||||
}
|
||||
|
||||
void ShellService::GetProcessEventInfo(sf::Out<ProcessEventInfo> out) {
|
||||
|
@ -74,7 +77,10 @@ namespace ams::pm {
|
|||
}
|
||||
|
||||
void ShellService::GetBootFinishedEventHandle(sf::OutCopyHandle out) {
|
||||
R_ABORT_UNLESS(impl::GetBootFinishedEventHandle(out.GetHandlePointer()));
|
||||
os::NativeHandle event_handle;
|
||||
R_ABORT_UNLESS(impl::GetBootFinishedEventHandle(std::addressof(event_handle)));
|
||||
|
||||
out.SetValue(event_handle, false);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue