Difference between revisions of "APT:GetProgramID"

From 3dbrew
Jump to navigation Jump to search
(APT:GetProgramID)
 
m
 
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| checked equal to 0x20
+
| 0x20
 
|-
 
|-
 
| 2
 
| 2
| processID
+
| Process ID
 
|}
 
|}
  
Line 27: Line 27:
 
| Result code
 
| Result code
 
|-
 
|-
| 2
+
| 2-3
| programID lower word
+
| u64, Program ID
|-
 
| 3
 
| programID upper word
 
 
|}
 
|}
  
 
=Description=
 
=Description=
This calls [[FS:GetProgramLaunchInfo]] and returns the programID if found. If not, this returns 0.
+
This calls [[FS:GetProgramLaunchInfo]] and returns the Program ID if found. If not, this returns 0.

Latest revision as of 08:22, 22 November 2015

Request[edit]

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

Response[edit]

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

Description[edit]

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