Difference between revisions of "AM:DeleteUserProgramsAtomically"

From 3dbrew
Jump to navigation Jump to search
m (Added notice for TID requirements.)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
This checks each [[Titles#Title_IDs|Title ID]] for being a CTR System Title (Content Category mask 0x10) or a TWL System Title (Content Category mask 0x8000 and mask 0x100000000). If any were found, this will return 0xE0E0802C (Trying to uninstall system title).
 
This checks each [[Titles#Title_IDs|Title ID]] for being a CTR System Title (Content Category mask 0x10) or a TWL System Title (Content Category mask 0x8000 and mask 0x100000000). If any were found, this will return 0xE0E0802C (Trying to uninstall system title).
 +
 +
Due to this check, it is safe to say that the [[Filesystem_services#MediaType|Media Type]] must be SD.
 +
 
=Request=
 
=Request=
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 36: Line 39:
  
 
=Description=
 
=Description=
Wraps [[AMPXI:DeleteUserProgramsAtomically]].
+
Wraps [[AMPXI:DeleteProgramsAtomically]].

Latest revision as of 12:31, 27 December 2021

This checks each Title ID for being a CTR System Title (Content Category mask 0x10) or a TWL System Title (Content Category mask 0x8000 and mask 0x100000000). If any were found, this will return 0xE0E0802C (Trying to uninstall system title).

Due to this check, it is safe to say that the Media Type must be SD.

Request[edit]

Index Word Description
0 Header code [0x00290082]
1 Media Type
2 Title Count
3 ((Title Count * 8) << 4) | 0xA
4 Title IDs Input Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Wraps AMPXI:DeleteProgramsAtomically.