APT:GetProgramID

From 3dbrew
Revision as of 07:22, 22 November 2015 by Steveice10 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00580002]
1 0x20
2 Process ID

Response

Index Word Description
0 Header code
1 Result code
2-3 u64, Program ID

Description

This calls FS:GetProgramLaunchInfo and returns the Program ID if found. If not, this returns 0.