Function ctru_sys::APT_GetAppletProgramInfo
source · pub unsafe extern "C" fn APT_GetAppletProgramInfo(
id: u32_,
flags: u32_,
titleversion: *mut u16_
) -> Result
Expand description
Gets an applet’s program information.
§Arguments
id
- ID of the applet.flags
- Flags to use when retreiving the information.titleversion
- Pointer to output the applet’s title version to.
Flags:
- 0x01: Use AM_ListTitles with NAND media type.
- 0x02: Use AM_ListTitles with SDMC media type.
- 0x04: Use AM_ListTitles with GAMECARD media type.
- 0x10: Input ID is an app ID. Must be set if 0x20 is not.
- 0x20: Input ID is a program ID. Must be set if 0x10 is not.
- 0x100: Sets program ID high to 0x00040000, else it is 0x00040010. Only used when 0x20 is set.