APT:Initialize: Difference between revisions

Steveice10 (talk | contribs)
Steveice10 (talk | contribs)
mNo edit summary
Line 9: Line 9:
|-
|-
| 1
| 1
| AppID
| [[NS_and_APT_Services#AppIDs|AppID]]
|-
|-
| 2
| 2
Line 28: Line 28:
|-
|-
| 2
| 2
| Value 0x04000000.
| 0x04000000
|-
|-
| 3
| 3
| Notification event handle; should call [[APT:InquireNotification]] when triggered
| Notification Event Handle (call [[APT:InquireNotification]] when triggered)
|-
|-
| 4
| 4
| Another event handle; triggered at start of execution and when returning to app from home menu
| Resume Event Handle (triggered at start of execution and when returning to app from home menu)
|}
|}


=Description=
=Description=
Flags & 7 must not be larger than 6, otherwise NS calls [[SVC|svcBreak]]. Flags bitmask 0x20000000 must not be set when flags & 7 == 2 and using this command via APT:U, otherwise NS calls [[SVC|svcBreak]].
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]].