Difference between revisions of "APT:Initialize"
Jump to navigation
Jump to search
Steveice10 (talk | contribs) m (→Request) |
m |
||
(4 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | AppID | + | | [[NS_and_APT_Services#AppIDs|AppID]] |
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | [[NS_and_APT_Services#AppletAttr|AppletAttr]] |
|} | |} | ||
Line 28: | Line 28: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | 0x04000000 ([[IPC|translation descriptor]]) |
|- | |- | ||
| 3 | | 3 | ||
− | | Notification | + | | Notification Event Handle (call [[APT:InquireNotification]] when triggered) |
|- | |- | ||
| 4 | | 4 | ||
− | | | + | | Resume Event Handle (triggered at start of execution and when returning to app from home menu) |
|} | |} | ||
=Description= | =Description= | ||
− | + | The [[NS_and_APT_Services#AppletAttr|AppletAttr]] [[NS_and_APT_Services#AppletPos|AppletPos]] must not be larger than 6, otherwise NS calls [[SVC|svcBreak]]. [[NS_and_APT_Services#AppletAttr|AppletAttr]] bitmask 0x20000000 must not be set when the [[NS_and_APT_Services#AppletAttr|AppletAttr]] [[NS_and_APT_Services#AppletPos|AppletPos]] == POS_SYS and using this command via APT:U, otherwise NS calls [[SVC|svcBreak]]. |
Latest revision as of 13:46, 2 February 2016
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x00020080] |
1 | AppID |
2 | AppletAttr |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | 0x04000000 (translation descriptor) |
3 | Notification Event Handle (call APT:InquireNotification when triggered) |
4 | Resume Event Handle (triggered at start of execution and when returning to app from home menu) |
Description[edit]
The AppletAttr AppletPos must not be larger than 6, otherwise NS calls svcBreak. AppletAttr bitmask 0x20000000 must not be set when the AppletAttr AppletPos == POS_SYS and using this command via APT:U, otherwise NS calls svcBreak.