Difference between revisions of "DLPSRVR:IsChild"
Jump to navigation
Jump to search
DaniElectra (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000E0040] |- | 1 | Process ID |} =Response= {| class="wikitable" border="1"...") |
DaniElectra (talk | contribs) m (→Description: Add missing check for 0x1) |
||
Line 29: | Line 29: | ||
=Description= | =Description= | ||
− | This uses command [[FS:GetProgramLaunchInfo]] to get the title ID of the given process ID. Then it checks | + | This uses command [[FS:GetProgramLaunchInfo]] to get the title ID of the given process ID. Then it checks that (high_title_id & 0xFFFFC000 == 0x40000) && (high_title_id & 0xFFFF == 0x1) (in other words, the high title ID must match 0x40001). If it matches, then it returns true, otherwise it returns false. |
Latest revision as of 22:16, 8 July 2024
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x000E0040] |
1 | Process ID |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | bool, is a DLP child |
Description[edit]
This uses command FS:GetProgramLaunchInfo to get the title ID of the given process ID. Then it checks that (high_title_id & 0xFFFFC000 == 0x40000) && (high_title_id & 0xFFFF == 0x1) (in other words, the high title ID must match 0x40001). If it matches, then it returns true, otherwise it returns false.