DLPSRVR:IsChild

From 3dbrew
Revision as of 11:52, 8 July 2024 by 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"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x000E0040]
1 Process ID

Response

Index Word Description
0 Header code
1 Result code
2 bool, is a DLP child

Description

This uses command FS:GetProgramLaunchInfo to get the title ID of the given process ID. Then it checks if the high title ID matches with 0x40000. If it matches, then it returns false, otherwise it returns true.