PSC services: Difference between revisions

Line 379: Line 379:


== Cmd20600 ==
== Cmd20600 ==
Takes a 0x10-byte input struct and an u32, no output.
Takes a 0x10-byte input struct and a Result, no output.


This goes through a list looking for an entry with data matching the input struct, then writes the input u32 into that entry.
This goes through the global list of [[#IAsyncContext]] looking for an entry with data matching the input struct, then writes the input Result into that [[#IAsyncContext]]. This Result would then be returned by [[#GetResult]] - the Event from [[#GetSystemEvent]] is also signaled.


This always returns 0.
This always returns 0.
Line 411: Line 411:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || GetSystemEvent
| 0 || [[#GetSystemEvent]]
|-
|-
| 1 || Cancel
| 1 || [[#Cancel]]
|-
|-
| 2 || GetResult
| 2 || [[#GetResult]]
|}
|}
=== GetSystemEvent ===
No input, returns an output Event.
=== Cancel ===
No input/output.
This just returns 0.
=== GetResult ===
No input/output.
This checks if the Event from GetSystemEvent was signaled throwing an error if not, otherwise this returns the Result stored in the context object.


= ovln:rcv =
= ovln:rcv =