wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions | Variables
SYSAPP Title

Functions to check titles and their IDs, as well as retreiving some metadata about them. More...

Collaboration diagram for SYSAPP Title:

Typedefs

typedef enum SYSTEM_APP_ID SYSTEM_APP_ID
 

Enumerations

enum  SYSTEM_APP_ID {
  SYSTEM_APP_ID_WII_U_MENU = 0 ,
  SYSTEM_APP_ID_SYSTEM_SETTINGS = 1 ,
  SYSTEM_APP_ID_PARENTAL_CONTROLS = 2 ,
  SYSTEM_APP_ID_USER_SETTINGS = 3 ,
  SYSTEM_APP_ID_MII_MAKER = 4 ,
  SYSTEM_APP_ID_ACCOUNT_SETTINGS = 5 ,
  SYSTEM_APP_ID_DAILY_LOG = 6 ,
  SYSTEM_APP_ID_NOTIFICATIONS = 7 ,
  SYSTEM_APP_ID_HEALTH_AND_SAFETY = 8 ,
  SYSTEM_APP_ID_ELECTRONIC_MANUAL = 9 ,
  SYSTEM_APP_ID_WIIU_CHAT = 10 ,
  SYSTEM_APP_ID_SOFTWARE_DATA_TRANSFER = 11
}
 

Functions

BOOL SYSCheckTitleExists (uint64_t TitleId)
 Check if a given title exists and is installed on the system. More...
 
int32_t SYSGetPFIDFromTitleID (uint64_t TitleId)
 Gets the PFID/UPID for a given title. More...
 
int32_t SYSGetUPIDFromTitleID (uint64_t TitleId)
 Gets the PFID/UPID for a given title. More...
 
int32_t SYSGetCallerUPID ()
 Gets the PFID/UPID of the calling (current) application. More...
 
int32_t SYSGetCallerPFID ()
 Gets the PFID/UPID of the calling (current) application. More...
 
uint64_t _SYSGetSystemApplicationTitleId (SYSTEM_APP_ID id)
 Gets the title id for a given SYSTEM_APP_ID. More...
 
uint64_t _SYSGetSystemApplicationTitleIdByProdArea (SYSTEM_APP_ID id, MCPRegion prod_area)
 Gets the title id for a given SYSTEM_APP_ID in the given region. More...
 
uint64_t SYSGetCallerTitleId ()
 Gets the title id of the calling (current) application. More...
 

Variables

static const SYSTEM_APP_ID SYSTEM_APP_ID_UPDATER = SYSTEM_APP_ID_WII_U_MENU
 
static const SYSTEM_APP_ID SYSTEM_APP_ID_HOME_MENU = SYSTEM_APP_ID_WII_U_MENU
 

Detailed Description

Functions to check titles and their IDs, as well as retreiving some metadata about them.

Typedef Documentation

◆ SYSTEM_APP_ID

Enumeration Type Documentation

◆ SYSTEM_APP_ID

Enumerator
SYSTEM_APP_ID_WII_U_MENU 
SYSTEM_APP_ID_SYSTEM_SETTINGS 
SYSTEM_APP_ID_PARENTAL_CONTROLS 
SYSTEM_APP_ID_USER_SETTINGS 
SYSTEM_APP_ID_MII_MAKER 
SYSTEM_APP_ID_ACCOUNT_SETTINGS 
SYSTEM_APP_ID_DAILY_LOG 
SYSTEM_APP_ID_NOTIFICATIONS 
SYSTEM_APP_ID_HEALTH_AND_SAFETY 
SYSTEM_APP_ID_ELECTRONIC_MANUAL 
SYSTEM_APP_ID_WIIU_CHAT 
SYSTEM_APP_ID_SOFTWARE_DATA_TRANSFER 

Definition at line 18 of file title.h.

Function Documentation

◆ SYSCheckTitleExists()

BOOL SYSCheckTitleExists ( uint64_t  TitleId)

Check if a given title exists and is installed on the system.

Parameters
TitleIdThe ID of the title to check.
Returns
TRUE if the title exists, or FALSE otherwise.

◆ SYSGetPFIDFromTitleID()

int32_t SYSGetPFIDFromTitleID ( uint64_t  TitleId)

Gets the PFID/UPID for a given title.

Parameters
TitleIdThe ID of the title to get the PFID/UPID from.
Returns
The PFID/UPID for the title, or a negative value on error.
Note
This function is identical to SYSGetUPIDFromTitleID.

◆ SYSGetUPIDFromTitleID()

int32_t SYSGetUPIDFromTitleID ( uint64_t  TitleId)

Gets the PFID/UPID for a given title.

Parameters
TitleIdThe ID of the title to get the PFID/UPID from.
Returns
The PFID/UPID for the title, or a negative value on error.
Note
This function is identical to SYSGetPFIDFromTitleID.

◆ SYSGetCallerUPID()

int32_t SYSGetCallerUPID ( )

Gets the PFID/UPID of the calling (current) application.

Note
This function is identical to SYSGetCallerPFID.

◆ SYSGetCallerPFID()

int32_t SYSGetCallerPFID ( )

Gets the PFID/UPID of the calling (current) application.

Note
This function is identical to SYSGetCallerUPID.

◆ _SYSGetSystemApplicationTitleId()

uint64_t _SYSGetSystemApplicationTitleId ( SYSTEM_APP_ID  id)

Gets the title id for a given SYSTEM_APP_ID.

◆ _SYSGetSystemApplicationTitleIdByProdArea()

uint64_t _SYSGetSystemApplicationTitleIdByProdArea ( SYSTEM_APP_ID  id,
MCPRegion  prod_area 
)

Gets the title id for a given SYSTEM_APP_ID in the given region.

◆ SYSGetCallerTitleId()

uint64_t SYSGetCallerTitleId ( )

Gets the title id of the calling (current) application.

Variable Documentation

◆ SYSTEM_APP_ID_UPDATER

const SYSTEM_APP_ID SYSTEM_APP_ID_UPDATER = SYSTEM_APP_ID_WII_U_MENU
static

Definition at line 36 of file title.h.

◆ SYSTEM_APP_ID_HOME_MENU

const SYSTEM_APP_ID SYSTEM_APP_ID_HOME_MENU = SYSTEM_APP_ID_WII_U_MENU
static

Definition at line 40 of file title.h.